{% extends 'base.html' %}{% load rp_format %} {% block title %}Riwayat Transaksi{% endblock %} {% block content %}
{{ jml_trx }} nota lunas · {{ pasang }} pasang
Omzet (lunas)
{{ total_omzet|rp }}
Laba Kotor
{{ total_laba|rp }}
| Waktu | Nomor | Customer | Barang | Metode | Total | Status | |
|---|---|---|---|---|---|---|---|
| {{ t.tanggal|date:"d/m/Y H:i" }} | {{ t.nomor|slice:"3:" }}{% if t.sumber == 'online' %} online{% endif %} |
{{ t.nama_customer }} {% if t.no_wa %}{{ t.no_wa }} {% endif %} |
{% for it in t.items.all %}{{ it.nama }}{% if it.qty > 1 %} x{{ it.qty }}{% endif %}{% if not forloop.last %}, {% endif %}{% endfor %} {% if t.karyawan %}{{ t.karyawan.nama }} {% endif %} |
{{ t.get_metode_bayar_display }} | {{ t.total|rp }}{% if t.diskon %} disc {{ t.diskon|rp }}{% endif %} |
{{ t.get_status_display|truncatechars:18 }} | {% if request.user.is_staff %}{% endif %} |
| Tidak ada transaksi di periode ini. | |||||||