Explorar el Código

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

master
keun hace 7 años
padre
commit
6c879438d0
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      common/models/Commande.php

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

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

Cargando…
Cancelar
Guardar