From: Alexander Smirnov Date: Wed, 9 Oct 2024 09:08:57 +0000 (+0300) Subject: 2024_10_09 motivation required fields X-Git-Tag: 1.6~43^2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=621c96b6d30db2a5d59f8aa4020b48a172cb3e60;p=erp24_rep%2Fyii-erp24%2F.git 2024_10_09 motivation required fields --- diff --git a/erp24/actions/motivation/IndexAction.php b/erp24/actions/motivation/IndexAction.php index 59d8eb67..14f1f452 100644 --- a/erp24/actions/motivation/IndexAction.php +++ b/erp24/actions/motivation/IndexAction.php @@ -46,7 +46,7 @@ class IndexAction extends Action 'year' => $currentDate->format('Y'), // Текущий год 'month' => $currentDate->format('n') // Текущий месяц (1-12) ], [ - [['store_id', 'year', 'month'], 'safe'] + [['store_id', 'year', 'month'], 'required'] ]);