{% set hideStandard = setting_value('visiosoft.module.advs::hide_listing_standard_price') %} {% set listLocation = setting_value('visiosoft.module.location::list_page_location') %} {% set showDate = setting_value('visiosoft.theme.base::date_fields') %}
{{ trans('visiosoft.module.advs::field.ad_title') }} | {% for cF in listingCFs %} {% set isSortable = cF.isSortable %}{{ cF.name }} {% if isSortable %} {% endif %} | {% endfor %} {% if listLocation %}{% set firstLocationType = setting_value('visiosoft.module.advs::location_data_type_first') %} {% set secondLocationType = setting_value('visiosoft.module.advs::location_data_type_second') %} {{ trans('visiosoft.module.advs::field.'~firstLocationType~'.name') }} / {{ trans('visiosoft.module.advs::field.'~secondLocationType~'.name') }} | {% endif %} {% if setting_value('visiosoft.module.advs::market_place') and showDate %}{{ trans('visiosoft.module.advs::field.date.name') }} | {% endif %}{{ trans('visiosoft.module.advs::field.price.name') }} | |
---|---|---|---|---|---|
|
{{ adv.name }}{% if not setting_value('visiosoft.module.advs::hide_ad_cat') %}{{ adv.cat1_name }} /{{ adv.cat2_name }} {% endif %} |
{% for listingCF in listingCFs %}
{% set feature = adv.features[listingCF.slug.value] %}
{{ feature ? feature.custom_field_value : '-' }} | {% endfor %} {% if listLocation %}
{% set firstLocationType = setting_value('visiosoft.module.advs::location_data_type_first') %}
{% set secondLocationType = setting_value('visiosoft.module.advs::location_data_type_second') %}
{{ getListingLocation(firstLocationType,adv) }} {{ getListingLocation(secondLocationType,adv) }} |
{% endif %}
{% if setting_value('visiosoft.module.advs::market_place') and showDate %}
{{ adv.publish_at.value|date('d/m') }} {{ adv.publish_at.value|date('Y') }} |
{% endif %}
{% if not hideStandard %}
{{ adv.price != '0' ? currency_format(adv.price,adv.currency) : setting_value("visiosoft.module.advs::hide_zero_price") ? '-' : trans('visiosoft.module.advs::field.free') }} |