From 9ccf8fdddd05a4b8c3454311a2b1958991b20e2e Mon Sep 17 00:00:00 2001 From: Alexander Smirnov Date: Fri, 14 Mar 2025 09:12:14 +0300 Subject: [PATCH] comment is not required --- erp24/records/Incoming.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erp24/records/Incoming.php b/erp24/records/Incoming.php index 0068deeb..05d05287 100644 --- a/erp24/records/Incoming.php +++ b/erp24/records/Incoming.php @@ -37,7 +37,7 @@ class Incoming extends \yii\db\ActiveRecord public function rules() { return [ - [['id', 'store_id', 'number', 'date', 'counteragent_id', 'comment', 'items', 'supplier_items', 'payments', 'summ'], 'required'], + [['id', 'store_id', 'number', 'date', 'counteragent_id', /*'comment',*/ 'items', 'supplier_items', 'payments', 'summ'], 'required'], [['status', 'is_discrepancies'], 'integer'], [['date_add', 'date'], 'safe'], [['comment', 'items', 'supplier_items', 'payments'], 'string'], -- 2.39.5