{% extends "base.html" %} {% load static %} {% block content %}

Report

Pilih rentang tanggal untuk melihat laporan

{% if error %} {% endif %}
{% if has_results %}

Laporan Pengeluaran

{% if stocks %} {% for stock in stocks %} {% endfor %} {% else %} {% endif %}
Tanggal Produk Kategori Supplier Qty Harga Subtotal
{{ stock.date_in|date:"d/m/Y"}} {{ stock.product }} {{ stock.category }} {{ stock.supplier }} {{ stock.stock_in }} {{ stock.price}} {{ stock.subtotal }}
No products found for the selected date range.
Total: {{ stock_total }}

Laporan Pemasukan

{% if transaction_items %} {% for item in transaction_items %} {% endfor %} {% else %} {% endif %}
Tanggal Kode Transaksi Nama Produk Kategori Employee Customer Qty Price Subtotal
{{ item.updated_at|date:"d/m/Y" }} {{ item.transaction_id }} {{ item.product }} {{ item.category }} {{ item.employee }} {{ item.customer }} {{ item.qty }} Rp {{ item.unit_price }} Rp {{ item.subtotal }}
No transactions found for the selected date range.
Total: {{ transaction_total }}
Total Pengeluaran: {{ stock_total }}
Total Pemasukan: {{ transaction_total }}
Saldo: {{ balance }}
{% endif %}
{% endblock %}