Pārlūkot izejas kodu

Correctif variable cycleType non définie

develop
Guillaume Bourgeois pirms 1 gada
vecāks
revīzija
0026efb0bd
1 mainītis faili ar 6 papildinājumiem un 4 dzēšanām
  1. +6
    -4
      Resources/views/admin/order/field/distribution.html.twig

+ 6
- 4
Resources/views/admin/order/field/distribution.html.twig Parādīt failu

@@ -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 %}

Notiek ielāde…
Atcelt
Saglabāt