@@ -390,7 +390,7 @@ class Commande extends \yii\db\ActiveRecord | |||
$delai_commande = Etablissement::getConfig('delai_commande',$this->production->id_etablissement) ; | |||
$heure_limite = Etablissement::getConfig('heure_limite_commande',$this->production->id_etablissement) ; | |||
$date_commande = strtotime($this->date) ; | |||
$date_commande = strtotime($this->production->date) ; | |||
$date_today = strtotime(date('Y-m-d')); | |||
$heure_today = date('G') ; | |||