Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
21 | public function setup() |
||
22 | { |
||
23 | /* |
||
24 | |-------------------------------------------------------------------------- |
||
25 | | CrudPanel Basic Information |
||
26 | |-------------------------------------------------------------------------- |
||
27 | */ |
||
28 | CRUD::setModel(Discount::class); |
||
29 | CRUD::setRoute(config('backpack.base.route_prefix').'/discount'); |
||
30 | CRUD::setEntityNameStrings(__('discount'), __('discounts')); |
||
31 | } |
||
81 |