{% set company = frappe.get_doc("Company", doc.company) %} {% set abbr = company.abbr %}

{{ doc.company }}

{{ company.address or "The Exchange, 55 Westlands Road, Nairobi" }}

P.O. Box 43633-00100, Nairobi, Kenya

Tel: +254 20 2831000 | www.nse.co.ke

LOCAL PURCHASE ORDER

LPO No: {{ doc.name }}

Date: {{ frappe.format(doc.transaction_date, {"fieldtype":"Date"}) }}

Supplier / Vendor

{{ doc.supplier_name or doc.supplier }}

{% if doc.supplier_address %}

{{ doc.supplier_address }}

{% endif %} {% if doc.contact_email %}

Email: {{ doc.contact_email }}

{% endif %} {% if doc.contact_mobile %}

Tel: {{ doc.contact_mobile }}

{% endif %}

Order Details

LPO Date: {{ frappe.format(doc.transaction_date, {"fieldtype":"Date"}) }}

{% if doc.schedule_date %}

Required By: {{ frappe.format(doc.schedule_date, {"fieldtype":"Date"}) }}

{% endif %} {% if doc.currency %}

Currency: {{ doc.currency }}

{% endif %} {% if doc.department %}

Department: {{ doc.department }}

{% endif %} {% if doc.cost_center %}

Cost Centre: {{ doc.cost_center }}

{% endif %}
{% for row in doc.items %} {% endfor %}
# Description / Item Qty UOM Unit Rate ({{ doc.currency }}) Amount ({{ doc.currency }})
{{ loop.index }} {{ row.item_name or row.item_code }} {% if row.description and row.description != row.item_name %}
{{ row.description[:200] }} {% endif %}
{{ row.qty }} {{ row.uom }} {{ frappe.format(row.rate, {"fieldtype":"Currency","options":doc.currency}) }} {{ frappe.format(row.amount, {"fieldtype":"Currency","options":doc.currency}) }}
{% for tax in doc.taxes %} {% endfor %} {% if doc.in_words %} {% endif %}
Sub-Total {{ frappe.format(doc.net_total, {"fieldtype":"Currency","options":doc.currency}) }}
{{ tax.description }} {{ frappe.format(tax.tax_amount, {"fieldtype":"Currency","options":doc.currency}) }}
TOTAL {{ frappe.format(doc.grand_total, {"fieldtype":"Currency","options":doc.currency}) }}
{{ doc.in_words }}

Terms & Conditions

1. This LPO constitutes an official purchase commitment of {{ doc.company }}. Goods/services must match specifications exactly.

2. Delivery must be completed by the Required By date. Late delivery may attract penalties per the supplier contract.

3. All invoices must reference this LPO number ({{ doc.name }}) and be submitted to accounts@nse.co.ke.

4. Payment terms: {{ doc.payment_terms_template or "30 days net" }}.

{% if doc.terms %}

5. Additional terms: {{ doc.terms }}

{% endif %}
Requested By


____________________________
Name: ________________________
Title:  ________________________
Date:  ________________________
Authorised By ({{ doc.company }})


____________________________
Name: ________________________
Title:  ________________________
Date:  ________________________