diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php
index e694baa3d00..3b38f584083 100644
--- a/htdocs/fourn/facture/fiche.php
+++ b/htdocs/fourn/facture/fiche.php
@@ -231,116 +231,119 @@ if ($_GET['action'] == 'add_ligne')
*
*/
-if ($_GET["action"] == 'create' or $_GET["action"] == 'copy')
+if ($_GET['action'] == 'create' or $_GET['action'] == 'copy')
{
+ llxHeader();
- llxHeader();
+ print_titre($langs->trans('NewBill'));
- print_titre($langs->trans("NewBill"));
+ if ($mesg) { print $mesg.'
'; }
- if ($mesg) { print "$mesg
"; }
+ if ($_GET['action'] == 'copy')
+ {
+ $fac_ori = new FactureFournisseur($db);
+ $fac_ori->fetch($_GET['facid']);
+ }
- if ($_GET["action"] == 'copy')
- {
- $fac_ori = new FactureFournisseur($db);
- $fac_ori->fetch($_GET["facid"]);
- }
+ print '
| '; /* |