{% extends "::baseAjax.html.twig" %} {% block ajax_body %} {% set locale = app.request.locale %} {% if update_subcategory_tab_content is defined and update_subcategory_tab_content == 1 and subcategories is defined and subcategories is not empty %}
{% endif %}
{% if (flyerConfigurationField.status == 1 and flyerConfigurationField.flyer_title == 1 ) %} {% endif %} {% if (flyerConfigurationField.status == 1 and flyerConfigurationField.valid_until_date == 1 ) %} {% endif %} {% if (flyerConfigurationField.status == 1 and flyerConfigurationField.activate_it == 1 ) %} {% endif %} {# #} {% if (flyerConfigurationField.status == 1 and flyerConfigurationField.action == 1 ) %} {% endif %} {# {% set i=1 %} #} {# {% IF PAGE > 2 %} #} {# {% SET I = ((PAGE-1)*RECORDS_PER_PAGE)+1 %} #} {# {% ELSEIF PAGE > 1 %} #} {# {% SET I =((PAGE)+RECORDS_PER_PAGE)-1 %} #} {# {% ENDIF %}#} {% if (recordSet) is defined and recordSet|length >0 %} {% set currentdate = 'now'|date('Y-m-d') %} {% for key,index in recordSet %} {# #} {% if (flyerConfigurationField.status == 1 and flyerConfigurationField.flyer_title == 1 ) %} {% endif %} {% if (flyerConfigurationField.status == 1 and flyerConfigurationField.valid_until_date == 1 ) %} {% endif %} {% if (flyerConfigurationField.status == 1 and flyerConfigurationField.activate_it ==1 ) %} {% endif %} {# {% if index.validUntilDate is defined and index.validUntilDate|date('Y-m-d') >= currentdate %} {% else %} {% endif %} #} {% if (flyerConfigurationField.status == 1 and flyerConfigurationField.action == 1) %} {% endif %} {% endfor %} {% else %} {% endif %} {# #} {# #} {# #} {# #} {# #} {# #}
{{ 'bannertype.banner.list.sr_no'|trans }}{{ 'admin.flyer_management.title.label'|trans }}{{ 'admin.flyer_management.validUntilDate.label'|trans }}{{ 'admin.flyer_management.status.label'|trans }}{{ 'admin.flyer_management.status.label'|trans }}{{ 'admin.flyer_management.flyers_position.label'|trans }}{{ 'admin.flyer_management.action.label'|trans }}
{{ loop.index }} {{index.title}}{{index.validUntilDate| dateFormat}} {#
#} {% if index.publishedFlag==1 %} {{ 'admin.flyer_management.active'|trans }} {% endif %} {% if index.publishedFlag==0 %} {{ 'admin.flyer_management.in_active'|trans }} {% endif %}
{% set lock='icon-lock' %}
{{'bannertype.banner.list.no_records'|trans }}
{{ office_brain_pagination_render('1', 'search_flyer', recordSet) }}{#{ knp_pagination_render(pagination, 'OfficeBrainPageBundle:AdminUIElements:admin_table_pagination_ajax.html.twig') } {{ "email.template.list.records" | trans }}:({{ recordSet.getTotalItemCount }})
{% if (recordSet) is defined and recordSet|length >0 %}
{% endif %}
{% if update_subcategory_tab_content is defined and update_subcategory_tab_content == 1 %}
{% endif %} {% endblock ajax_body %}