|
123456789101112 |
- {% set order_store = order_shop_container.store.setSection(section_current()).setMerchant(merchant_current()) %}
- {% set totalOrder = order_store.countValidByUserAllMerchant(entity.instance) %}
- {% if totalOrder > 0 %}
- <span class="badge badge-success">
- {{ totalOrder }} commandes
- </span>
- {% else %}
- <span class="badge badge-secondary">
- 0 commandes
- </span>
- {% endif %}
-
|