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');
|
$HEIGHT = DolGraph::getDefaultGraphSizeForStats('height');
|
||||||
|
|
||||||
$mesg = '';
|
$mesg = '';
|
||||||
|
$mode = '';
|
||||||
|
|
||||||
print load_fiche_titre($langs->trans("StatisticsOfSendings").' '.$year, $mesg);
|
print load_fiche_titre($langs->trans("StatisticsOfSendings").' '.$year, $mesg);
|
||||||
|
|
||||||
$stats = new ExpeditionStats($db);
|
$stats = new ExpeditionStats($db, $socid, $mode);
|
||||||
$data = $stats->getNbExpeditionByMonth($year);
|
$data = $stats->getNbByMonth($year);
|
||||||
|
|
||||||
dol_mkdir($conf->expedition->dir_temp);
|
dol_mkdir($conf->expedition->dir_temp);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user