Browse Source

Correctif variable cycleType non définie

develop
Guillaume Bourgeois 1 year ago
parent
commit
0026efb0bd
1 changed files with 6 additions and 4 deletions
  1. +6
    -4
      Resources/views/admin/order/field/distribution.html.twig

+ 6
- 4
Resources/views/admin/order/field/distribution.html.twig View File

@@ -10,8 +10,10 @@
{% endif %}
{% endif %}

{% if cycleType == "year" %}
A{{ distribution.cycleNumber }}
{% else %}
{{ labelCycleType ~ distribution.cycleNumber }}A{{ distribution.year|slice(2,2) }}
{% if cycleType is defined %}
{% if cycleType == "year" %}
A{{ distribution.cycleNumber }}
{% else %}
{{ labelCycleType ~ distribution.cycleNumber }}A{{ distribution.year|slice(2,2) }}
{% endif %}
{% endif %}

Loading…
Cancel
Save