{% extends "base.html" %} {% block title %}{{ po.po_number }}{% endblock %} {% block breadcrumb %}PO / {{ po.po_number }}{% endblock %} {% block page_title %}{{ po.po_number }}{% endblock %} {% block content %}
Proyek
{{ po.project.project_code }}
Vendor
{{ po.vendor.vendor_name }}
NPWP: {{ po.vendor.npwp or '—' }}
Tgl Order
{{ po.order_date.strftime('%d %B %Y') }}
Est. Pengiriman
{{ po.delivery_date.strftime('%d %B %Y') if po.delivery_date else '—' }}
Termin Pembayaran
{{ po.payment_terms or '—' }}
PR Referensi
{{ po.purchase_request.pr_number if po.purchase_request else '—' }}
Ringkasan & Aksi
SubtotalRp {{ "{:,.0f}".format(po.subtotal) }}
PPN (11%)Rp {{ "{:,.0f}".format(po.tax_amount) }}
TotalRp {{ "{:,.0f}".format(po.total_amount) }}
{% if po.status != 'received' and po.status != 'cancelled' %}
{% else %}
Barang telah diterima & biaya proyek tercatat otomatis.
{% endif %}
{% if po.status == 'draft' %}Draft {% elif po.status == 'sent' %}Dikirim ke Vendor {% elif po.status == 'received' %}Diterima {% elif po.status == 'cancelled' %}Dibatalkan{% endif %}
Daftar Item PO
{% for item in items %} {% endfor %}
#Nama ItemSpesifikasiQtySatuanHarga SatuanPPN %Total
{{ loop.index }} {{ item.item_name }} {{ item.specification or '—' }} {{ item.quantity }} {{ item.unit }} Rp {{ "{:,.0f}".format(item.unit_price) }} {{ item.tax_rate }}% Rp {{ "{:,.0f}".format(item.total_price) }}
{% endblock %}