From 621c96b6d30db2a5d59f8aa4020b48a172cb3e60 Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Wed, 9 Oct 2024 12:08:57 +0300 Subject: [PATCH] 2024_10_09 motivation required fields --- erp24/actions/motivation/IndexAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] ]); -- 2.39.5