|
|
'.$periode['libelle'].' |
'.$periode['date_debut'].' |
'.$periode['date_fin'].' |
'.$periode['total']['prix_hp']. config::byKey('Devise', 'conso') .' |
'.(stripos($equipement->getConfiguration('type'), 'elect') !== false ? $periode['total']['prix_hc']. config::byKey('Devise', 'conso') : '') .' |
'.$periode['graph'].' |
';
$txt .= ($equipement =='' ? ' ERREUR ' : ((int)$periode['type']==0 ? (stripos($equipement->getConfiguration('type'), 'elect') !== false ? 'Watt' : 'M3'): 'Prix'));
// $txt .= ((int)$periode['type']==0 ? ($equipement->getConfiguration('type')=='electricity' ? 'Watt' : 'M3'): 'Prix');
$txt .= ' |
'.$periode['type_graphHP'].' |
'.$periode['type_graphHC'].' |
';
if($periode['view_tab']>0) $txt .= ' Oui '; else $txt .= 'Non ';
$txt .= ' |
';
if($periode['view_graph']>0) $txt .= ' Oui '; else $txt .= 'Non ';
$txt .= ' |
';
if($periode['year_old']>0) $txt .=' Oui '; else $txt .= 'Non ';
$txt .= '
|
'.($equipement =='' ? ' ERREUR ' : $equipement->getHumanName(true)).' |
';
if($equipement !='')
$txt .= ($periode['type_ecq']=='' ? ' ERREUR ' : ($equipement->getConfiguration('type')=='electricity' ? 'Elec': ($equipement->getConfiguration('type')=='electprod'? 'Elect. Prod' : ($equipement->getConfiguration('type')=='gaz' ? 'Gaz' : ($equipement->getConfiguration('type')=='oil' ? 'Fioul' : 'Eau')))));
$txt .= ' |
|
';
}
$txt .= '