Просмотр исходного кода

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

prodstable
keun 7 лет назад
Родитель
Сommit
6cb71bd609
1 измененных файлов: 1 добавлений и 1 удалений
  1. +1
    -1
      backend/controllers/CommandeautoController.php

+ 1
- 1
backend/controllers/CommandeautoController.php Просмотреть файл

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

Загрузка…
Отмена
Сохранить