Fix Bank entries - nowrap on amount

This commit is contained in:
Alexandre SPANGARO 2019-09-14 05:44:28 +02:00
parent 36963423c3
commit 4420af683d

View File

@ -1356,7 +1356,7 @@ if ($resql)
// Debit // Debit
if (! empty($arrayfields['b.debit']['checked'])) if (! empty($arrayfields['b.debit']['checked']))
{ {
print '<td class="right">'; print '<td class="nowrap right">';
if ($objp->amount < 0) if ($objp->amount < 0)
{ {
print price($objp->amount * -1); print price($objp->amount * -1);
@ -1370,7 +1370,7 @@ if ($resql)
// Credit // Credit
if (! empty($arrayfields['b.credit']['checked'])) if (! empty($arrayfields['b.credit']['checked']))
{ {
print '<td class="right">'; print '<td class="nowrap right">';
if ($objp->amount > 0) if ($objp->amount > 0)
{ {
print price($objp->amount); print price($objp->amount);