You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 satır
443B

  1. {% set distribution = field.value %}
  2. {% if distribution %}
  3. {% set cycleType = distribution.cycleType %}
  4. {% if cycleType == "day" %}
  5. {% set labelCycleType = "J" %}
  6. {% elseif cycleType == "week" %}
  7. {% set labelCycleType = "S" %}
  8. {% elseif cycleType == "month" %}
  9. {% set labelCycleType = "M" %}
  10. {% endif %}
  11. {% endif %}
  12. {{ labelCycleType ~ distribution.cycleNumber }}A{{ distribution.year|slice(2,2) }}