Browse Source

améliore la présentation des totaux

master
vince vince 3 years ago
parent
commit
4dfeb4e67f
1 changed files with 13 additions and 7 deletions
  1. +13
    -7
      index.php

+ 13
- 7
index.php View File

@ -453,14 +453,20 @@ if (!$isConfig and $hasSupplier) {
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>
</tbody> </tbody>
<caption>
Commandes&nbsp;<span class="badge bg-primary rounded-pill"><?php echo count($items); ?></span>
<?php foreach ($stats as $choice => $count) : ?>
/
<?php echo $choice; ?>&nbsp;<span class="badge bg-secondary rounded-pill"><?php echo $count; ?></span>
<?php endforeach; ?>
</caption>
</table> </table>
<ul class="list-group">
<li class="list-group-item d-flex justify-content-between align-items-center">
Commandes
<span class="badge bg-primary rounded-pill"><?php echo count($items); ?></span>
</li>
<?php foreach ($stats as $choice => $count) : ?>
<li class="list-group-item d-flex justify-content-between align-items-center">
<?php echo $choice; ?>
<span class="badge bg-secondary rounded-pill"><?php echo $count; ?></span>
</li>
<?php endforeach; ?>
</ul>
</div> </div>
</div> </div>
</div> </div>


Loading…
Cancel
Save