{% extends '::adminBaseAjax.html.twig' %} {% block ajax_body %} {% if (items|length>0) %} {% set i = 1 %} {% for index in items %} {% if branchConfigrationField.company_name.status == 1 %}
 
{% if index.companyName|length > 80 %} {% autoescape false %} {{ index.companyName|trim|slice(0, 80) }} {% endautoescape %}... {% else %} {{ index.companyName|trim }} {% endif %} {% endif %} {% if branchConfigrationField.company_number.status == 1 %}{% if index.companyNumber != '' %}{{ index.companyNumber }}{% endif %}{% endif %} {% if false and branchConfigrationField.company_asi_number.status == 1 %}{% if index.companyAsiNumber != '' %}{{ index.companyAsiNumber }}{% endif %}{% endif %} {% if branchConfigrationField.email.status == 1 %}{% if index.email != '' %}{{ index.email }}{% endif %}{% endif %} {% if branchConfigrationField.company_logo.status == 1 %} {% if index.companyLogo is defined and index.companyLogo!='' and file_exists(location ~ index.companyLogo) %} {% else %} {% endif %} {% endif %} {#% if false and branchConfigrationField.street1.status == 1 %}{% if index.street1 != '' %}{{ index.street1 }}{% endif %}{% endif %#} {#% if false and branchConfigrationField.street2.status == 1 %}{% if index.street2 != '' %}{{ index.street2 }}{% endif %}{% endif %#} {% if branchConfigrationField.country.status == 1 %}{% if index.countryId is defined and index.countryId != '' and index.countryId != 0 %}{{ index.countryId | country }}{% endif %}{% endif %} {% if branchConfigrationField.state.status == 1 %}{% if index.stateId is defined and index.stateId != '' and index.stateId != 0 %}{{ index.stateId | state }}{% endif %}{% endif %} {% if branchConfigrationField.city.status == 1 %}{% if index.cityId is defined and index.cityId != '' and index.cityId != 0 %}{{ index.cityId | city }}{% endif %}{% endif %} {% if branchConfigrationField.zipcode.status == 1 %}{% if index.zipcode != '' %}{{ index.zipcode }}{% endif %}{% endif %} {#% if false and branchConfigrationField.extension.status == 1 %}{% if index.extension != '' %}{{ index.extension }}{% endif %}{% endif %#} {#% if false and branchConfigrationField.phone.status == 1 %}{% if index.phone != '' %}{{ index.phone }}{% endif %}{% endif %#} {#% if false and branchConfigrationField.mobile.status == 1 %}{% if index.mobile != '' %}{{ index.mobile }}{% endif %}{% endif %#} {#% if false and branchConfigrationField.fax.status == 1 %}{% if index.fax != '' %}{{ index.fax }}{% endif %}{% endif %#} {% if branchConfigrationField.website.status == 1 %}{% if index.website != '' %}{{ index.website }}{% endif %}{% endif %} {% if index.status is defined and index.status == 1 %} {% else %} {% endif %} {% if branchAccessField.option.button_view_branch.option.button_edit_branch.status == 1 or branchAccessField.option.button_view_branch.option.button_deactivate_branch.status==1 or branchAccessField.option.button_view_branch.option.button_employee.status==1 %} {% if branchAccessField.option.button_view_branch.option.button_edit_branch.status == 1 %} {% endif %} {% endif %} {% set i = i+1 %} {% endfor %} {% else %} {{ 'admin.company.no_record.label'|trans }} {% endif %} {% endblock ajax_body %}