From 1eb7fadb93144bd2bde45cd788308fb61fd8bec6 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Wed, 8 Feb 2006 17:48:10 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20onglet=20aper=E7u=20sur=20la=20fiche=20?= =?UTF-8?q?commande=20client?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/apercu.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/htdocs/commande/apercu.php b/htdocs/commande/apercu.php index ae1c785b1c2..edeb68a706e 100644 --- a/htdocs/commande/apercu.php +++ b/htdocs/commande/apercu.php @@ -160,13 +160,13 @@ if ($_GET["id"] > 0) { // ligne 2 // partie Gauche print ''.$langs->trans('Date').''; - print dolibarr_print_date($propal->date,'%a %e %B %Y'); + print dolibarr_print_date($commande->date,'%a %e %B %Y'); print ''; // partie Droite print ''.$langs->trans('DateEndPropal').''; - if ($propal->fin_validite) { - print dolibarr_print_date($propal->fin_validite,'%a %d %B %Y'); + if ($commande->fin_validite) { + print dolibarr_print_date($commande->fin_validite,'%a %d %B %Y'); } else { print $langs->trans("Unknown"); } @@ -187,11 +187,11 @@ if ($_GET["id"] > 0) { print 'Cette societe n\'a pas de contact, veuillez en créer un avant de faire votre proposition commerciale
'; print ''.$langs->trans('AddContact').''; } else { - if (!empty($propal->contactid)) { + if (!empty($commande->contactid)) { require_once(DOL_DOCUMENT_ROOT.'/contact.class.php'); $contact=new Contact($db); - $contact->fetch($propal->contactid); - print ''; + $contact->fetch($commande->contactid); + print ''; print $contact->firstname.' '.$contact->name; print ''; } else { @@ -279,7 +279,7 @@ if ($_GET["id"] > 0) { // ligne 4 // partie Gauche print ''.$langs->trans('GlobalDiscount').''; - print ''.$propal->remise_percent.'%'; + print ''.$commande->remise_percent.'%'; print ''; // ligne 5