Fix PHP8 on bank
This commit is contained in:
parent
74e74e2377
commit
9c8f7bd174
@ -1,8 +1,8 @@
|
||||
<?php
|
||||
/* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* Copyright (C) 2008-2009 Laurent Destailleur (Eldy) <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2008 Raphael Bertrand (Resultic) <raphael.bertrand@resultic.fr>
|
||||
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com
|
||||
/* Copyright (C) 2005-2009 Regis Houssin <regis.houssin@inodbox.com>
|
||||
* Copyright (C) 2008-2009 Laurent Destailleur (Eldy) <eldy@users.sourceforge.net>
|
||||
* Copyright (C) 2008 Raphael Bertrand (Resultic) <raphael.bertrand@resultic.fr>
|
||||
* Copyright (C) 2015 Marcos García <marcosgdf@gmail.com
|
||||
* Copyright (C) 2016 Frédéric France <frederic.france@free.fr>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -185,7 +185,7 @@ if (GETPOST("account") || GETPOST("ref")) {
|
||||
|
||||
|
||||
$solde = $object->solde(0);
|
||||
if ($conf->global->MULTICOMPANY_INVOICE_SHARING_ENABLED) {
|
||||
if (getDolGlobalInt('MULTICOMPANY_INVOICE_SHARING_ENABLED')) {
|
||||
$colspan = 6;
|
||||
} else {
|
||||
$colspan = 5;
|
||||
@ -199,7 +199,7 @@ if (GETPOST("account") || GETPOST("ref")) {
|
||||
print '<tr class="liste_titre">';
|
||||
print '<td>'.$langs->trans("DateDue").'</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("ThirdParty").'</td>';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user