{% extends 'base.html' %}{% load rp_format %} {% block title %}Pesanan Online{% endblock %} {% block content %}
Pesanan dari katalog. Cek bukti transfer, lalu konfirmasi supaya jadi transaksi dan stok berkurang.
| Kode | Masuk | Pemesan | Barang | Kirim / Bayar | Total | Bukti | Status | |
|---|---|---|---|---|---|---|---|---|
| #{{ p.kode_ref }} | {{ p.dibuat|date:"d/m H:i" }}{% if p.status == 'menunggu_bayar' and p.batas_bayar %} batas {{ p.batas_bayar|date:"d/m H:i" }}{% endif %} |
{{ p.nama_pemesan }} {{ p.no_wa }} |
{% for it in p.items.all %}{{ it.nama }}{% if it.qty > 1 %} x{{ it.qty }}{% endif %}{% if not forloop.last %}, {% endif %}{% endfor %} | {% if p.dikirim_ke_alamat %}Antar{% else %}Ambil{% endif %} {{ p.get_metode_bayar_display|cut:" Bank" }} | {{ p.total|rp }} | {% if p.bukti_foto %}ada{% else %}belum{% endif %} | {{ p.get_status_display|truncatechars:22 }} | {% if p.status == 'menunggu_konfirmasi' %}Periksa{% else %}Detail{% endif %} |
| Belum ada pesanan. | ||||||||