diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index a01ff14be28..d0a076e5d3b 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -160,7 +160,7 @@ if ($action == 'create' or $action == 'copy') print '
'; print ''; - print ''; + print '
'; print ''; print '
Société :'; - print ''; - print ''; - print ''; - print ''; + print '
LibelléP.U. HTQtyTotal HTTaux TVATVATotal TTC 
'; + print ''; + print ''; + print ''; + print ''; for ($i = 0 ; $i < sizeof($fac->lignes) ; $i++) { print "".'"; @@ -333,7 +333,7 @@ else print '"; print '"; print ''; + print ''.img_delete().''; print ''; } @@ -473,17 +473,17 @@ else * */ print '

LibelléP.U. HTQtyTotal HTTaux TVATVATotal TTC 
'.$fac->lignes[$i][0]."'.price($fac->lignes[$i][5])."'.price($fac->lignes[$i][6])."'; - print 'Supprimer
'; - print ''; - print ''; - print ''; - print ''; + print ''; + print ''; + print ''; + print ''; for ($i = 0 ; $i < sizeof($fac->lignes) ; $i++) { print "".'"; print '"; print '"; print '"; - print '"; + print '"; print '"; print '"; @@ -522,7 +522,7 @@ else } } - if ($obj->statut == 1 && round($resteapayer) == 0 && $obj->paye == 0 && $user->societe_id == 0) + if ($obj->statut == 1 && price($resteapayer) <= 0 && $obj->paye == 0 && $user->societe_id == 0) { print "Classer 'Payée'"; }
LibelléP.U. HTQtyTotal HTTaux TVATVATotal TTC
LibelléP.U. HTQantitéTotal HTTaux TVATVATotal TTC
'.$fac->lignes[$i][0]."'.price($fac->lignes[$i][1])."'.$fac->lignes[$i][3]."'.price($fac->lignes[$i][4])."'.$fac->lignes[$i][2]."'.$fac->lignes[$i][2]." %'.price($fac->lignes[$i][5])."'.price($fac->lignes[$i][6])."