{% extends 'base.html.twig' %} {% block body %} {% if client.isComplete %}
Zakończono generowanie sprawozdań!
{% endif %}

{{ client.strName }}

  • Adres: {{ client.strAddress }}
  • NIP: {{ client.intNIP }}
  • E-mail: {{ client.strEmail }}
  • Telefon: {{ client.intPhone | phone }}
  • Data prawomocności: {{ client.dateLegitimacy | date("d-m-Y") }}
  • Data obwieszczenia: {{ client.dateProclamation | date("d-m-Y") }}
  • {% if schedules %}
  • Harmonogram: {% if schedules.isDone %} wysłano: {{ schedules.getDateDone | date("d-m-Y H:i") }} {% else %} Pozostały czas: {{ schedules.getTimeLeft }} dni {% endif %}
  • {% endif %}
{% if is_granted('reportView') %}

Sprawozdania

{% if not client.isComplete and is_granted('reportEdit') %}
{% endif %}
    {% for report in reports %}
  • {{ report.number }} {{ report.getDateStart | date("Y-m-d") }} {% for todo in report.getReportsTodos %} {% if report.isReportsTodo(todo.getName) %} {{ todo.getName.takeLang }} {% endif %} {% endfor %}
  • {% endfor %}
{% endif %}

Notatka

{% if notes %}

{% apply markdown_to_html %} {{ notes.description }} {% endapply %}

{% endif %} {% if not client.isComplete and is_granted('clientEdit') %} {% endif %}
{% endblock %}