{% macro statusForm(report,reportToDoList,reportEnum) %}
{% for todo in reportToDoList %} {% endfor %}
{% endmacro %} {% macro progress(report, countAllTodos) %}
{% set percentageProgress = report.isDone ? 100 : report.countTodoReports / countAllTodos * 100 %}
{{ percentageProgress }}%
{% endmacro %} {% macro cardView(report, groupStatus, reportToDoList) %}
{{ report.number }}
{% if enum(groupStatus, 'COMPLETE') and false %}
{% endif %}
{% if is_granted('clientView') %} {{ report.client.strName }} {% else %} {{ report.client.strName }} {% endif %}
{# {% if not enum(groupStatus, 'COMPLETE') %}#}

{{ _self.statusForm(report, reportToDoList, groupStatus) }}

{% if is_granted('reportEdit') and not report.isEmailSend %} Wyślij maila {% endif %}
{# {% endif %}#} {% if enum(groupStatus, 'WORKING') %} {% endif %}
{% endmacro %}