Ajout onglet relevé
This commit is contained in:
parent
bfc923b0c7
commit
0079fff1d5
@ -135,6 +135,10 @@ else
|
|||||||
$head[$h][1] = "Graph";
|
$head[$h][1] = "Graph";
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
|
$head[$h][0] = DOL_URL_ROOT.'/energie/releve.php?id='.$compteur->id;
|
||||||
|
$head[$h][1] = "Relevés";
|
||||||
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id;
|
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id;
|
||||||
$head[$h][1] = "Groupe";
|
$head[$h][1] = "Groupe";
|
||||||
$h++;
|
$h++;
|
||||||
|
|||||||
@ -81,7 +81,16 @@ else
|
|||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_graph.php?id='.$compteur->id;
|
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_graph.php?id='.$compteur->id;
|
||||||
$head[$h][1] = "Graph";
|
$head[$h][1] = "Graph";
|
||||||
$a = 1;
|
$a = $h;
|
||||||
|
$h++;
|
||||||
|
|
||||||
|
$head[$h][0] = DOL_URL_ROOT.'/energie/releve.php?id='.$compteur->id;
|
||||||
|
$head[$h][1] = "Relevés";
|
||||||
|
$h++;
|
||||||
|
|
||||||
|
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id;
|
||||||
|
$head[$h][1] = "Groupe";
|
||||||
|
$h++;
|
||||||
|
|
||||||
dolibarr_fiche_head($head, $a, $soc->nom);
|
dolibarr_fiche_head($head, $a, $soc->nom);
|
||||||
|
|
||||||
@ -97,10 +106,12 @@ else
|
|||||||
|
|
||||||
print '<table class="noborder" width="100%">';
|
print '<table class="noborder" width="100%">';
|
||||||
|
|
||||||
print '<tr><td align="center">';
|
print '<tr><td align="center" colspan="2">';
|
||||||
$file = "day.".$compteur->id.".png";
|
$file = "day.".$compteur->id.".png";
|
||||||
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">';
|
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">';
|
||||||
print '</td><td align="center">';
|
print '</td></tr>';
|
||||||
|
|
||||||
|
print '<tr><td align="center" colspan="2">';
|
||||||
$file = "week.".$compteur->id.".png";
|
$file = "week.".$compteur->id.".png";
|
||||||
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">';
|
print '<img src="'.DOL_URL_ROOT.'/viewimage.php?modulepart=energie&file='.$file.'" alt="" title="">';
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|||||||
@ -61,11 +61,14 @@ if ($_GET["id"] > 0)
|
|||||||
$head[$h][1] = "Graph";
|
$head[$h][1] = "Graph";
|
||||||
$h++;
|
$h++;
|
||||||
|
|
||||||
|
$head[$h][0] = DOL_URL_ROOT.'/energie/releve.php?id='.$compteur->id;
|
||||||
|
$head[$h][1] = "Relevés";
|
||||||
|
$h++;
|
||||||
|
|
||||||
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id;
|
$head[$h][0] = DOL_URL_ROOT.'/energie/compteur_groupe.php?id='.$compteur->id;
|
||||||
$head[$h][1] = "Groupe";
|
$head[$h][1] = "Groupe";
|
||||||
|
$a = $h;
|
||||||
$h++;
|
$h++;
|
||||||
$a = 2;
|
|
||||||
|
|
||||||
|
|
||||||
dolibarr_fiche_head($head, $a, $soc->nom);
|
dolibarr_fiche_head($head, $a, $soc->nom);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user