Browse Source

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

prodstable
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

@@ -98,7 +98,7 @@ class CommandeautoController extends BackendController {
$model->username = $commandeauto->username ;
$model->id_point_vente = $commandeauto->id_point_vente ;
$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->lundi = $commandeauto->lundi ;
$model->lundi = $commandeauto->lundi ;

Loading…
Cancel
Save