From a8ba4e1861cb4c6c8e23726a01b0e3c52c6f1cf5 Mon Sep 17 00:00:00 2001 From: lalaina rasamoelina Date: Tue, 6 Aug 2013 16:36:16 +0200 Subject: [PATCH] T961-develop: Put the private note in the bill list In the invoice list, if there are the private notes,we print them and we can edit them htdocs/compta/facture/liste.php --- htdocs/compta/facture/list.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/htdocs/compta/facture/list.php b/htdocs/compta/facture/list.php index c575e7154c2..76e5f34aae0 100644 --- a/htdocs/compta/facture/list.php +++ b/htdocs/compta/facture/list.php @@ -138,7 +138,7 @@ $facturestatic=new Facture($db); if (! $sall) $sql = 'SELECT'; else $sql = 'SELECT DISTINCT'; -$sql.= ' f.rowid as facid, f.facnumber, f.type, f.increment, f.total as total_ht, f.tva as total_tva, f.total_ttc,'; +$sql.= ' f.rowid as facid, f.facnumber, f.type, f.note_private, f.increment, f.total as total_ht, f.tva as total_tva, f.total_ttc,'; $sql.= ' f.datef as df, f.date_lim_reglement as datelimite,'; $sql.= ' f.paye as paye, f.fk_statut,'; $sql.= ' s.nom, s.rowid as socid'; @@ -365,6 +365,14 @@ if ($resql) $thirdparty->id=$objp->socid; $thirdparty->nom=$objp->nom; print $thirdparty->getNomUrl(1,'customer'); + if(!empty($objp->note_private)) + { + print '
'; + print ''; + } print ''; print ''.price($objp->total_ht,0,$langs).'';