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

{{ adv.standard_price.currency() }}

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

{% endif %}

{{ adv.price.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 }}
{{ trans('visiosoft.module.advs::field.ad_id') }}:{{ adv.id }}
{{ adv.created_at|date('d/m/Y') }}
{{ 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 %}