Sales Item | Description | Quantity | MA ex Vat | Vat | MA inc Vat |
---|---|---|---|---|---|
{{ bill.getSalesItem.getSalesCode }} | {{ bill.getDescription }} | {{ bill.getItemCount }} | R {{ (bill.getItemPrice * bill.getItemCount)|number_format(2, '.', ' ') }} | {% if bill.getSalesItem.getNoTax %} R 0.00 {% else %} R {{ ((bill.getItemPrice * bill.getItemCount)*vat_amount/100)|number_format(2, '.', ' ') }} {% endif %} | {% if bill.getSalesItem.getNoTax %} R {{ (bill.getItemPrice * bill.getItemCount)|number_format(2, '.', ' ') }} {% else %} R {{ (bill.getItemPrice * bill.getItemCount * (1 + (vat_amount/100)))|number_format(2, '.', ' ') }} {% endif %} |
{{ total_cnt }} | R {{ total_ex_vat|number_format(2, '.', ' ') }} | R {{ total_vat|number_format(2, '.', ' ') }} | R {{ total_inc_vat|number_format(2, '.', ' ') }} |
Sales Item | Waybill Cnt | Kgs Shipped | Orig ex Vat | MA ex Vat | Profit ex Vat |
---|---|---|---|---|---|
{{ res['sales_item'] }} | {{ res['waybill_cnt'] }} | {{ res['kgs_shipped'] }} | R {{ res['orig_total']|number_format(2, '.', ' ') }} | R {{ res['markup_total']|number_format(2, '.', ' ') }} | R {{ (res['markup_total'] - res['orig_total'])|number_format(2, '.', ' ') }} |
{{ total_cnt }} | {{ total_kgs }} | R {{ total_orig |number_format(2, '.', ' ')}} | R {{ total_markup|number_format(2, '.', ' ') }} | R {{ total_profit|number_format(2, '.', ' ') }} |
Sales Item | Waybill Cnt | Kgs Shipped | Orig ex Vat | MA ex Vat | Profit ex Vat |
---|---|---|---|---|---|
{{ res['sales_item'] }} | {{ res['waybill_cnt'] }} | {{ res['kgs_shipped'] }} | R {{ res['orig_total']|number_format(2, '.', ' ') }} | R {{ res['markup_total']|number_format(2, '.', ' ') }} | R {{ (res['markup_total'] - res['orig_total'])|number_format(2, '.', ' ') }} |
{{ total_cnt }} | {{ total_kgs }} | R {{ total_orig |number_format(2, '.', ' ')}} | R {{ total_markup|number_format(2, '.', ' ') }} | R {{ total_profit|number_format(2, '.', ' ') }} |
Gross Profit Margin: {{ ((total_profit/total_markup)*100)|number_format(2, '.', ' ') }} %
{% else %}Gross Profit Margin: CALC ERROR
{% endif %}