1 | <?php |
||
22 | class PurseController extends \hipanel\base\CrudController |
||
23 | { |
||
24 | 1 | public function actions() |
|
25 | { |
||
26 | return [ |
||
27 | 'index' => [ |
||
28 | 1 | 'class' => IndexAction::class, |
|
29 | 1 | ], |
|
30 | 'view' => [ |
||
31 | 1 | 'class' => ViewAction::class, |
|
32 | 1 | ], |
|
33 | 'validate-form' => [ |
||
34 | 1 | 'class' => ValidateFormAction::class, |
|
35 | 1 | ], |
|
36 | 'invoice-archive' => [ |
||
37 | 1 | 'class' => RedirectAction::class, |
|
38 | 1 | 'error' => Yii::t('app', 'Under construction'), |
|
39 | 1 | ], |
|
40 | 'update-monthly-invoice' => [ |
||
41 | 1 | 'class' => SmartPerformAction::class, |
|
42 | 1 | 'success' => Yii::t('app', 'Invoice updated'), |
|
43 | 1 | ], |
|
44 | 1 | ]; |
|
45 | } |
||
46 | |||
47 | public function actionGenerateInvoice($id, $month = null) |
||
57 | } |
||
58 |