You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

order_payment.html.twig 456B

123456789101112131415
  1. {% set value = field.value %}
  2. {% set item = entity.instance %}
  3. {% for val in value %}
  4. {% if val.meanPayment %}
  5. <span class="badge badge-success">
  6. {{ val.meanPayment|sov_trans_admin_choice('meanPayment', 'OrderPayment') }}
  7. </span>
  8. {% endif %}
  9. {% endfor %}
  10. {% set is_paid = order_shop_container.resolver.isPaid(item) %}
  11. {% if not is_paid %}
  12. <br />
  13. <span class="badge badge-danger">Non soldée</span>
  14. {% endif %}