{% load number_tags %} Sales Invoice
 Sales Invoice 
Bill To
{{ contact }}
{% firstof invoice.address "Not provided" %}
Terms
 {{ content_object.get_terms_of_payment_display }} 
Currency
 {{ invoice.currency }} 
Ship To
{{ contact }}
{% firstof content_object.delivery_address "Not provided" %}
Due Date
{% firstof invoice.due_date|date:"M d Y" "Not provided" %}
Invoice No.
 {{ invoice.number }} 
Invoice Date
 {{ invoice.date }} 
PO. No.
{% firstof content_object.client_po_number "Not provided" %}
{% for item in content_items %} {% if item.shipping_cost and item.shipping_cost > 0 %} {% endif %} {% endfor %}
Item Description Qty Unit Price Amount
{{ item }}  {{ item.qty|pretty_number }}  {{ item.price|pretty_number }}  {{ item.total_base_price|pretty_number }} 
Ongkos Angkut  {{ item.qty|pretty_number }}  {{ item.shipping_cost|pretty_number }}  {{ item.total_shipping_cost|pretty_number }} 
       
Payment:
Cheque/BG should be made payable to PT Apex Indopacific
or transfer to:
{% if invoice.branch.name == "Jakarta" %} PT Apex Indopacifc Jakarta
BCA: 607.030.8779
OR
{% else %} {% if invoice.branch.name == "Medan" %} PT Apex Indopacific Medan
BCA: 607.033.3757
OR
{% else %} {% if invoice.branch.name == "Bengkulu" %} PT Apex Indopacific Bengkulu
BCA: 607.039.1111
OR
PT Apex Indopacific Bengkulu
Bank Mandiri: 121.00.160.7788.9
OR
PT Apex Indopacific Bengkulu
BRI: 0427.01.0000.89.307
OR
{% else %} {% if invoice.branch.name == "Kukar" %} PT Apex Indopacific Kukar
BCA: 607.041.6776
OR
PT Apex Indopacific Kukar
Bank Mandiri: 121.00.0600.700.3
OR
{% endif %} {% endif %} {% endif %} {% endif %} PT Apex Indopacific
Bank Permata Cabang Glodok: 070 - 137.0058
{% if invoice.content_object.pph_22_migas %} {% endif %}
Sub Total {{ subtotal|mult:multiplier|pretty_number }} 
PBBKb {{ invoice.content_object.pbbkb|mult:multiplier|pretty_number }} 
PPH {{ invoice.content_object.pph_22_migas|mult:multiplier|pretty_number }} 
PPn {{ invoice.content_object.ppn|mult:multiplier|pretty_number }} 
Total Invoice {% if multiplier < 1 %}({{percentage|pretty_number}}%){% endif %} {{ invoice.value|mult:multiplier|pretty_number }} 
Prepared by
 {{ creator.user.get_full_name }} 
Approved by
Imelda S