Parcourir la source

Correction : la date de la commande est à prendre au niveau de la production

master
keun il y a 7 ans
Parent
révision
6c879438d0
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      common/models/Commande.php

+ 1
- 1
common/models/Commande.php Voir le fichier

@@ -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') ;

Chargement…
Annuler
Enregistrer