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

stats

parent 7a5ffa5f
No related merge requests found
......@@ -24,15 +24,15 @@
</thead>
<thead>
<th>Nombre moyen d'animal par client : </th>
<th><?php $tmp = $stats->nbAnimalMoyClient(); $nb_formated = number_format($tmp["value"], 2, '', ' '); echo $nb_formated; ?></th>
<th><?php $tmp = $stats->nbAnimalMoyClient(); $nb_formated = number_format($tmp["value"], 2, '&euro;', ' '); echo $nb_formated; ?></th>
</thead>
<thead>
<th>Facture moyenne : </th>
<th><?php $tmp = $stats->factureMoy(); $nb_formated = number_format($tmp["value"], 2, '', ' '); echo $nb_formated; ?></th>
<th><?php $tmp = $stats->factureMoy(); $nb_formated = number_format($tmp["value"], 2, '&euro;', ' '); echo $nb_formated; ?></th>
</thead>
<thead>
<th>Total du chiffre d'affaire : </th>
<th><?php $tmp = $stats->totalCA(); $nb_formated = number_format($tmp["ca"], 2, '', ' '); echo $nb_formated; ?></th>
<th><?php $tmp = $stats->totalCA(); $nb_formated = number_format($tmp["ca"], 2, '&euro;', ' '); echo $nb_formated; ?></th>
</thead>
</table>
......@@ -50,7 +50,7 @@
<tr>
<td><?php echo $ligne["nom"]; ?> </td>
<td><?php echo $ligne["prenom"]; ?> </td>
<td><?php echo number_format($ligne["prix"], 2, '', ' '); ?> </td>
<td><?php echo number_format($ligne["prix"], 2, '&euro;', ' '); ?> </td>
</tr>
<?php endforeach; ?>
</tbody>
......@@ -70,7 +70,7 @@
<tr>
<td><?php echo $ligne["nom"]; ?> </td>
<td><?php echo $ligne["prenom"]; ?> </td>
<td><?php echo number_format($ligne["prix_total"], 2, '', ' '); ?> </td>
<td><?php echo number_format($ligne["prix_total"], 2, '&euro;', ' '); ?> </td>
</tr>
<?php endforeach; ?>
</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