{# Partial block debug - rendered alone on the research results #} {% block object_debug %}
{{ object.debug_content|raw }}
{% endblock object_debug %} {# END Partial block - rendered alone on the research results #}
{% if object.records_count > 0 %}
{{ object.select_number_per_page|raw }}

{% endif %}
{% if object.can_create == true %} {{ constant('ADD_NEW') }} {% endif %} {% if object.records_count > 0 %} {{ object.export_data_button|raw }} {% endif %}
{% set search_value = '' %} {% if attribute(session.rp_search_string, object.table) is defined %} {% set search_value = attribute(session.rp_search_string, object.table) %} {% endif %}
{# Partial block list - rendered alone on the research results #} {% block object_list %} {% set filtered_class = { id: 'id' in object.active_filtered_fields?' class="' ~ constant('ADMIN_FILTERED_COLUMNS_CLASS') ~ '"':'', position_id: 'position_id' in object.active_filtered_fields?' class="' ~ constant('ADMIN_FILTERED_COLUMNS_CLASS') ~ '"':'', bi_id: 'bi_id' in object.active_filtered_fields?' class="' ~ constant('ADMIN_FILTERED_COLUMNS_CLASS') ~ '"':'' } %}
{% if object.records_count > 0 %}
{% if constant('ADMIN_ACTION_BUTTONS_POSITION') == 'left' %} {% endif %} {% if constant('ADMIN_ACTION_BUTTONS_POSITION') == 'right' %} {% endif %} {% for i in range(0, object.records_count - 1) %} {% if constant('ADMIN_ACTION_BUTTONS_POSITION') == 'left' %} {% endif %} {{ object.id[ loop.index0 ]|replace({'[|]': ' '}) }} {{ object.position_id[ loop.index0 ]|replace({'[|]': ' '}) }} {{ object.bi_id[ loop.index0 ]|replace({'[|]': ' '}) }} {% if constant('ADMIN_ACTION_BUTTONS_POSITION') == 'right' %} {% endif %} {% endfor %}
{{ constant('ACTION_CONST') }}{{ object.fields.id }} {{ object.fields.position_id }} {{ object.fields.bi_id }}{{ constant('ACTION_CONST') }}
{% if object.update_record_authorized[object.pk_concat_values[loop.index0]] == true %} {% endif %} {% if object.can_create == true %} {% endif %}
{% if object.update_record_authorized[object.pk_concat_values[loop.index0]] == true %} {% endif %} {% if object.can_create == true %} {% endif %}
{% else %}

{{ alert(constant('NO_RECORD_FOUND'), 'alert-info has-icon')|raw }}

{% endif %}
{{ object.pagination_html|raw }}
{% endblock object_list %} {# END Partial block - rendered alone on the research results #}