diff --git a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig index 3b2c68aad..4348ceced 100644 --- a/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig +++ b/addons/default/visiosoft/advs-module/resources/views/ad-detail/partials/detail.twig @@ -4,7 +4,7 @@ {% if standardPrice and standardPrice > 0 %}

- {{ adv.standard_price.currency() }} + {{ currency_format(adv.standard_price,adv.currency) }}

%{{ (100 - ((100 * adv.price.value) / adv.standard_price.value))|round(0, 'common') }} @@ -12,7 +12,7 @@

{% endif %}

- {{ adv.price.currency() }} + {{ currency_format(adv.price,adv.currency) }} {{ addBlock('ad-detail/priceField',{'adv':adv})|raw }} diff --git a/addons/default/visiosoft/advs-module/resources/views/list/gallery.twig b/addons/default/visiosoft/advs-module/resources/views/list/gallery.twig index 3ec082fff..034e747db 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/gallery.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/gallery.twig @@ -18,7 +18,7 @@ {% if setting_value('visiosoft.theme.base::price_fields') %}
{{ adv.price != '0' - ? adv.price.currency() + ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }}
{% endif %} diff --git a/addons/default/visiosoft/advs-module/resources/views/list/partials/ads.twig b/addons/default/visiosoft/advs-module/resources/views/list/partials/ads.twig index 4c2b43593..20c4cbe0f 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/partials/ads.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/partials/ads.twig @@ -24,12 +24,12 @@ {% if not setting_value('visiosoft.module.advs::hide_listing_standard_price') %}

{{ adv.standard_price != adv.price and adv.standard_price != '0' - ? adv.standard_price.currency() + ? currency_format(adv.standard_price,adv.currency) : '' }}

{% endif %} {{ adv.price != '0' - ? adv.price.currency() + ? currency_format(adv.price,adv.currency) : trans('visiosoft.module.advs::field.free') }} {% if setting_value('visiosoft.module.location::list_page_location') %} diff --git a/addons/default/visiosoft/advs-module/resources/views/list/table.twig b/addons/default/visiosoft/advs-module/resources/views/list/table.twig index 2bed1d953..be5e4b1a9 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/table.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/table.twig @@ -36,7 +36,7 @@ - {{ adv.price.currency() }} + {{ currency_format(adv.price,adv.currency) }} {{ adv.created_at|date("d/m/Y") }}