mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
phpstan
This commit is contained in:
parent
773f68ab4f
commit
51568a6093
|
|
@ -347,6 +347,7 @@ function getNumberInvoicesPieChart($mode)
|
|||
if (($mode == 'customers' && isModEnabled('facture') && $user->hasRight('facture', 'lire'))
|
||||
|| ($mode == 'suppliers' && (isModEnabled('fournisseur') || isModEnabled('supplier_invoice')) && $user->hasRight('fournisseur', 'facture', 'lire'))
|
||||
) {
|
||||
global $badgeStatus1, $badgeStatus3, $badgeStatus4, $badgeStatus8, $badgeStatus11;
|
||||
include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php';
|
||||
|
||||
$now = date_create(date('Y-m-d', dol_now()));
|
||||
|
|
|
|||
|
|
@ -281,6 +281,7 @@ function getCustomerOrderPieChart($socid = 0)
|
|||
}
|
||||
$db->free($resql);
|
||||
|
||||
global $badgeStatus0, $badgeStatus1, $badgeStatus4, $badgeStatus6, $badgeStatus9;
|
||||
include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php';
|
||||
|
||||
$result = '<div class="div-table-responsive-no-min">';
|
||||
|
|
|
|||
|
|
@ -260,6 +260,7 @@ function getCustomerProposalPieChart($socid = 0)
|
|||
}
|
||||
$db->free($resql);
|
||||
|
||||
global $badgeStatus0, $badgeStatus1, $badgeStatus4, $badgeStatus6, $badgeStatus9;
|
||||
include DOL_DOCUMENT_ROOT.'/theme/'.$conf->theme.'/theme_vars.inc.php';
|
||||
|
||||
$result = '<div class="div-table-responsive-no-min">';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user