diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php
index 9c848883332..2e259a2c8bc 100644
--- a/htdocs/comm/card.php
+++ b/htdocs/comm/card.php
@@ -1427,7 +1427,7 @@ if ($object->id > 0) {
$sql .= " WHERE f.fk_soc = s.rowid AND s.rowid = ".((int) $object->id);
$sql .= " AND f.entity IN (".getEntity('invoice').")";
$sql .= ' GROUP BY f.rowid, f.ref, f.type, f.total_ht, f.total_tva, f.total_ttc,';
- $sql .= ' f.entity, f.datef, f.datec, f.paye, f.fk_statut,';
+ $sql .= ' f.entity, f.datef, f.date_lim_reglement, f.datec, f.paye, f.fk_statut,';
$sql .= ' s.nom, s.rowid';
$sql .= " ORDER BY f.datef DESC, f.datec DESC";
@@ -1441,7 +1441,7 @@ if ($object->id > 0) {
print '
';
print '';
- print '| '.$langs->trans("LastCustomersBills", ($num <= $MAXLIST ? "" : $MAXLIST)).' | '.$langs->trans("AllBills").''.$num.' | ';
+ print ' | ';
print ' ';
@@ -1493,14 +1493,14 @@ if ($object->id > 0) {
//print $formfile->getDocumentsLink($facturestatic->element, $filename, $filedir);
print '';
if ($objp->df > 0) {
- print ''.$langs->trans('DateInvoice').": ".dol_print_date($db->jdate($objp->df), 'day').' | ';
+ print ''.dol_print_date($db->jdate($objp->df), 'day').' | ';
} else {
- print '!!! | ';
+ print '!!! | ';
}
if ($objp->dl > 0) {
- print ''.$langs->trans('DateMaxPayment').": ".dol_print_date($db->jdate($objp->dl), 'day').' | ';
+ print ''.dol_print_date($db->jdate($objp->dl), 'day').' | ';
} else {
- print '!!! | ';
+ print '!!! | ';
}
print '';
print price($objp->total_ht);
|
|