diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 46e9fb50e38..fbb222a5ed2 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -1,5 +1,6 @@ + * Copyright (C) 2004 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -498,65 +499,47 @@ else * */ - print '

'; + print "
\n"; if ($obj->statut == 0 && $user->societe_id == 0) { - print '
'; + print 'Supprimer'; } elseif ($obj->statut == 1 && $obj->paye == 0 && $user->societe_id == 0) { - print ''; + print 'Emmettre un paiement'; } - else - { - print ''; - } if ($obj->statut == 0 && $user->societe_id == 0) { if ($action == "edit") { - print ''; + print 'Annuler'; } else { - print ''; + print 'Editer'; } } - else - { - print ''; - } if ($obj->statut == 1 && round($resteapayer) == 0 && $obj->paye == 0 && $user->societe_id == 0) { - print ""; + print "Classer 'Payée'"; } - else - { - print ""; - } - - print ""; if ($user->societe_id == 0) { if ($obj->statut == 0) { - print ""; + print "Valider"; } else { - print ""; + print "socidp\">Copier"; } } - else - { - print ''; - } - print "
SupprimerEmmettre un paiement-AnnulerEditer-Classer 'Payée'--Validersocidp\">Copier-
"; + print ""; } }