diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index d86059480d8..21c9b361395 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -1211,8 +1211,8 @@ else } /* - * Facture - */ + * Facture + */ print ''; // Reference @@ -1269,11 +1269,13 @@ else print ''; if ($fac->brouillon == 1 && $user->rights->facture->creer) { + print ''; + print '% '; + print ''; print ''; + print ''; } else { @@ -1409,6 +1411,7 @@ else print '
'.$langs->trans('GlobalDiscount').''; print '
'; print ''; - print '
% '; - print '

'; + /* * Lignes de factures */ @@ -1435,8 +1438,10 @@ else $i = 0; $total = 0; print ''; + if ($num_lignes) { + print ''; print ''; print ''; @@ -1446,6 +1451,7 @@ else print ''; print ''; print "\n"; + } $var=true; while ($i < $num_lignes) @@ -1662,6 +1668,7 @@ else } print ''; } + } print "
'.$langs->trans('Description').''.$langs->trans('VAT').''.$langs->trans('AmountHT').'   
\n"; @@ -1748,6 +1755,7 @@ else print ''; } + print '
'; /*