{% extends QbaBitLayoutToExtend('QbaBitCoreBundle:Form:list.html.twig', 'backend') %} {% block search_columns %}
{{ form_label(searchForm.name) }} {{ form_widget(searchForm.name) }}
{{ form_label(searchForm.userid) }} {{ form_widget(searchForm.userid) }}
{{ form_label(searchForm.status) }} {{ form_widget(searchForm.status) }}
{{ form_row(searchForm.submit) }}
{% endblock %} {% block dropdown_base %} {% if role is defined %} {% if role.new is defined %} {% if is_granted( role.new ) %} {% if isImages is not defined %}
  • {{ 'new' | trans({}, 'qbabitcore') }}
  • {% else %}
  • {% endif %} {% endif %} {% endif %} {% endif %} {% if role is defined %} {% if role.delete is defined %} {% if is_granted(role.delete ) %}
  • {{ 'delete' | trans({}, 'qbabitcore') }}
  • {% endif %} {% endif %} {% endif %} {% endblock %} {% block columns %} {{ knp_pagination_sortable(data, 'name' | trans({}, 'inmobiliaria'), 'c.name', {'direction': 'desc'}) }} {{ 'qbblog_visits' | trans({}, 'blog') }} {{ 'price' | trans({}, 'inmobiliaria') }} {{ 'tipo_anuncio' | trans({}, 'inmobiliaria') }} {{ 'creado' | trans({}, 'inmobiliaria') }} {{ 'status' | trans({}, 'inmobiliaria') }} {% endblock %} {% block rows %} {% for inm_anuncio_row_org in searchForm.listData.rows %} {% set inm_anuncio=inm_anuncio_row_org.vars.data %} {% set inm_anuncio_row = inm_anuncio_row_org.children["checked"] %} {{ form_widget(inm_anuncio_row) }} {% if is_granted(role.edit) %} {{ inm_anuncio.name }} {% else %} {{ inm_anuncio.name }} {% endif %} {{ inm_anuncio.visits }} {{ QbCurrencyFormat(inm_anuncio.price) }} {{ inm_anuncio.tipoAnuncio|trans({},"inmobiliaria") }} {{ inm_anuncio.createdOn | date('d/m/Y') }} {{ inm_anuncio.status|trans({},"inmobiliaria") }} {% else %} {{ 'no_records_founds' | trans({}, 'qbabitcore') }} {% endfor %} {% endblock %} {% block postScript %} {% endblock %}