{% extends 'base.html' %}{% load rp_format %} {% block title %}Riwayat Transaksi{% endblock %} {% block content %}

Riwayat Transaksi

{{ jml_trx }} nota lunas · {{ pasang }} pasang

Transaksi Baru
{% if karyawan_list %}{% endif %}

Omzet (lunas)

{{ total_omzet|rp }}

{% if request.user.is_staff %}

Laba Kotor

{{ total_laba|rp }}

{% endif %}
{% for t in page %} {% empty %}{% endfor %}
WaktuNomorCustomerBarangMetodeTotalStatus
{{ 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 %}
{% csrf_token %}
{% endif %}
Tidak ada transaksi di periode ini.
{% include '_pagination.html' %}
{% endblock %} {% block extra_js %} {% endblock %}