| Conditions | 1 |
| Paths | 1 |
| Total Lines | 31 |
| Code Lines | 20 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php namespace Bedard\Shop\Updates; |
||
| 9 | public function run() |
||
| 10 | { |
||
| 11 | Status::create([ |
||
| 12 | 'name' => Lang::get('bedard.shop::lang.statuses.presets.open'), |
||
| 13 | 'icon' => 'icon-shopping-cart', |
||
| 14 | 'is_default' => true, |
||
| 15 | ]); |
||
| 16 | |||
| 17 | Status::create([ |
||
| 18 | 'name' => Lang::get('bedard.shop::lang.statuses.presets.awaiting_payment'), |
||
| 19 | 'icon' => 'icon-spinner', |
||
| 20 | ]); |
||
| 21 | |||
| 22 | Status::create([ |
||
| 23 | 'name' => Lang::get('bedard.shop::lang.statuses.presets.abandoned'), |
||
| 24 | 'color' => '#c0392b', |
||
| 25 | 'icon' => 'icon-times', |
||
| 26 | 'is_abandoned' => true, |
||
| 27 | ]); |
||
| 28 | |||
| 29 | Status::create([ |
||
| 30 | 'name' => Lang::get('bedard.shop::lang.statuses.presets.payment_received'), |
||
| 31 | 'icon' => 'icon-money', |
||
| 32 | ]); |
||
| 33 | |||
| 34 | Status::create([ |
||
| 35 | 'name' => Lang::get('bedard.shop::lang.statuses.presets.complete'), |
||
| 36 | 'color' => '#27ae60', |
||
| 37 | 'icon' => 'icon-check', |
||
| 38 | ]); |
||
| 39 | } |
||
| 40 | } |
||
| 41 |