瀏覽代碼

Correctif variable cycleType non définie

develop
Guillaume Bourgeois 1 年之前
父節點
當前提交
0026efb0bd
共有 1 個檔案被更改,包括 6 行新增4 行删除
  1. +6
    -4
      Resources/views/admin/order/field/distribution.html.twig

+ 6
- 4
Resources/views/admin/order/field/distribution.html.twig 查看文件

@@ -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…
取消
儲存