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 c4a94399b..6cbc99d3c 100644 --- a/addons/default/visiosoft/advs-module/resources/views/list/table.twig +++ b/addons/default/visiosoft/advs-module/resources/views/list/table.twig @@ -9,8 +9,10 @@ class="text-center align-middle">{{ trans('visiosoft.module.advs::field.advs_list_table_thead.name') }} {{ trans('visiosoft.module.advs::field.advs_list_table_thead.price') }} - {{ trans('visiosoft.module.advs::field.advs_list_table_thead.publish_at') }} + {% if not setting_value('visiosoft.module.advs::ads_date_hidden') %} + {{ trans('visiosoft.module.advs::field.advs_list_table_thead.publish_at') }} + {% endif %} {% if setting_value('visiosoft.module.location::list_page_location') %} {{ trans('visiosoft.module.advs::field.advs_list_table_thead.location_city') }} @@ -38,9 +40,11 @@ {{ currency_format(adv.price,adv.currency) }} - - {{ adv.created_at|date("d/m/Y") }} - + {% if not setting_value('visiosoft.module.advs::ads_date_hidden') %} + + {{ adv.created_at|date("d/m/Y") }} + + {% endif %} {% if setting_value('visiosoft.module.location::list_page_location') %} {{ adv.city_name }} / {{ adv.country_name }}