Browse Source

[producer] Correctif quantity_max

dev
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

public function rules() public function rules()
{ {
return [ return [
[['id_distribution', 'id_product', 'active', 'quantity_max'], 'integer']
[['id_distribution', 'id_product', 'active'], 'integer'],
[['quantity_max'], 'number'],
]; ];
} }



Loading…
Cancel
Save