diff --git a/htdocs/compta/facture/card.php b/htdocs/compta/facture/card.php
index 45e94d1e5d3..f33c41b4c86 100644
--- a/htdocs/compta/facture/card.php
+++ b/htdocs/compta/facture/card.php
@@ -4028,8 +4028,6 @@ else if ($id > 0 || ! empty($ref))
print '';
- // List of previous situation invoices
-
$sign = 1;
if ($object->type == Facture::TYPE_CREDIT_NOTE) $sign = - 1;
$nbrows = 8;
@@ -4370,7 +4368,7 @@ else if ($id > 0 || ! empty($ref))
}
else // Credit note
{
- $cssforamountpaymentcomplete='';
+ $cssforamountpaymentcomplete='amountpaymentneutral';
// Total already paid back
print '
| ';
@@ -4385,7 +4383,7 @@ else if ($id > 0 || ! empty($ref))
if ($resteapayeraffiche <= 0)
print $langs->trans('RemainderToPayBack');
else
- print $langs->trans('ExcessPaydBack');
+ print $langs->trans('ExcessPaid');
print ' : | ';
print '' . price($sign * $resteapayeraffiche) . ' | ';
print ' |
';
diff --git a/htdocs/fourn/facture/card.php b/htdocs/fourn/facture/card.php
index d409ba35b86..7032f80574c 100644
--- a/htdocs/fourn/facture/card.php
+++ b/htdocs/fourn/facture/card.php
@@ -2898,7 +2898,7 @@ else
if ($resteapayeraffiche <= 0)
print $langs->trans('RemainderToPayBack');
else
- print $langs->trans('ExcessPaydBack');
+ print $langs->trans('ExcessPaid');
print ' :';
print '' . price($sign * $resteapayeraffiche) . ' | ';
print ' | ';