{% extends 'base.html.twig' %} {% import 'navigation/switch_months.html.twig' as navigation %} {% block title %}Harmonogramy{% endblock %} {% block body %}
{% for schedule in schedules %}
{% if is_granted('clientView') %} {{ schedule.client.strName }} {% else %} {% endif %}
{% if enum(schedule.getStatus, 'OVERDUE') %}
Czas minął: {{ schedule.getTimeLeft }} dni
{% else %}
Pozostały czas: {{ schedule.getTimeLeft }} dni
{% endif %}
{% endfor %}
{% endblock %}