|
|
@ -639,18 +639,28 @@ $linkUrl = !$hasSupplier ? generateUrl() : (!$hasEvent ? generateUrl($supplier) |
|
|
|
</div> |
|
|
|
<?php endif; ?>
|
|
|
|
<div class="col-12"> |
|
|
|
<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 class="accordion accordion-flush"> |
|
|
|
<div class="accordion-item"> |
|
|
|
<h2 class="accordion-header"> |
|
|
|
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#accordion1" aria-expanded="false"> |
|
|
|
Commandes |
|
|
|
<span class="badge bg-primary rounded-pill ms-1"><?php echo count($items); ?></span>
|
|
|
|
</button> |
|
|
|
</h2> |
|
|
|
<div id="accordion1" class="accordion-collapse collapse"> |
|
|
|
<div class="accordion-body"> |
|
|
|
<ul class="list-group"> |
|
|
|
<?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> |
|
|
|
</section> |
|
|
|