From cdbad5ba14749b0351067b613074ef0800d670fc Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 13 May 2003 15:54:15 +0000 Subject: [PATCH] Mise en forme --- htdocs/fourn/facture/index.php3 | 41 +++++---------------------------- 1 file changed, 6 insertions(+), 35 deletions(-) diff --git a/htdocs/fourn/facture/index.php3 b/htdocs/fourn/facture/index.php3 index 6681b2e78cf..5e2cb206f9b 100644 --- a/htdocs/fourn/facture/index.php3 +++ b/htdocs/fourn/facture/index.php3 @@ -41,38 +41,6 @@ if ($action == 'note') $result = $db->query($sql); } -if ($action == 'stcomm') -{ - if ($stcommid <> 'null' && $stcommid <> $oldstcomm) - { - $sql = "INSERT INTO socstatutlog (datel, fk_soc, fk_statut, author) "; - $sql .= " VALUES ('$dateaction',$socid,$stcommid,'" . $GLOBALS["REMOTE_USER"] . "')"; - $result = @$db->query($sql); - - if ($result) - { - $sql = "UPDATE societe SET fk_stcomm=$stcommid WHERE idp=$socid"; - $result = $db->query($sql); - } - else - { - $errmesg = "ERREUR DE DATE !"; - } - } - - if ($actioncommid) - { - $sql = "INSERT INTO actioncomm (datea, fk_action, fk_soc, fk_user_author) VALUES ('$dateaction',$actioncommid,$socid,'" . $user->id . "')"; - $result = @$db->query($sql); - - if (!$result) - { - $errmesg = "ERREUR DE DATE !"; - } - } -} - - if ($action == 'delete') { $fac = new FactureFourn($db); @@ -158,10 +126,12 @@ if ($result) print "

"; print ''; print ''; + print ''; print ''; - print ''; + print ''; print "\n"; $var=True; while ($i < $num) @@ -172,7 +142,8 @@ if ($result) print ""; print "\n"; - print "\n"; + print "\n"; + print ''; print "\n"; print '';
NuméroDateLibellé'; print_liste_field_titre("Société",$PHP_SELF,"s.nom"); - print 'MontantPayé'; + print_liste_field_titre("Montant",$PHP_SELF,"fac.total_ht"); + print 'Payé
facid\">$obj->facnumberfacid\">$obj->libellefacid\">".strftime("%d %b %Y",$obj->datef)."'.stripslashes("$obj->libelle").'socid\">$obj->nom'.price($obj->total_ht).'