Explorar el Código

Correction : modèle heure_limite_commande

prodstable
keun hace 7 años
padre
commit
197ca77ca3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      common/models/Etablissement.php

+ 1
- 1
common/models/Etablissement.php Ver fichero

@@ -41,7 +41,7 @@ class Etablissement extends \yii\db\ActiveRecord
return [
[['nom', 'siret', 'heure_limite_commande','delai_commande'], 'required'],
[['heure_limite_commande','delai_commande'],'integer'],
['heure_limite_commande','in', 'range' => [18, 19, 20, 21, 22, 23, 24]],
['heure_limite_commande','in', 'range' => [8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24]],
['delai_commande','in', 'range' => [1,2,3,4,5,6,7]],
['code', function($attribute, $params)
{

Cargando…
Cancelar
Guardar