38 |
$socidp = $user->societe_id; |
$socidp = $user->societe_id; |
39 |
} |
} |
40 |
|
|
41 |
$year = defined($_GET["year"])?$_GET["year"]:strftime("%Y", time()); |
$year = ($_GET["year"]>0)?$_GET["year"]:strftime("%Y", time()); |
42 |
|
|
43 |
$h = 0; |
$h = 0; |
44 |
$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/factures/index.php'; |
$head[$h][0] = DOL_URL_ROOT.'/telephonie/stats/factures/index.php'; |
54 |
$head[$h][1] = "Méthode de paiement"; |
$head[$h][1] = "Méthode de paiement"; |
55 |
$h++; |
$h++; |
56 |
|
|
57 |
dolibarr_fiche_head($head, $hselected, "Satistiques Factures"); |
dolibarr_fiche_head($head, $hselected, "Satistiques Factures $year"); |
58 |
print '<div class="onglet_inf">'; |
print '<div class="onglet_inf">'; |
59 |
print '<a class="onglet_inf" href="marge.php?year=2004">2004</a>'; |
print '<a class="onglet_inf" href="marge.php?year=2004">2004</a>'; |
60 |
print '<a class="onglet_inf" href="marge.php?year=2005">2005</a>'; |
print '<a class="onglet_inf" href="marge.php?year=2005">2005</a>'; |