a
This commit is contained in:
parent
17fdb6c841
commit
51bb6bdd96
|
|
@ -4,6 +4,7 @@
|
||||||
$plafondGlobalFamille = $limite_adherent['plafond'];
|
$plafondGlobalFamille = $limite_adherent['plafond'];
|
||||||
$consommationGlobaleFamille = $limite_adherent['consommation'];
|
$consommationGlobaleFamille = $limite_adherent['consommation'];
|
||||||
$niveauGlobalConsoFamille = ($consommationGlobaleFamille*100)/$plafondGlobalFamille;
|
$niveauGlobalConsoFamille = ($consommationGlobaleFamille*100)/$plafondGlobalFamille;
|
||||||
|
*/
|
||||||
$plafondGlobalFamilleOut = $limite_adherent['plafondOut'];
|
$plafondGlobalFamilleOut = $limite_adherent['plafondOut'];
|
||||||
$consommationGlobaleFamilleOut = $limite_adherent['consommationOut'];
|
$consommationGlobaleFamilleOut = $limite_adherent['consommationOut'];
|
||||||
$niveauGlobalConsoFamilleOut = ($consommationGlobaleFamilleOut*100)/$plafondGlobalFamilleOut;
|
$niveauGlobalConsoFamilleOut = ($consommationGlobaleFamilleOut*100)/$plafondGlobalFamilleOut;
|
||||||
|
|
@ -11,7 +12,6 @@
|
||||||
$plafondGlobalFamilleInp = $limite_adherent['plafondInp'];
|
$plafondGlobalFamilleInp = $limite_adherent['plafondInp'];
|
||||||
$consommationGlobaleFamilleInp = $limite_adherent['consommationInp'];
|
$consommationGlobaleFamilleInp = $limite_adherent['consommationInp'];
|
||||||
$niveauGlobalConsoFamilleInp = ($consommationGlobaleFamilleInp*100)/$plafondGlobalFamilleInp;
|
$niveauGlobalConsoFamilleInp = ($consommationGlobaleFamilleInp*100)/$plafondGlobalFamilleInp;
|
||||||
*/
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
@ -145,7 +145,14 @@
|
||||||
$pourcentageOut = round((100*$limite_adherent['consommationOut'])/$limite_adherent['plafondOut']);
|
$pourcentageOut = round((100*$limite_adherent['consommationOut'])/$limite_adherent['plafondOut']);
|
||||||
$pourcentageInp = round((100*$limite_adherent['consommationInp'])/$limite_adherent['plafondInp']);
|
$pourcentageInp = round((100*$limite_adherent['consommationInp'])/$limite_adherent['plafondInp']);
|
||||||
|
|
||||||
// var_dump($garantieadherents);
|
var_dump
|
||||||
|
(
|
||||||
|
array(
|
||||||
|
"pourcentageOut" => $pourcentageOut,
|
||||||
|
"pourcentageInp" => $pourcentageInp,
|
||||||
|
)
|
||||||
|
);
|
||||||
|
exit();
|
||||||
?>
|
?>
|
||||||
<input type="text" id="nomForm" name="nomForm" class="sr-only" value="frmaccueil">
|
<input type="text" id="nomForm" name="nomForm" class="sr-only" value="frmaccueil">
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user