Sfoglia il codice sorgente

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

master
keun 7 anni fa
parent
commit
6c879438d0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      common/models/Commande.php

+ 1
- 1
common/models/Commande.php Vedi File

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

Loading…
Annulla
Salva