From 88bdecd2fb14519235e68ac88bb8286b78f28a67 Mon Sep 17 00:00:00 2001 From: lalaina rasamoelina Date: Tue, 6 Aug 2013 16:49:47 +0200 Subject: [PATCH] T962-develop: Put the private note in the order list In the command list, if there are the private notes,we print them and we can edit them htdocs/commande/liste.php --- htdocs/commande/liste.php | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/htdocs/commande/liste.php b/htdocs/commande/liste.php index 6ee3f917811..aa3628dd2ba 100644 --- a/htdocs/commande/liste.php +++ b/htdocs/commande/liste.php @@ -111,7 +111,7 @@ $help_url="EN:Module_Customers_Orders|FR:Module_Commandes_Clients|ES:Módulo_Ped llxHeader('',$langs->trans("Orders"),$help_url); $sql = 'SELECT s.nom, s.rowid as socid, s.client, c.rowid, c.ref, c.total_ht, c.ref_client,'; -$sql.= ' c.date_valid, c.date_commande, c.date_livraison, c.fk_statut, c.facture as facturee'; +$sql.= ' c.date_valid, c.date_commande, c.note_private, c.date_livraison, c.fk_statut, c.facture as facturee'; $sql.= ' FROM '.MAIN_DB_PREFIX.'societe as s'; $sql.= ', '.MAIN_DB_PREFIX.'commande as c'; // We'll need this table joined to the select in order to filter by sale @@ -354,6 +354,15 @@ if ($resql) } } } + if(!empty($objp->note_private)) + { + print '
'; + print ''; + } print ''; print ''.$objp->ref_client.'';