From: Alexander Smirnov Date: Fri, 14 Feb 2025 10:51:06 +0000 (+0300) Subject: [ERP-323] region_id in prices and prices_dynamic 2 X-Git-Url: https://gitweb.erp-flowers.ru/?a=commitdiff_plain;h=be4dfb37771dcc93d23f603ced8753db2a5c21bf;p=erp24_rep%2Fyii-erp24%2F.git [ERP-323] region_id in prices and prices_dynamic 2 --- diff --git a/erp24/records/Prices.php b/erp24/records/Prices.php index 8ceaab4e..adce7702 100644 --- a/erp24/records/Prices.php +++ b/erp24/records/Prices.php @@ -35,7 +35,7 @@ class Prices extends \yii\db\ActiveRecord [['product_id', 'price'], 'required'], [['price', 'region_id'], 'number'], [['product_id'], 'string', 'max' => 36], - [['product_id'], 'unique'], + //[['product_id'], 'unique'], ]; }