Browse Source

Correction : date_fin non affichée dans la modification d'une commande récurrente

master
keun 7 years ago
parent
commit
6cb71bd609
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      backend/controllers/CommandeautoController.php

+ 1
- 1
backend/controllers/CommandeautoController.php View File

$model->username = $commandeauto->username ; $model->username = $commandeauto->username ;
$model->id_point_vente = $commandeauto->id_point_vente ; $model->id_point_vente = $commandeauto->id_point_vente ;
$model->date_debut = date('d/m/Y',strtotime($commandeauto->date_debut)) ; $model->date_debut = date('d/m/Y',strtotime($commandeauto->date_debut)) ;
if(strlen($model->date_fin))
if(strlen($commandeauto->date_fin))
$model->date_fin = date('d/m/Y',strtotime($commandeauto->date_fin)) ; $model->date_fin = date('d/m/Y',strtotime($commandeauto->date_fin)) ;
$model->lundi = $commandeauto->lundi ; $model->lundi = $commandeauto->lundi ;
$model->lundi = $commandeauto->lundi ; $model->lundi = $commandeauto->lundi ;

Loading…
Cancel
Save