diff --git a/htdocs/compta/paiement/fiche.php b/htdocs/compta/paiement/fiche.php index ac14247882b..4a86d1523d5 100644 --- a/htdocs/compta/paiement/fiche.php +++ b/htdocs/compta/paiement/fiche.php @@ -69,12 +69,16 @@ if ($_POST["action"] == 'confirm_valide' && $_POST["confirm"] == 'yes' && $user- llxHeader(); + print '
'; print ''.$langs->trans("Payment").''; print ''.$langs->trans("Info").''; print '
'; print '
'; +print '
'; + + /* * Visualisation de la fiche * @@ -86,25 +90,21 @@ $html = new Form($db); /* * Confirmation de la suppression du paiement - * */ if ($_GET["action"] == 'delete') - { - print '
'; - $html->form_confirm("fiche.php?id=$paiement->id","Supprimer le paiement","Etes-vous sūr de vouloir supprimer ce paiement ?","confirm_delete"); - print '
'; +{ + $html->form_confirm("fiche.php?id=$paiement->id","Supprimer le paiement","Etes-vous sūr de vouloir supprimer ce paiement ?","confirm_delete"); + print '
'; +} - } - +/* + * Confirmation de la validation du paiement + */ if ($_GET["action"] == 'valide') - { - print '
'; - $html->form_confirm("fiche.php?id=$paiement->id","Valider le paiement","Etes-vous sūr de vouloir valider ce paiment, auncune modification n'est possible une fois le paiement validé ?","confirm_valide"); - print '
'; - - } - -print '
'; +{ + $html->form_confirm("fiche.php?id=$paiement->id","Valider le paiement","Etes-vous sūr de vouloir valider ce paiment, auncune modification n'est possible une fois le paiement validé ?","confirm_valide"); + print '
'; +} print '';