Ver código fonte

Correctif variable cycleType non définie

develop
Guillaume Bourgeois 1 ano atrás
pai
commit
0026efb0bd
1 arquivos alterados com 6 adições e 4 exclusões
  1. +6
    -4
      Resources/views/admin/order/field/distribution.html.twig

+ 6
- 4
Resources/views/admin/order/field/distribution.html.twig Ver arquivo

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

Carregando…
Cancelar
Salvar