| Conditions | 1 |
| Paths | 1 |
| Total Lines | 40 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | public function run() |
||
| 8 | { |
||
| 9 | //DB::table('workflow_states')->delete(); |
||
| 10 | $data1 = array( |
||
| 11 | 'name' => 'propose', |
||
| 12 | 'label' => 'Propose', |
||
| 13 | 'status' => '1' |
||
| 14 | ); |
||
| 15 | \DB::table('workflow_states')->insert($data1); |
||
| 16 | $data2 = array( |
||
| 17 | 'name' => 'request', |
||
| 18 | 'label' => 'Request', |
||
| 19 | 'status' => '1' |
||
| 20 | ); |
||
| 21 | \DB::table('workflow_states')->insert($data2); |
||
| 22 | $data3 = array( |
||
| 23 | 'name' => 'approved', |
||
| 24 | 'label' => 'Approved', |
||
| 25 | 'status' => '1' |
||
| 26 | ); |
||
| 27 | \DB::table('workflow_states')->insert($data3); |
||
| 28 | $data4 = array( |
||
| 29 | 'name' => 'rejected', |
||
| 30 | 'label' => 'Rejected', |
||
| 31 | 'status' => '1' |
||
| 32 | ); |
||
| 33 | \DB::table('workflow_states')->insert($data4); |
||
| 34 | $data5 = array( |
||
| 35 | 'name' => 'needs_completed_document', |
||
| 36 | 'label' => 'Needs Dompleted Document', |
||
| 37 | 'status' => '1' |
||
| 38 | ); |
||
| 39 | \DB::table('workflow_states')->insert($data5); |
||
| 40 | $data6 = array( |
||
| 41 | 'name' => 'document_submitted', |
||
| 42 | 'label' => 'Document Submitted', |
||
| 43 | 'status' => '1' |
||
| 44 | ); |
||
| 45 | \DB::table('workflow_states')->insert($data6); |
||
| 46 | } |
||
| 47 | } |
||
| 48 |