Modif année pour Janvier
This commit is contained in:
parent
71d171a1c2
commit
56bb92af3a
@ -31,6 +31,10 @@ llxHeader('','Telephonie - Statistiques - Commerciaux');
|
|||||||
$h = 0;
|
$h = 0;
|
||||||
|
|
||||||
$year = strftime("%Y",time());
|
$year = strftime("%Y",time());
|
||||||
|
if (strftime("%m",time()) == 1)
|
||||||
|
{
|
||||||
|
$year = $year -1;
|
||||||
|
}
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/index.php';
|
$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/commerciaux/index.php';
|
||||||
$head[$h][1] = "Global";
|
$head[$h][1] = "Global";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user