From e80be0485e92ddc5624e58c8070f896fd244382f Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 9 Oct 2004 12:59:07 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20Suppression=20des=20param=E8tres=20de=20?= =?UTF-8?q?style=20pour=20rendre=20la=20feuille=20de=20style=20prioritaire?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/compta/facture.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 66dce26991e..9bae9de458b 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -154,10 +154,10 @@ if ($_POST["action"] == 'add') } } } + /* * Commande */ - if ($_POST["commandeid"]) { $facture->commandeid = $_POST["commandeid"]; @@ -200,6 +200,7 @@ if ($_POST["action"] == 'add') } } } + /* * */ @@ -838,11 +839,12 @@ else $sql .= " ORDER BY dp DESC"; $result = $db->query($sql); + if ($result) { $num = $db->num_rows(); $i = 0; $total = 0; - print ''; + print '
'; print ''; print ''; @@ -1172,7 +1174,7 @@ else { $encfile = urlencode($file); print_titre("Documents"); - print '
Date'.$langs->trans("Type").''.$langs->trans("Amount").' 
'; + print '
'; print ""; @@ -1255,7 +1257,7 @@ else print "

id\">\n"; print ''; print ''; - print '

Facture PDF
'; + print '
'; print '
'.$langs->trans("Project").''; @@ -1364,7 +1366,7 @@ else print_titre("Proposition commerciale associée"); } - print ''; + print '
'; print ''; print ''; print '';
'.$langs->trans("Ref").''.$langs->trans("Date").'