templates/uniqskills/catalogue/landing_price.html.twig line 1

Open in your IDE?
  1. {% if landingPriceNet != 0 %}
  2.     {% if
  3.         country is not empty
  4.         and country.countrySettings is not empty
  5.         and country.countrySettings.signBeforePrice is not empty
  6.     %}
  7.         {{ country.countrySettings.signBeforePrice }}
  8.     {% endif %}
  9.     {% if (rate is defined and rate == 'netto') %}
  10.         {{ (landingPriceNet)}}
  11.     {% else %}
  12.         {{ landingPriceGross }}
  13.     {% endif %}
  14.     {% if
  15.         country is not empty
  16.         and country.countrySettings is not empty
  17.         and country.countrySettings.signAfterPrice is not empty
  18.     %}
  19.         {{ country.countrySettings.signAfterPrice }}
  20.     {% endif %}
  21.     {% if
  22.         country is not empty
  23.         and (country.countrySettings is empty
  24.         or (
  25.             country.countrySettings.signAfterPrice is empty
  26.             and country.countrySettings.signBeforePrice is empty
  27.         ))
  28.     %}
  29.         {{ country.currency.code }}
  30.     {% endif %}
  31.     {% if rate is defined and showRate is defined and showRate == true %}
  32.         {% if rate == 'netto' %}
  33.             {{ 'global.net'|trans }}
  34.         {% else %}
  35.             {{ 'global.gross'|trans }}
  36.         {% endif %}
  37.     {% endif %}
  38. {% else %}
  39.     {{ 'uniqskills.landing.freeAccess'|trans }}
  40. {% endif %}