{% if page != null %}{% endif %} {% for row in rows %}
{{ row.account._key }} {{ row.worker._key }} {% if row.worker.name.first is not empty %}{{ row.worker.name.first|slice(0, 1)|upper }}.{% endif %}{% if row.worker.name.last is not empty %} {{ row.worker.name.last|slice(0, 1)|upper }}.{% endif %}{% if row.worker.name.second is not empty %} {{ row.worker.name.second }}{% endif %} {{ row.worker.number|storaged_number_to_readable }} {{ row.worker.mail }} {% if row.worker.city is not empty and row.worker.district is not empty and row.worker.district is not null %}{{ row.worker.city|slice(0,4) ~ '. ' ~ row.worker.district|slice(0,3) ~ '. ' ~ row.worker.address }}{% else %}{{ row.worker.city ~ ' ' ~ row.worker.district ~ ' ' ~ row.worker.address }}{% endif %} {{ (row.worker.passport ~ ', ' ~ row.worker.issued|date_to_russian ~ ', ' ~ row.worker.department.number ~ ', ' ~ row.worker.department.address)|trim(', ') }} {{ row.worker.tax }} {% if row.worker.requisites is not empty and row.worker.payment is not empty %}{{ row.worker.requisites|storaged_requisites_preview }} ({{ row.worker.payment }}){% else %}{{ row.worker.payment }}{% endif %} {{ row.account.commentary }}
{% endfor %}