Fixing style errors.

This commit is contained in:
stickler-ci 2020-10-15 10:24:00 +00:00
parent 0cb04d14d7
commit cd5201e40a
2 changed files with 3 additions and 5 deletions

View File

@ -639,7 +639,7 @@ if ($object->id > 0)
if (!empty($conf->facture->enabled) && $user->rights->facture->lire)
{
// Box factures
$tmp = $object->getOutstandingBills('customer',0);
$tmp = $object->getOutstandingBills('customer', 0);
$outstandingOpened = $tmp['opened'];
$outstandingTotal = $tmp['total_ht'];
$outstandingTotalIncTax = $tmp['total_ttc'];
@ -670,7 +670,7 @@ if ($object->id > 0)
$boxstat .= '</div>';
if ($link) $boxstat .= '</a>';
$tmp = $object->getOutstandingBills('customer',1);
$tmp = $object->getOutstandingBills('customer', 1);
$outstandingOpenedLate = $tmp['opened'];
if ($outstandingOpened != $outstandingOpenedLate && !empty($outstandingOpenedLate)) {
$warn = '';
@ -687,7 +687,6 @@ if ($object->id > 0)
$boxstat .= '</div>';
if ($link) $boxstat .= '</a>';
}
}
$parameters = array();

View File

@ -418,7 +418,7 @@ if ($object->id > 0)
$boxstat .= '</div>';
if ($link) $boxstat .= '</a>';
$tmp = $object->getOutstandingBills('supplier',1);
$tmp = $object->getOutstandingBills('supplier', 1);
$outstandingOpenedLate = $tmp['opened'];
if ($outstandingOpened != $outstandingOpenedLate && !empty($outstandingOpenedLate)) {
$text = $langs->trans("CurrentOutstandingBillLate");
@ -431,7 +431,6 @@ if ($object->id > 0)
$boxstat .= '</div>';
if ($link) $boxstat .= '</a>';
}
}
$boxstat .= '</td></tr>';