diff --git a/application/controllers/ReportController.php b/application/controllers/ReportController.php index 2ea726a..bfa565e 100644 --- a/application/controllers/ReportController.php +++ b/application/controllers/ReportController.php @@ -129,7 +129,8 @@ class ReportController extends Zend_Controller_Action $infos = new stdClass(); $infos->NumCommande = $row->cmdId; - $infos->DateCommande = $row->dateInsert; + $date = new Zend_Date($row->dateInsert); + $infos->DateCommande = $date->toString('dd/MM/yyyy HH:mm:ss'); $infos->RaisonSociale = $row->rs; $infos->NomPrenom = $row->nom . ' ' . $row->prenom; $infos->Adresse = $row->adresse; diff --git a/application/views/scripts/report/deliver.phtml b/application/views/scripts/report/deliver.phtml index 1a7f834..024480b 100644 --- a/application/views/scripts/report/deliver.phtml +++ b/application/views/scripts/report/deliver.phtml @@ -28,7 +28,8 @@
Suivi commande
- N° de commande
+ N° de commande : Infos->NumCommande?>
+ En date du : Infos->DateCommande?>