{% if file_stats|length > 0 %} {% set global_waybill_cnt = 0 %} {% set global_kgs_shipped = 0 %} {% set global_ex_vat_total = 0 %} {% set global_vat_total = 0 %} {% set global_inc_vat_total = 0 %} {% for partner_stat in file_stats %} {% if partner_stat['account_stats']|length > 0 %}
MA Account | Service | Waybills | Kgs Shipped | Amount (ex VAT) | Amount VAT | Amount (inc VAT) | |
---|---|---|---|---|---|---|---|
{{ acc_waybill_cnt }} | {{ acc_kgs_shipped|number_format(2, '.', ' ') }} | R{{ acc_ex_vat_total|number_format(2, '.', ' ') }} | R{{ acc_vat_total|number_format(2, '.', ' ') }} | R{{ acc_inc_vat_total|number_format(2, '.', ' ') }} | |||
{% if last_ma_displayed != acc_stat['ma_account_id'] %} {% set section_cnt = section_cnt + 1 %} {% if acc_stat['ma_account_name'] is null %} UNASSIGNED WAYBILLS {% else %} {{ acc_stat['ma_account_name'] }} {% endif %} {% set last_ma_displayed = acc_stat['ma_account_id'] %} {% endif %} | {% if acc_stat['ma_account_name'] is null %}{{ acc_stat['service'] }} | {% else %}{{ acc_stat['service'] }} | {% endif %}{{ acc_stat['waybill_cnt'] }} | {{ acc_stat['kg_shipped']|number_format(2, '.', ' ') }} | {{ acc_stat['total_ex_vat']|number_format(2, '.', ' ') }} | {{ acc_stat['totat_vat']|number_format(2, '.', ' ') }} | R{{ acc_stat['total_inc_vat']|number_format(2, '.', ' ') }} |
{{ acc_waybill_cnt }} | {{ acc_kgs_shipped|number_format(2, '.', ' ') }} | R{{ acc_ex_vat_total|number_format(2, '.', ' ') }} | R{{ acc_vat_total|number_format(2, '.', ' ') }} | R{{ acc_inc_vat_total|number_format(2, '.', ' ') }} | |||
{{ section_waybill_cnt }} | {{ section_kgs_shipped|number_format(2, '.', ' ') }} | R{{ section_ex_vat_total|number_format(2, '.', ' ') }} | R{{ section_vat_total|number_format(2, '.', ' ') }} | R{{ section_inc_vat_total|number_format(2, '.', ' ') }} |
Waybills | Kgs Shipped | Amount (ex VAT) | Amount VAT | Amount (inc VAT) | ||
---|---|---|---|---|---|---|
{{ global_waybill_cnt }} | {{ global_kgs_shipped|number_format(2, '.', ' ') }} | R{{ global_ex_vat_total|number_format(2, '.', ' ') }} | R{{ global_vat_total|number_format(2, '.', ' ') }} | R{{ global_inc_vat_total|number_format(2, '.', ' ') }} |
No data found to display
{% endif %}