Correction afficahge date

This commit is contained in:
Michael RICOIS 2013-10-17 15:00:34 +00:00
parent f1987b5e1e
commit 6c555c7da0
2 changed files with 4 additions and 2 deletions

View File

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

View File

@ -28,7 +28,8 @@
<address>
<strong>Suivi commande</strong><br>
N° de commande<br/>
N° de commande : <?=$this->Infos->NumCommande?><br/>
En date du : <?=$this->Infos->DateCommande?>
</address>
<address>