Browse Source

[producer] Correctif quantity_max

refactoring
Guillaume 4 years ago
parent
commit
eec26339b9
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      common/models/ProductDistribution.php

+ 2
- 1
common/models/ProductDistribution.php View File

@@ -67,7 +67,8 @@ class ProductDistribution extends ActiveRecordCommon
public function rules()
{
return [
[['id_distribution', 'id_product', 'active', 'quantity_max'], 'integer']
[['id_distribution', 'id_product', 'active'], 'integer'],
[['quantity_max'], 'number'],
];
}


Loading…
Cancel
Save