Fixing style errors.
This commit is contained in:
parent
0cb04d14d7
commit
cd5201e40a
@ -639,7 +639,7 @@ if ($object->id > 0)
|
|||||||
if (!empty($conf->facture->enabled) && $user->rights->facture->lire)
|
if (!empty($conf->facture->enabled) && $user->rights->facture->lire)
|
||||||
{
|
{
|
||||||
// Box factures
|
// Box factures
|
||||||
$tmp = $object->getOutstandingBills('customer',0);
|
$tmp = $object->getOutstandingBills('customer', 0);
|
||||||
$outstandingOpened = $tmp['opened'];
|
$outstandingOpened = $tmp['opened'];
|
||||||
$outstandingTotal = $tmp['total_ht'];
|
$outstandingTotal = $tmp['total_ht'];
|
||||||
$outstandingTotalIncTax = $tmp['total_ttc'];
|
$outstandingTotalIncTax = $tmp['total_ttc'];
|
||||||
@ -670,7 +670,7 @@ if ($object->id > 0)
|
|||||||
$boxstat .= '</div>';
|
$boxstat .= '</div>';
|
||||||
if ($link) $boxstat .= '</a>';
|
if ($link) $boxstat .= '</a>';
|
||||||
|
|
||||||
$tmp = $object->getOutstandingBills('customer',1);
|
$tmp = $object->getOutstandingBills('customer', 1);
|
||||||
$outstandingOpenedLate = $tmp['opened'];
|
$outstandingOpenedLate = $tmp['opened'];
|
||||||
if ($outstandingOpened != $outstandingOpenedLate && !empty($outstandingOpenedLate)) {
|
if ($outstandingOpened != $outstandingOpenedLate && !empty($outstandingOpenedLate)) {
|
||||||
$warn = '';
|
$warn = '';
|
||||||
@ -687,7 +687,6 @@ if ($object->id > 0)
|
|||||||
$boxstat .= '</div>';
|
$boxstat .= '</div>';
|
||||||
if ($link) $boxstat .= '</a>';
|
if ($link) $boxstat .= '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$parameters = array();
|
$parameters = array();
|
||||||
|
|||||||
@ -418,7 +418,7 @@ if ($object->id > 0)
|
|||||||
$boxstat .= '</div>';
|
$boxstat .= '</div>';
|
||||||
if ($link) $boxstat .= '</a>';
|
if ($link) $boxstat .= '</a>';
|
||||||
|
|
||||||
$tmp = $object->getOutstandingBills('supplier',1);
|
$tmp = $object->getOutstandingBills('supplier', 1);
|
||||||
$outstandingOpenedLate = $tmp['opened'];
|
$outstandingOpenedLate = $tmp['opened'];
|
||||||
if ($outstandingOpened != $outstandingOpenedLate && !empty($outstandingOpenedLate)) {
|
if ($outstandingOpened != $outstandingOpenedLate && !empty($outstandingOpenedLate)) {
|
||||||
$text = $langs->trans("CurrentOutstandingBillLate");
|
$text = $langs->trans("CurrentOutstandingBillLate");
|
||||||
@ -431,7 +431,6 @@ if ($object->id > 0)
|
|||||||
$boxstat .= '</div>';
|
$boxstat .= '</div>';
|
||||||
if ($link) $boxstat .= '</a>';
|
if ($link) $boxstat .= '</a>';
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$boxstat .= '</td></tr>';
|
$boxstat .= '</td></tr>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user