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.

15 lines
430B

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