Add debug info to show raw database values in declaration list
This commit is contained in:
parent
2fefe384b7
commit
5cae470880
@ -147,8 +147,8 @@ if (empty($declarations)) {
|
||||
// VAT refund case
|
||||
print '<td class="center"><strong style="color: #28a745;">' . price($d['vat_credit']) . '</strong><br><small>' . $langs->trans("VATToReceive") . '</small></td>';
|
||||
} elseif ($d['net_vat_due'] > 0) {
|
||||
// VAT due case
|
||||
print '<td class="center"><strong style="color: #dc3545;">' . price($d['net_vat_due']) . '</strong><br><small>' . $langs->trans("NetVATDue") . '</small></td>';
|
||||
// VAT due case - DEBUG: Show raw value
|
||||
print '<td class="center"><strong style="color: #dc3545;">' . price($d['net_vat_due']) . '</strong><br><small>' . $langs->trans("NetVATDue") . ' (DB: ' . $d['net_vat_due'] . ')</small></td>';
|
||||
} else {
|
||||
// Balanced case
|
||||
print '<td class="center"><strong>' . price(0) . '</strong><br><small>' . $langs->trans("VATBalanced") . '</small></td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user