]> gitweb.erp-flowers.ru Git - erp24_rep/yii-erp24/.git/commitdiff
[ERP-323] region_id in prices and prices_dynamic 2
authorAlexander Smirnov <fredeom@mail.ru>
Fri, 14 Feb 2025 10:51:06 +0000 (13:51 +0300)
committerAlexander Smirnov <fredeom@mail.ru>
Fri, 14 Feb 2025 10:51:06 +0000 (13:51 +0300)
erp24/records/Prices.php

index 8ceaab4e27e874452ad485f42fa58e8b2477f361..adce77020ad4e5055996e0f5fe5d8837c1378088 100644 (file)
@@ -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'],
         ];
     }