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