Fix(Scrutinizer) fix name function https://scrutinizer-ci.com/g/Dolibarr/dolibarr/issues/develop/files/htdocs/expedition/stats/month.php?selectedLabels%5B0%5D=9&selectedSeverities%5B0%5D=10&orderField=lastFound&order=desc&honorSelectedPaths=0
This commit is contained in:
parent
06c092acc0
commit
6b4ca7f4fc
@ -47,11 +47,12 @@ $WIDTH = DolGraph::getDefaultGraphSizeForStats('width');
|
||||
$HEIGHT = DolGraph::getDefaultGraphSizeForStats('height');
|
||||
|
||||
$mesg = '';
|
||||
$mode = '';
|
||||
|
||||
print load_fiche_titre($langs->trans("StatisticsOfSendings").' '.$year, $mesg);
|
||||
|
||||
$stats = new ExpeditionStats($db);
|
||||
$data = $stats->getNbExpeditionByMonth($year);
|
||||
$stats = new ExpeditionStats($db, $socid, $mode);
|
||||
$data = $stats->getNbByMonth($year);
|
||||
|
||||
dol_mkdir($conf->expedition->dir_temp);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user