Explorar el Código

Correctif variable cycleType non définie

develop
Guillaume Bourgeois hace 1 año
padre
commit
0026efb0bd
Se han modificado 1 ficheros con 6 adiciones y 4 borrados
  1. +6
    -4
      Resources/views/admin/order/field/distribution.html.twig

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

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

Cargando…
Cancelar
Guardar