{% if not autoprint %}
← Kembali {% if preview %}⚠ Mode Preview{% endif %}
{% endif %}
{% if po_s.po_logo %} {% endif %}
{{ po_s.po_nama }}
{% if po_s.po_tagline %}
{{ po_s.po_tagline }}
{% endif %}
{% if po_s.po_alamat %}{{ po_s.po_alamat }}
{% endif %} {% if po_s.po_telepon %}☎ {{ po_s.po_telepon }}{% if po_s.po_email %}  |  {% endif %}{% endif %} {% if po_s.po_email %}✉ {{ po_s.po_email }}{% endif %}
PURCHASE ORDER
{{ po.nomor }}
{% if po.status == 'DRAFT' %}Draft {% elif po.status == 'DIKIRIM' %}Dikirim {% elif po.status == 'DITERIMA' %}Diterima {% elif po.status == 'DIBATALKAN' %}Dibatalkan {% endif %}
{% set today_str = today.strftime('%Y-%m-%d') if today is defined else '' %}
Kepada Vendor
{{ po.vendor }}
{% if po.alamat_vendor %}
{{ po.alamat_vendor }}
{% endif %} {% if po.telepon_vendor %}
☎ {{ po.telepon_vendor }}
{% endif %}
Tanggal PO{{ po.tanggal|tgl }}
Estimasi Terima {{ po.expected_date|tgl if po.expected_date else '-' }}
HalPemesanan Barang / Jasa
{% for it in items %} {% endfor %}
# Deskripsi / Item Qty Satuan Harga Satuan Diskon Subtotal
{{ loop.index }} {{ it.deskripsi }} {{ it.qty|qty }} {{ it.satuan }} {{ it.harga_satuan|rp }} {% if it.diskon_item %}{{ it.diskon_item|rp }}{% else %}-{% endif %} {{ it.subtotal|rp }}
{% if po.diskon %}{% endif %} {% if po.ongkir %}{% endif %} {% if po.biaya_lain %}{% endif %}
Subtotal{{ subtotal|rp }}
Diskon- {{ po.diskon|rp }}
Ongkos Kirim{{ po.ongkir|rp }}
Biaya Lain{{ po.biaya_lain|rp }}

TOTAL{{ total|rp }}
{% if po.catatan %} {% endif %} {% if po_s.po_terms %} {% endif %}
Disiapkan oleh
{{ po_s.po_nama }}
Purchasing / Finance
Disetujui oleh Vendor
{{ po.vendor }}
Stempel & Tanda Tangan
{% if autoprint %} {% endif %}