diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php
index 943389bc7c2..cc4d2cff7e7 100644
--- a/htdocs/compta/facture.php
+++ b/htdocs/compta/facture.php
@@ -592,7 +592,7 @@ if (empty($reshook))
$discount->fk_facture_source = $object->id;
$error = 0;
-
+
foreach ($amount_ht as $tva_tx => $xxx) {
$discount->amount_ht = abs($amount_ht [$tva_tx]);
$discount->amount_tva = abs($amount_tva [$tva_tx]);
@@ -3744,7 +3744,7 @@ if ($action == 'create')
$i ++;
}
print '';
- print '