Showing Due date into last customer invoice at comm card
This commit is contained in:
parent
5a6291f4a1
commit
8426e955c8
@ -1418,7 +1418,7 @@ if ($object->id > 0) {
|
||||
$sql .= ', f.total_tva';
|
||||
$sql .= ', f.total_ttc';
|
||||
$sql .= ', f.entity';
|
||||
$sql .= ', f.datef as df, f.datec as dc, f.paye as paye, f.fk_statut as status';
|
||||
$sql .= ', f.datef as df, f.date_lim_reglement as dl, f.datec as dc, f.paye as paye, f.fk_statut as status';
|
||||
$sql .= ', s.nom, s.rowid as socid';
|
||||
$sql .= ', SUM(pf.amount) as am';
|
||||
$sql .= " FROM ".MAIN_DB_PREFIX."societe as s,".MAIN_DB_PREFIX."facture as f";
|
||||
@ -1496,6 +1496,11 @@ if ($object->id > 0) {
|
||||
} else {
|
||||
print '<td class="right"><b>!!!</b></td>';
|
||||
}
|
||||
if ($objp->dl > 0) {
|
||||
print '<td class="right" width="80px">'.dol_print_date($db->jdate($objp->dl), 'day').'</td>';
|
||||
} else {
|
||||
print '<td class="right"><b>!!!</b></td>';
|
||||
}
|
||||
print '<td class="right" style="min-width: 60px">';
|
||||
print price($objp->total_ht);
|
||||
print '</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user