Merge pull request #17854 from frederic34/patch-11
add warning if outstanding limit is exceeded
This commit is contained in:
commit
95bea52984
@ -2294,6 +2294,7 @@ if ($action == 'create') {
|
||||
print $langs->trans('OutstandingBill');
|
||||
print '</td><td class="valuefield">';
|
||||
$arrayoutstandingbills = $soc->getOutstandingBills();
|
||||
print ($arrayoutstandingbills['opened'] > $soc->outstanding_limit ? img_warning() : '');
|
||||
print price($arrayoutstandingbills['opened']).' / ';
|
||||
print price($soc->outstanding_limit, 0, $langs, 1, - 1, - 1, $conf->currency);
|
||||
print '</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user