{% if page != null %}{% endif %} {% for row in rows %}
{{ row.task.date|date('d.m.Y') }} {{ row.worker.id }} {% 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.task.work }} {{ row.task.generated.start }} {{ row.task.generated.end }} {{ row.task.generated.hours }} {{ row.market.id }} {% if row.market.city is not null %}{{ row.market.city }}, {% endif %}{{ row.market.address|replace({'ул.': '', 'ул ': '', 'пр ': ''}) }} {{ row.market.type }} {{ row.worker.tax }} {{ row.task.commentary }} {{ row.task.generated.chat.unreaded ?? 0 }}
{% endfor %}