resources/views/templates/reports/client_sales_report.html
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 %}
| {{ t('client_name') }} | {{ t('client_number') }} | {{ t('id_number') }} | {{ t('invoices') }} | {{ t('amount') }} | {{ t('balance') }} | {{ t('total_taxes') }} | {{ t('amount_paid') }} |
|---|---|---|---|---|---|---|---|
| {% if clients is defined and clients is not empty %} {% for client in clients %} | {{ client[0] }} | {{ client[1] }} | {{ client[2] }} | {{ client[3] }} | {{ client[4] }} | {{ client[5] }} | {{ client[6] }} |
| {% endfor %} {% endif %} |
{% 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('client_name') }} | {% for label in monthly_header %} {{ label }} | {% endfor %} | --- | --- | {% for row in monthly_invoices %} | {% for cell in row %} {{ cell }} | {% endfor %} {% endfor %}
{% endif %} {% if monthly_payments is defined and monthly_payments is not empty %}
| {{ t('client_name') }} | {% for label in monthly_header %} {{ label }} | {% endfor %} | --- | --- | {% for row in monthly_payments %} | {% for cell in row %} {{ cell }} | {% endfor %} {% endfor %}
{% endif %} {% endif %}