change account dropdown to fix account on account state open/close
This commit is contained in:
@@ -46,6 +46,7 @@ class Product extends \common\models\BaseFitnessActiveRecord {
|
||||
[['id_product_category', 'id_account', 'name'], 'required'],
|
||||
[['id_product_category', 'id_account', 'purchase_price', 'sale_price', 'profit_margins', 'status'], 'integer'],
|
||||
[['product_number', 'barcode'], 'string', 'max' => 20],
|
||||
[['product_number', 'barcode'], 'filter', 'filter' => 'trim', 'skipOnArray' => true],
|
||||
[['name'], 'string', 'max' => 128],
|
||||
[['description'], 'string', 'max' => 255],
|
||||
[['product_number'], 'unique' ],
|
||||
|
||||
Reference in New Issue
Block a user