Gestion de Janvier

This commit is contained in:
Rodolphe Quiedeville 2006-01-10 22:54:29 +00:00
parent 56bb92af3a
commit 89511a9683
3 changed files with 12 additions and 1 deletions

View File

@ -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
*

View File

@ -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
*

View File

@ -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");