{% extends 'admin_base.html.twig' %} {% block title %}{{ title }}{% endblock %} {% block body %}
| ID | FIO | Picture | Address | Department | Dcode or bitrixID | Active | Actions | Updated Location | Update | |||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ specialist.id }} | {{ specialist.name }} | show picture | {% if specialist.locationAllCount > 0 %}
{% for location in specialist.locationAll %}
{{ location.filial.address }} {% endfor %} |
{% else %}
there is no data | {% endif %} {% if specialist.locationAllCount > 0 %}
{% for location in specialist.locationAll %}
{{ location.department.did }} {% endfor %} |
{% else %}
there is no data | {% endif %} {% if specialist.locationAllCount > 0 %}
{% for location in specialist.locationAll %}
{{ location.dcode }} {% endfor %} |
{% else %}
there is no data | {% endif %} {% if specialist.locationAllCount > 0 %}
{% for location in specialist.locationAll %}
{{ location.active ? 'on' : 'off' }} {% endfor %} |
{% else %}
there is no data | {% endif %} {% if specialist.locationAllCount == 0 %}disabled | {% else %}{% for location in specialist.locationAll %} {{ include('specialist/admin/_toggle_form.html.twig') }} {% endfor %} | {% endif %} {% if specialist.locationAllCount > 0 %}
{% for location in specialist.locationAll %}
{{ location.updated|date('d.m.Y') }} {% endfor %} |
{% else %}
there is no data | {% endif %} {% if specialist.updated is defined %}
{{ specialist.updated|date('d.m.Y') }} |
{% else %}
there is no data | {% endif %}
| no records found | ||||||||||||||||