{% set standardPrice = adv.standard_price.value %} {% if standardPrice and standardPrice > 0 %}

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

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

{% endif %}

{{ currency_format(adv.price,adv.currency) }} {{ addBlock('ad-detail/priceField',{'adv':adv})|raw }}

{{ addBlock('ad-detail/author',{'adv':adv})|raw }} {{ trans('visiosoft.module.advs::field.offered_by') }}: {{ adv.first_name }} {{ adv.last_name }} {{ addBlock('ad-detail/seller/action',{'seller_id':adv.owner_id})|raw }}
{% if setting_value('visiosoft.module.advs::market_place') %}
{{ trans('visiosoft.module.advs::field.ad_id') }}:{{ adv.id }}
{{ adv.created_at|date('d/m/Y') }}
{% endif %} {{ addBlock('ad-detail/details',{'adv':adv, 'options':options, 'configurations':configurations})|raw }} {{ addBlock('ad-detail/widget-details',{'adv':adv})|raw }} {% if adv.isCorporate == 2 %} {% endif %}
{% set contactWith = addBlock('ad-detail/contact-with',{'adv':adv}) %} {% if contactWith != "" %}

{{ trans('visiosoft.module.advs::field.contact_with') }}:

{{ contactWith|raw }}
{% endif %}