您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

order_payment.html.twig 399B

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