Gestion de Janvier
This commit is contained in:
parent
56bb92af3a
commit
89511a9683
@ -46,7 +46,10 @@ require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/commerciaux/groupes/groupe.ga
|
||||
require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/commerciaux/groupes/groupe.ca.class.php");
|
||||
$year = strftime("%Y",time());
|
||||
$error = 0;
|
||||
|
||||
if (strftime("%m",time()) == 1)
|
||||
{
|
||||
$year = $year -1;
|
||||
}
|
||||
/*
|
||||
* Création des répertoires
|
||||
*
|
||||
|
||||
@ -44,6 +44,10 @@ require_once (DOL_DOCUMENT_ROOT."/telephonie/stats/commerciaux/groupes/groupe.ca
|
||||
|
||||
$error = 0;
|
||||
$year = strftime("%Y",time());
|
||||
if (strftime("%m",time()) == 1)
|
||||
{
|
||||
$year = $year -1;
|
||||
}
|
||||
/*
|
||||
* Création des répertoires
|
||||
*
|
||||
|
||||
@ -42,6 +42,10 @@ $hselected = $h;
|
||||
$h++;
|
||||
|
||||
$year = strftime("%Y",time());
|
||||
if (strftime("%m",time()) == 1)
|
||||
{
|
||||
$year = $year -1;
|
||||
}
|
||||
$total = 0;
|
||||
$var = True;
|
||||
dolibarr_fiche_head($head, $hselected, "Distributeurs");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user