From 774f1c05318a77ea5676fc1c093f04a65938aab8 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 28 Feb 2005 11:56:12 +0000 Subject: [PATCH] Mise en forme --- htdocs/telephonie/script/recap-commande.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/htdocs/telephonie/script/recap-commande.php b/htdocs/telephonie/script/recap-commande.php index 252ffdf1c98..da70531ec94 100644 --- a/htdocs/telephonie/script/recap-commande.php +++ b/htdocs/telephonie/script/recap-commande.php @@ -176,13 +176,14 @@ function Generate($date_gen, $db, $date_now, $email) $soc->fetch($obj->socid); $worksheet->write($j, 0, $obj->code_client, $formatc); + $worksheet->write($j, 1, $obj->nom, $formatc); - $worksheet->write_string($j, 2, "$obj->ligne", $formatcc); + $worksheet->write_string($j, 2, "$obj->ligne", $format[$obj->statut]); - $worksheet->write($j, 3, strftime("%d/%m/%y",$obj->date_commande), $formatcc); + $worksheet->write($j, 3, strftime("%d/%m/%y",$obj->date_commande), $format[$obj->statut]); - $worksheet->write($j, 4, $ligne->statuts[$obj->statut], $format[3]); + $worksheet->write($j, 4, $ligne->statuts[$obj->statut], $format[$obj->statut]); $i++; } @@ -221,10 +222,8 @@ function MailFile($filename, $shortname, $to) $from = TELEPHONIE_LIGNE_COMMANDE_EMAIL_BCC; $message = "Bonjour,\n\nVeuillez trouver ci-joint le dernier récapitulatif des commandes.\n\n"; - $message .= "\n\nCordialement,\n\n"; + $message .= "\n\nCordialement,\n"; - $message .= "-- \n"; - $mailfile = new DolibarrMail($subject, $sendto, $from,