{% extends '::email.html.twig' %} {% block subject %} {{ subject }} {% endblock %} {% block body %}
All Partner Breakdown | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Partner | Waybills | Pieces | Chrg Mass | Excl Vat | Vat | Inc Vat | MA Excl Vat | MA Vat | MA Inc Vat | Markup |
{{ partner['name'] }} | {{ partner['waybills'] }} | {{ partner['pcs'] }} | {{ partner['mass']|number_format(2, '.', '') }} | {{ partner['sub_total']|number_format(2, '.', '') }} | {{ partner['vat']|number_format(2, '.', '') }} | {{ partner['total']|number_format(2, '.', '') }} | {{ partner['ma_sub_total']|number_format(2, '.', '') }} | {{ partner['ma_vat']|number_format(2, '.', '') }} | {{ partner['ma_total']|number_format(2, '.', '') }} | {{ markup|number_format(2, '.', '') }} |
{{ waybill_total }} | {{ pcs_total }} | {{ mass_total|number_format(2, '.', '') }} | {{ excl_total|number_format(2, '.', '') }} | {{ vat_total|number_format(2, '.', '') }} | {{ incl_total|number_format(2, '.', '') }} | {{ ma_excl_total|number_format(2, '.', '') }} | {{ ma_vat_total|number_format(2, '.', '') }} | {{ ma_incl_total|number_format(2, '.', '') }} | {{ total_markup|number_format(2, '.', '') }} |
All Customer Breakdown | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
Customer | Waybills | Pieces | Chrg Mass | Excl Vat | Vat | Inc Vat | MA Excl Vat | MA Vat | MA Inc Vat | Markup |
{{ cust['name'] }} | {{ cust['waybills'] }} | {{ cust['pcs'] }} | {{ cust['mass']|number_format(2, '.', '') }} | {{ cust['sub_total']|number_format(2, '.', '') }} | {{ cust['vat']|number_format(2, '.', '') }} | {{ cust['total']|number_format(2, '.', '') }} | {{ cust['ma_sub_total']|number_format(2, '.', '') }} | {{ cust['ma_vat']|number_format(2, '.', '') }} | {{ cust['ma_total']|number_format(2, '.', '') }} | {{ markup|number_format(2, '.', '') }} |
{{ waybill_total }} | {{ pcs_total }} | {{ mass_total|number_format(2, '.', '') }} | {{ excl_total|number_format(2, '.', '') }} | {{ vat_total|number_format(2, '.', '') }} | {{ incl_total|number_format(2, '.', '') }} | {{ ma_excl_total|number_format(2, '.', '') }} | {{ ma_vat_total|number_format(2, '.', '') }} | {{ ma_incl_total|number_format(2, '.', '') }} | {{ total_markup|number_format(2, '.', '') }} |
Waybill Quotations | ||||||
---|---|---|---|---|---|---|
Customer | Waybill | Amount | Quotation | Info | Amount | Markup |
{{ item['customer']|trim }} | {{ item['waybill'] }} | {{ item['waybill_amount']|number_format(2, '.', ' ') }} | {{ item['quote_num'] }} | {{ item['quote_info']|trim }} | {{ item['quote_amount']|number_format(2, '.', ' ') }} | {{ (((item['quote_amount'] - item['waybill_amount'])/item['waybill_amount']) * 100)|number_format(2, '.', ' ') }}% |
Early Invoiced Waybills | ||||||
---|---|---|---|---|---|---|
Customer | Waybill | Amount | Invoice | Info | Amount | Markup |
{{ item['customer']|trim }} | {{ item['waybill'] }} | {{ item['waybill_amount']|number_format(2, '.', ' ') }} | {{ item['quote_num'] }} | {{ item['quote_info']|trim }} | {{ item['quote_amount']|number_format(2, '.', ' ') }} | {{ (((item['quote_amount'] - item['waybill_amount'])/item['waybill_amount']) * 100)|number_format(2, '.', ' ') }}% |
Esculated Waybills | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Partner | Account | Customer | Date | Waybill | Service | Level | Esculation | Ref | Sender | Orig | Receiver | Dest | Pcs | Act Mass | Chrg Mass | Basic | Other | R/KG | Sub-Total | Vat | Total | Markup |
{{ wb.partner_name }} | {{ wb.ma_account_name }} | {{ wb.customer_name }} | {% if wb.waybill_date is not null %} {{ wb.waybill_date|date("Y/m/d") }} {% endif %} | {{ wb.waybill }} | {{ wb.service }} | {% if wb.esculation_level != 0 %}{{ wb.esculation_level }}{% endif %} |
{{ wb.esculation }}
{% if wb.credit_request_number is not null %}
[CREDIT REQUEST: {{ wb.credit_request_number }} R{{ wb.credit_req_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_req_vat|number_format(2, '.', '') }} R{{ wb.credit_req_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.credit_note_number is not null %} [CREDIT NOTE: {{ wb.credit_note_number }} R{{ wb.credit_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_vat|number_format(2, '.', '') }} R{{ wb.credit_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.quoted %} {% set quote = d2_waybill_quote(wb.waybill) %} {% if quote is not null %} [QUOTE: {{ quote.docNo }} R{{ quote.total|number_format(2, '.', '') }} {% if wb.early_invoiced %} {% if quote.invoice is not null %} [INVOICE: {{ quote.invoice.docNo }} R{{ quote.invoice.total|number_format(2, '.', '') }} {% endif %} {% endif %} {% endif %} {% endif %} |
{{ wb.ref1 }}{% if wb.ref2|trim != '' %}/{{ wb.ref2 }}{% endif %} | {{ wb.sender }} | {{ wb.orig }} | {{ wb.receiver }} | {{ wb.dest }} | {{ wb.pcs }} | {{ wb.act_mass|number_format(2, '.', '') }} | {{ wb.mass_chrg|number_format(2, '.', '') }} | {{ wb.basic_chrg|number_format(2, '.', '') }} | {{ wb.other_chrg|number_format(2, '.', '') }} | {{ wb.cost_per_kg|number_format(1, '.', '') }} | {% if wb.markup_sub_total == 0.00 and wb.markup_vat == 0.00 and wb.markup_total == 0.00 %} {% set markup_color = 'red' %} {% else %} {% set markup_color = 'black' %} {% endif %}{{ wb.sub_total|number_format(2, '.', '') }} {{ wb.markup_sub_total|number_format(2, '.', '') }} |
{{ wb.vat_ex|number_format(2, '.', '') }} {{ wb.markup_vat|number_format(2, '.', '') }} |
{{ wb.total|number_format(2, '.', '') }} {{ wb.markup_total|number_format(2, '.', '') }} |
{% if wb.sub_total > 0.00 %}
{% set wb_markup = ((wb.markup_sub_total - wb.sub_total)/wb.sub_total)*100 %}
{% else %}
{% set wb_markup = 0.00 %}
{% endif %}
{{ wb_markup|number_format(2, '.', '') }}% |
International Waybills | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Customer | Partner | Account | Date | Waybill | Service | Level | Esculation | Ref | Sender | Orig | Receiver | Dest | Pcs | Act Mass | Chrg Mass | Basic | Other | R/KG | Sub-Total | Vat | Total | Markup |
{{ wb.customer_name }} | {{ wb.partner_name }} | {{ wb.ma_account_name }} | {% if wb.waybill_date is not null %} {{ wb.waybill_date|date("Y/m/d") }} {% endif %} | {{ wb.waybill }} | {{ wb.service }} | {% if wb.esculation_level != 0 %}{{ wb.esculation_level }}{% endif %} |
{{ wb.esculation }}
{% if wb.credit_request_number is not null %}
[CREDIT REQUEST: {{ wb.credit_request_number }} R{{ wb.credit_req_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_req_vat|number_format(2, '.', '') }} R{{ wb.credit_req_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.credit_note_number is not null %} [CREDIT NOTE: {{ wb.credit_note_number }} R{{ wb.credit_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_vat|number_format(2, '.', '') }} R{{ wb.credit_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.quoted %} {% set quote = d2_waybill_quote(wb.waybill) %} {% if quote is not null %} [QUOTE: {{ quote.docNo }} R{{ quote.total|number_format(2, '.', '') }} {% if wb.early_invoiced %} {% if quote.invoice is not null %} [INVOICE: {{ quote.invoice.docNo }} R{{ quote.invoice.total|number_format(2, '.', '') }} {% endif %} {% endif %} {% endif %} {% endif %} |
{{ wb.ref1 }}{% if wb.ref2|trim != '' %}/{{ wb.ref2 }}{% endif %} | {{ wb.sender }} | {{ wb.orig }} | {{ wb.receiver }} | {{ wb.dest }} | {{ wb.pcs }} | {{ wb.act_mass|number_format(2, '.', '') }} | {{ wb.mass_chrg|number_format(2, '.', '') }} | {{ wb.basic_chrg|number_format(2, '.', '') }} | {{ wb.other_chrg|number_format(2, '.', '') }} | {{ wb.cost_per_kg|number_format(1, '.', '') }} | {% if wb.markup_sub_total == 0.00 and wb.markup_vat == 0.00 and wb.markup_total == 0.00 %} {% set markup_color = 'red' %} {% else %} {% set markup_color = 'black' %} {% endif %}{{ wb.sub_total|number_format(2, '.', '') }} {{ wb.markup_sub_total|number_format(2, '.', '') }} |
{{ wb.vat_ex|number_format(2, '.', '') }} {{ wb.markup_vat|number_format(2, '.', '') }} |
{{ wb.total|number_format(2, '.', '') }} {{ wb.markup_total|number_format(2, '.', '') }} |
{% if wb.sub_total > 0.00 %}
{% set wb_markup = ((wb.markup_sub_total - wb.sub_total)/wb.sub_total)*100 %}
{% else %}
{% set wb_markup = 0.00 %}
{% endif %}
{{ wb_markup|number_format(2, '.', '') }}% |
Credited Waybills | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Customer | Partner | Account | Date | Waybill | Service | Level | Esculation | Ref | Sender | Orig | Receiver | Dest | Pcs | Act Mass | Chrg Mass | Basic | Other | R/KG | Sub-Total | Vat | Total | Markup |
{{ wb.customer_name }} | {{ wb.partner_name }} | {{ wb.ma_account_name }} | {% if wb.waybill_date is not null %} {{ wb.waybill_date|date("Y/m/d") }} {% endif %} | {{ wb.waybill }} | {{ wb.service }} | {% if wb.esculation_level != 0 %}{{ wb.esculation_level }}{% endif %} |
{{ wb.esculation }}
{% if wb.credit_request_number is not null %}
[CREDIT REQUEST: {{ wb.credit_request_number }} R{{ wb.credit_req_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_req_vat|number_format(2, '.', '') }} R{{ wb.credit_req_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.credit_note_number is not null %} [CREDIT NOTE: {{ wb.credit_note_number }} R{{ wb.credit_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_vat|number_format(2, '.', '') }} R{{ wb.credit_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.quoted %} {% set quote = d2_waybill_quote(wb.waybill) %} {% if quote is not null %} [QUOTE: {{ quote.docNo }} R{{ quote.total|number_format(2, '.', '') }} {% if wb.early_invoiced %} {% if quote.invoice is not null %} [INVOICE: {{ quote.invoice.docNo }} R{{ quote.invoice.total|number_format(2, '.', '') }} {% endif %} {% endif %} {% endif %} {% endif %} |
{{ wb.ref1 }}{% if wb.ref2|trim != '' %}/{{ wb.ref2 }}{% endif %} | {{ wb.sender }} | {{ wb.orig }} | {{ wb.receiver }} | {{ wb.dest }} | {{ wb.pcs }} | {{ wb.act_mass|number_format(2, '.', '') }} | {{ wb.mass_chrg|number_format(2, '.', '') }} | {{ wb.basic_chrg|number_format(2, '.', '') }} | {{ wb.other_chrg|number_format(2, '.', '') }} | {{ wb.cost_per_kg|number_format(1, '.', '') }} | {% if wb.markup_sub_total == 0.00 and wb.markup_vat == 0.00 and wb.markup_total == 0.00 %} {% set markup_color = 'red' %} {% else %} {% set markup_color = 'black' %} {% endif %}{{ wb.sub_total|number_format(2, '.', '') }} {{ wb.markup_sub_total|number_format(2, '.', '') }} |
{{ wb.vat_ex|number_format(2, '.', '') }} {{ wb.markup_vat|number_format(2, '.', '') }} |
{{ wb.total|number_format(2, '.', '') }} {{ wb.markup_total|number_format(2, '.', '') }} |
{% if wb.sub_total > 0.00 %}
{% set wb_markup = ((wb.markup_sub_total - wb.sub_total)/wb.sub_total)*100 %}
{% else %}
{% set wb_markup = 0.00 %}
{% endif %}
{{ wb_markup|number_format(2, '.', '') }}% |
Credit Requested Waybills | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Customer | Partner | Account | Date | Waybill | Service | Level | Esculation | Ref | Sender | Orig | Receiver | Dest | Pcs | Act Mass | Chrg Mass | Basic | Other | R/KG | Sub-Total | Vat | Total | Markup |
{{ wb.customer_name }} | {{ wb.partner_name }} | {{ wb.ma_account_name }} | {% if wb.waybill_date is not null %} {{ wb.waybill_date|date("Y/m/d") }} {% endif %} | {{ wb.waybill }} | {{ wb.service }} | {% if wb.esculation_level != 0 %}{{ wb.esculation_level }}{% endif %} |
{{ wb.esculation }}
{% if wb.credit_request_number is not null %}
[CREDIT REQUEST: {{ wb.credit_request_number }} R{{ wb.credit_req_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_req_vat|number_format(2, '.', '') }} R{{ wb.credit_req_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.credit_note_number is not null %} [CREDIT NOTE: {{ wb.credit_note_number }} R{{ wb.credit_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_vat|number_format(2, '.', '') }} R{{ wb.credit_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.quoted %} {% set quote = d2_waybill_quote(wb.waybill) %} {% if quote is not null %} [QUOTE: {{ quote.docNo }} R{{ quote.total|number_format(2, '.', '') }} {% if wb.early_invoiced %} {% if quote.invoice is not null %} [INVOICE: {{ quote.invoice.docNo }} R{{ quote.invoice.total|number_format(2, '.', '') }} {% endif %} {% endif %} {% endif %} {% endif %} |
{{ wb.ref1 }}{% if wb.ref2|trim != '' %}/{{ wb.ref2 }}{% endif %} | {{ wb.sender }} | {{ wb.orig }} | {{ wb.receiver }} | {{ wb.dest }} | {{ wb.pcs }} | {{ wb.act_mass|number_format(2, '.', '') }} | {{ wb.mass_chrg|number_format(2, '.', '') }} | {{ wb.basic_chrg|number_format(2, '.', '') }} | {{ wb.other_chrg|number_format(2, '.', '') }} | {{ wb.cost_per_kg|number_format(1, '.', '') }} | {% if wb.markup_sub_total == 0.00 and wb.markup_vat == 0.00 and wb.markup_total == 0.00 %} {% set markup_color = 'red' %} {% else %} {% set markup_color = 'black' %} {% endif %}{{ wb.sub_total|number_format(2, '.', '') }} {{ wb.markup_sub_total|number_format(2, '.', '') }} |
{{ wb.vat_ex|number_format(2, '.', '') }} {{ wb.markup_vat|number_format(2, '.', '') }} |
{{ wb.total|number_format(2, '.', '') }} {{ wb.markup_total|number_format(2, '.', '') }} |
{% if wb.sub_total > 0.00 %}
{% set wb_markup = ((wb.markup_sub_total - wb.sub_total)/wb.sub_total)*100 %}
{% else %}
{% set wb_markup = 0.00 %}
{% endif %}
{{ wb_markup|number_format(2, '.', '') }}% |
Quoted Waybills | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Customer | Partner | Account | Date | Waybill | Service | Level | Esculation | Ref | Sender | Orig | Receiver | Dest | Pcs | Act Mass | Chrg Mass | Basic | Other | R/KG | Sub-Total | Vat | Total | Markup |
{{ wb.customer_name }} | {{ wb.partner_name }} | {{ wb.ma_account_name }} | {% if wb.waybill_date is not null %} {{ wb.waybill_date|date("Y/m/d") }} {% endif %} | {{ wb.waybill }} | {{ wb.service }} | {% if wb.esculation_level != 0 %}{{ wb.esculation_level }}{% endif %} |
{{ wb.esculation }}
{% if wb.credit_request_number is not null %}
[CREDIT REQUEST: {{ wb.credit_request_number }} R{{ wb.credit_req_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_req_vat|number_format(2, '.', '') }} R{{ wb.credit_req_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.credit_note_number is not null %} [CREDIT NOTE: {{ wb.credit_note_number }} R{{ wb.credit_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_vat|number_format(2, '.', '') }} R{{ wb.credit_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.quoted %} {% set quote = d2_waybill_quote(wb.waybill) %} {% if quote is not null %} [QUOTE: {{ quote.docNo }} R{{ quote.total|number_format(2, '.', '') }} {% if wb.early_invoiced %} {% if quote.invoice is not null %} [INVOICE: {{ quote.invoice.docNo }} R{{ quote.invoice.total|number_format(2, '.', '') }} {% endif %} {% endif %} {% else %} QUOTE NULL {% endif %} {% else %} QUOTE NOT FLAG {% endif %} |
{{ wb.ref1 }}{% if wb.ref2|trim != '' %}/{{ wb.ref2 }}{% endif %} | {{ wb.sender }} | {{ wb.orig }} | {{ wb.receiver }} | {{ wb.dest }} | {{ wb.pcs }} | {{ wb.act_mass|number_format(2, '.', '') }} | {{ wb.mass_chrg|number_format(2, '.', '') }} | {{ wb.basic_chrg|number_format(2, '.', '') }} | {{ wb.other_chrg|number_format(2, '.', '') }} | {{ wb.cost_per_kg|number_format(1, '.', '') }} | {% if wb.markup_sub_total == 0.00 and wb.markup_vat == 0.00 and wb.markup_total == 0.00 %} {% set markup_color = 'red' %} {% else %} {% set markup_color = 'black' %} {% endif %}{{ wb.sub_total|number_format(2, '.', '') }} {{ wb.markup_sub_total|number_format(2, '.', '') }} |
{{ wb.vat_ex|number_format(2, '.', '') }} {{ wb.markup_vat|number_format(2, '.', '') }} |
{{ wb.total|number_format(2, '.', '') }} {{ wb.markup_total|number_format(2, '.', '') }} |
{% if wb.sub_total > 0.00 %}
{% set wb_markup = ((wb.markup_sub_total - wb.sub_total)/wb.sub_total)*100 %}
{% else %}
{% set wb_markup = 0.00 %}
{% endif %}
{{ wb_markup|number_format(2, '.', '') }}% |
Early Invoiced Waybills | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Customer | Partner | Account | Date | Waybill | Service | Level | Esculation | Ref | Sender | Orig | Receiver | Dest | Pcs | Act Mass | Chrg Mass | Basic | Other | R/KG | Sub-Total | Vat | Total | Markup |
{{ wb.customer_name }} | {{ wb.partner_name }} | {{ wb.ma_account_name }} | {% if wb.waybill_date is not null %} {{ wb.waybill_date|date("Y/m/d") }} {% endif %} | {{ wb.waybill }} | {{ wb.service }} | {% if wb.esculation_level != 0 %}{{ wb.esculation_level }}{% endif %} |
{{ wb.esculation }}
{% if wb.credit_request_number is not null %}
[CREDIT REQUEST: {{ wb.credit_request_number }} R{{ wb.credit_req_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_req_vat|number_format(2, '.', '') }} R{{ wb.credit_req_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.credit_note_number is not null %} [CREDIT NOTE: {{ wb.credit_note_number }} R{{ wb.credit_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_vat|number_format(2, '.', '') }} R{{ wb.credit_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.quoted %} {% set quote = d2_waybill_quote(wb.waybill) %} {% if quote is not null %} [QUOTE: {{ quote.docNo }} R{{ quote.total|number_format(2, '.', '') }} {% if wb.early_invoiced %} {% if quote.invoice is not null %} [INVOICE: {{ quote.invoice.docNo }} R{{ quote.invoice.total|number_format(2, '.', '') }} {% endif %} {% endif %} {% endif %} {% endif %} |
{{ wb.ref1 }}{% if wb.ref2|trim != '' %}/{{ wb.ref2 }}{% endif %} | {{ wb.sender }} | {{ wb.orig }} | {{ wb.receiver }} | {{ wb.dest }} | {{ wb.pcs }} | {{ wb.act_mass|number_format(2, '.', '') }} | {{ wb.mass_chrg|number_format(2, '.', '') }} | {{ wb.basic_chrg|number_format(2, '.', '') }} | {{ wb.other_chrg|number_format(2, '.', '') }} | {{ wb.cost_per_kg|number_format(1, '.', '') }} | {% if wb.markup_sub_total == 0.00 and wb.markup_vat == 0.00 and wb.markup_total == 0.00 %} {% set markup_color = 'red' %} {% else %} {% set markup_color = 'black' %} {% endif %}{{ wb.sub_total|number_format(2, '.', '') }} {{ wb.markup_sub_total|number_format(2, '.', '') }} |
{{ wb.vat_ex|number_format(2, '.', '') }} {{ wb.markup_vat|number_format(2, '.', '') }} |
{{ wb.total|number_format(2, '.', '') }} {{ wb.markup_total|number_format(2, '.', '') }} |
{% if wb.sub_total > 0.00 %}
{% set wb_markup = ((wb.markup_sub_total - wb.sub_total)/wb.sub_total)*100 %}
{% else %}
{% set wb_markup = 0.00 %}
{% endif %}
{{ wb_markup|number_format(2, '.', '') }}% |
Un-Billable Waybills | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Customer | Partner | Account | Date | Waybill | Service | Level | Esculation | Ref | Sender | Orig | Receiver | Dest | Pcs | Act Mass | Chrg Mass | Basic | Other | R/KG | Sub-Total | Vat | Total | Markup |
{{ wb.customer_name }} | {{ wb.partner_name }} | {{ wb.ma_account_name }} | {% if wb.waybill_date is not null %} {{ wb.waybill_date|date("Y/m/d") }} {% endif %} | {{ wb.waybill }} | {{ wb.service }} | {% if wb.esculation_level != 0 %}{{ wb.esculation_level }}{% endif %} |
{{ wb.esculation }}
{% if wb.credit_request_number is not null %}
[CREDIT REQUEST: {{ wb.credit_request_number }} R{{ wb.credit_req_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_req_vat|number_format(2, '.', '') }} R{{ wb.credit_req_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.credit_note_number is not null %} [CREDIT NOTE: {{ wb.credit_note_number }} R{{ wb.credit_ex_vat|number_format(2, '.', '') }} R{{ wb.credit_vat|number_format(2, '.', '') }} R{{ wb.credit_inc_vat|number_format(2, '.', '') }}] {% endif %} {% if wb.quoted %} {% set quote = d2_waybill_quote(wb.waybill) %} {% if quote is not null %} [QUOTE: {{ quote.docNo }} R{{ quote.total|number_format(2, '.', '') }} {% if wb.early_invoiced %} {% if quote.invoice is not null %} [INVOICE: {{ quote.invoice.docNo }} R{{ quote.invoice.total|number_format(2, '.', '') }} {% endif %} {% endif %} {% endif %} {% endif %} |
{{ wb.ref1 }}{% if wb.ref2|trim != '' %}/{{ wb.ref2 }}{% endif %} | {{ wb.sender }} | {{ wb.orig }} | {{ wb.receiver }} | {{ wb.dest }} | {{ wb.pcs }} | {{ wb.act_mass|number_format(2, '.', '') }} | {{ wb.mass_chrg|number_format(2, '.', '') }} | {{ wb.basic_chrg|number_format(2, '.', '') }} | {{ wb.other_chrg|number_format(2, '.', '') }} | {{ wb.cost_per_kg|number_format(1, '.', '') }} | {% if wb.markup_sub_total == 0.00 and wb.markup_vat == 0.00 and wb.markup_total == 0.00 %} {% set markup_color = 'red' %} {% else %} {% set markup_color = 'black' %} {% endif %}{{ wb.sub_total|number_format(2, '.', '') }} {{ wb.markup_sub_total|number_format(2, '.', '') }} |
{{ wb.vat_ex|number_format(2, '.', '') }} {{ wb.markup_vat|number_format(2, '.', '') }} |
{{ wb.total|number_format(2, '.', '') }} {{ wb.markup_total|number_format(2, '.', '') }} |
{% if wb.sub_total > 0.00 %}
{% set wb_markup = ((wb.markup_sub_total - wb.sub_total)/wb.sub_total)*100 %}
{% else %}
{% set wb_markup = 0.00 %}
{% endif %}
{{ wb_markup|number_format(2, '.', '') }}% |