Explorar el Código

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

prodstable
keun hace 7 años
padre
commit
6cb71bd609
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      backend/controllers/CommandeautoController.php

+ 1
- 1
backend/controllers/CommandeautoController.php Ver fichero

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

Cargando…
Cancelar
Guardar