Przeglądaj źródła

Merge branch 'dev'

master
Guillaume Bourgeois 4 lat temu
rodzic
commit
7b7fab205f
1 zmienionych plików z 2 dodań i 2 usunięć
  1. +2
    -2
      common/models/Product.php

+ 2
- 2
common/models/Product.php Wyświetl plik

@@ -119,9 +119,9 @@ class Product extends ActiveRecordCommon
{
return [
[['name', 'id_producer'], 'required'],
[['active', 'order', 'quantity_max', 'id_producer', 'id_tax_rate', 'quantity_max_monday', 'quantity_max_tuesday', 'quantity_max_wednesday', 'quantity_max_thursday', 'quantity_max_friday', 'quantity_max_saturday', 'quantity_max_sunday'], 'integer'],
[['active', 'order', 'id_producer', 'id_tax_rate'], 'integer'],
[['monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday', 'unavailable', 'apply_distributions'], 'boolean'],
[['price', 'weight', 'step'], 'number'],
[['price', 'weight', 'step', 'quantity_max', 'quantity_max_monday', 'quantity_max_tuesday', 'quantity_max_wednesday', 'quantity_max_thursday', 'quantity_max_friday', 'quantity_max_saturday', 'quantity_max_sunday'], 'number'],
[['photo'], 'file'],
[['name', 'description', 'photo', 'unit'], 'string', 'max' => 255],
[['recipe'], 'string', 'max' => 1000],

Ładowanie…
Anuluj
Zapisz