<!-- vue : statistique/visite-labo --> <div class="row"> <div class="col-xs-12"> <div class="panel panel-default"> <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-list-alt fa-fw"></i> Pourcentage des visites par labo</h3></div> <div class="panel-body"> <!-- On affiche le total des médicaments en allant chercher cette donnée dans $ui t dans le contrôleur statistique.php --> <?php OutilsForm::success("Total des visiteurs : " . $lesVisiteurs["total"]); ?> <div class="dataTable_wrapper"> <table class="table table-hover" id="DataTableStatistique"> <thead> <tr> <th>Nom du labo</th> <th>Total</th> <th>Pourcentage</th> </tr> </thead> <tbody> <?php foreach ($lesVisiteurs["stat"] as $unVisiteur) { ?> <tr> <td><?php echo $unVisiteur["LAB_NOM"] . " (" . $unVisiteur["LAB_CODE"] . ")"; ?> </td> <td><?php echo $unVisiteur["nb"]; ?>
<!-- vue : statistique/famille-médicament --> <?php //print_r($familleMedicament); ?> <div class="row"> <div class="col-xs-12"> <div class="panel panel-default"> <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-list-alt fa-fw"></i> Pourcentage des médicaments par famille</h3></div> <div class="panel-body"> <!-- On affiche le total des médicaments en allant chercher cette donnée dans $ui t dans le contrôleur statistique.php --> <?php OutilsForm::success("Total des médicament : " . $familleMedicament["total"]); ?> <div class="dataTable_wrapper"> <table class="table table-hover" id="DataTableStatistique"> <thead> <tr> <th>Nom de la famille</th> <th>Total</th> <th>Pourcentage</th> </tr> </thead> <tbody> <?php foreach ($familleMedicament["stat"] as $uneFamille) { ?> <tr> <td><?php echo $uneFamille["FAM_LIBELLE"] . " (" . $uneFamille["FAM_CODE"] . ")"; ?> </td>
<!-- vue : statistique/type-praticiens --> <div class="row"> <div class="col-xs-12"> <div class="panel panel-default"> <div class="panel-heading"><h3 class="panel-title"><i class="fa fa-list-alt fa-fw"></i> Pourcentage des praticiens par type</h3></div> <div class="panel-body"> <!-- On affiche le total des médicaments en allant chercher cette donnée dans $ui t dans le contrôleur statistique.php --> <?php OutilsForm::success("Total des praticiens : " . $lesPraticiens["total"]); ?> <div class="dataTable_wrapper"> <table class="table table-hover" id="DataTableStatistique"> <thead> <tr> <th>Nom du type</th> <th>Total</th> <th>Pourcentage</th> </tr> </thead> <tbody> <?php foreach ($lesPraticiens["stat"] as $unType) { ?> <tr> <td><?php echo $unType["TYP_LIBELLE"] . " (" . $unType["TYP_CODE"] . ")"; ?> </td> <td><?php echo $unType["nb"]; ?>