Skip to content
Snippets Groups Projects
Commit 00bb4fef authored by cortylal's avatar cortylal
Browse files

stats

parent 8674f11d
No related branches found
No related tags found
No related merge requests found
...@@ -24,15 +24,15 @@ ...@@ -24,15 +24,15 @@
</thead> </thead>
<thead> <thead>
<th>Nombre moyen d'animal par client : </th> <th>Nombre moyen d'animal par client : </th>
<th><?php $tmp = $stats->nbAnimalMoyClient(); $nb_formated = number_format($tmp["value"], 2, ',', 'euro '); echo $nb_formated; ?></th> <th><?php $tmp = $stats->nbAnimalMoyClient(); $nb_formated = number_format($tmp["value"], 2, ',', ' '); echo $nb_formated; ?> &euro;</th>
</thead> </thead>
<thead> <thead>
<th>Facture moyenne : </th> <th>Facture moyenne : </th>
<th><?php $tmp = $stats->factureMoy(); $nb_formated = number_format($tmp["value"], 2, ',', 'euro '); echo $nb_formated; ?></th> <th><?php $tmp = $stats->factureMoy(); $nb_formated = number_format($tmp["value"], 2, ',', ' '); echo $nb_formated; ?></th>
</thead> </thead>
<thead> <thead>
<th>Total du chiffre d'affaire : </th> <th>Total du chiffre d'affaire : </th>
<th><?php $tmp = $stats->totalCA(); $nb_formated = number_format($tmp["ca"], 2, ',', 'euro '); echo $nb_formated; ?></th> <th><?php $tmp = $stats->totalCA(); $nb_formated = number_format($tmp["ca"], 2, ',', ' '); echo $nb_formated; ?></th>
</thead> </thead>
</table> </table>
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<tr> <tr>
<td><?php echo $ligne["nom"]; ?> </td> <td><?php echo $ligne["nom"]; ?> </td>
<td><?php echo $ligne["prenom"]; ?> </td> <td><?php echo $ligne["prenom"]; ?> </td>
<td><?php echo number_format($ligne["prix"], 2, ',', 'euro '); ?> </td> <td><?php echo number_format($ligne["prix"], 2, ',', ' '); ?> </td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>
</tbody> </tbody>
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
<tr> <tr>
<td><?php echo $ligne["nom"]; ?> </td> <td><?php echo $ligne["nom"]; ?> </td>
<td><?php echo $ligne["prenom"]; ?> </td> <td><?php echo $ligne["prenom"]; ?> </td>
<td><?php echo number_format($ligne["prix_total"], 2, ',', 'euro '); ?> </td> <td><?php echo number_format($ligne["prix_total"], 2, ',', ' '); ?> </td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>
</tbody> </tbody>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment