{% extends "core/base.html" %} {% load currency_filters %} {% load static %} {% block title %}Transaction History - SwiftPOS{% endblock %} {% block topbar_title %} Transaction History {% endblock %} {% block content %}
Transaction History

Search by customer or order number, filter by date or date range.

{% if orders %}
{% for order in orders %}
{{ order.order_number }}
{% if order.status == 'cancelled' %} Reversed {% else %} Success {% endif %}

{% money order.final_amount %}

{{ order.created_at|date:"M d, Y \· H:i" }}
Customer {{ order.customer_name|default:"Walk-in Customer" }}
Payment {{ order.get_payment_method_display }}
Receipt {% if order.status != 'cancelled' %} Repeat {% if user_role in 'admin manager' or request.user.is_superuser %} Reverse Order {% endif %} {% endif %} {% if order.balance_amount > 0 %} Clear Due Balance {% endif %}
{% endfor %}
{% if page_obj.has_other_pages %} {% endif %} {% else %}
No transactions found

Try adjusting your date range or search term.

{% endif %}
{% endblock %}