Fix PHP8 on bank
This commit is contained in:
parent
74e74e2377
commit
9c8f7bd174
@ -185,7 +185,7 @@ if (GETPOST("account") || GETPOST("ref")) {
|
|||||||
|
|
||||||
|
|
||||||
$solde = $object->solde(0);
|
$solde = $object->solde(0);
|
||||||
if ($conf->global->MULTICOMPANY_INVOICE_SHARING_ENABLED) {
|
if (getDolGlobalInt('MULTICOMPANY_INVOICE_SHARING_ENABLED')) {
|
||||||
$colspan = 6;
|
$colspan = 6;
|
||||||
} else {
|
} else {
|
||||||
$colspan = 5;
|
$colspan = 5;
|
||||||
@ -199,7 +199,7 @@ if (GETPOST("account") || GETPOST("ref")) {
|
|||||||
print '<tr class="liste_titre">';
|
print '<tr class="liste_titre">';
|
||||||
print '<td>'.$langs->trans("DateDue").'</td>';
|
print '<td>'.$langs->trans("DateDue").'</td>';
|
||||||
print '<td>'.$langs->trans("Description").'</td>';
|
print '<td>'.$langs->trans("Description").'</td>';
|
||||||
if ($conf->global->MULTICOMPANY_INVOICE_SHARING_ENABLED) {
|
if (getDolGlobalInt('MULTICOMPANY_INVOICE_SHARING_ENABLED')) {
|
||||||
print '<td>'.$langs->trans("Entity").'</td>';
|
print '<td>'.$langs->trans("Entity").'</td>';
|
||||||
}
|
}
|
||||||
print '<td>'.$langs->trans("ThirdParty").'</td>';
|
print '<td>'.$langs->trans("ThirdParty").'</td>';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user