{{ t('client_sales_report') }}

Created On: {{ created_on }}
Created By: {{ created_by }}
{% if company_logo is not empty %} {{ img(company_logo, 'max-height: 80px; width: auto; object-fit: contain;') }} {% endif %}
{% if clients is defined and clients is not empty %} {% for client in clients %} {% endfor %} {% endif %}
{{ t('client_name') }} {{ t('client_number') }} {{ t('id_number') }} {{ t('invoices') }} {{ t('amount') }} {{ t('balance') }} {{ t('total_taxes') }} {{ t('amount_paid') }}
{{ client[0] }} {{ client[1] }} {{ client[2] }} {{ client[3] }} {{ client[4] }} {{ client[5] }} {{ client[6] }} {{ client[7] }}
{% if monthly_skipped is defined and monthly_skipped %}
{{ t('monthly_breakdown_skipped') }}
{% else %} {% if monthly_invoices is defined and monthly_invoices is not empty %}

{{ t('invoices_by_month') }}

{% for label in monthly_header %} {% endfor %} {% for row in monthly_invoices %} {% for cell in row %} {% endfor %} {% endfor %}
{{ t('client_name') }}{{ label }}
{{ cell }}
{% endif %} {% if monthly_payments is defined and monthly_payments is not empty %}

{{ t('payments_by_month') }}

{% for label in monthly_header %} {% endfor %} {% for row in monthly_payments %} {% for cell in row %} {% endfor %} {% endfor %}
{{ t('client_name') }}{{ label }}
{{ cell }}
{% endif %} {% endif %}