Ver código fonte

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

master
keun 7 anos atrás
pai
commit
6c879438d0
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      common/models/Commande.php

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

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

Carregando…
Cancelar
Salvar