{% extends "base.html" %} {% import 'components/macros.html' as ui %} {% block title %}Receipts - {{ brand_name }}{% endblock %} {% block head_extra %} {% endblock %} {% block content %}
{{ ui.button('Admin Dashboard', '/admin', 'secondary') }} {{ ui.button('Help Center', '/help-center', 'secondary') }}

{{ brand_name }} Receipts

Receipt Register

Review, print, resend, or start returns from one admin view.

Receipts Found {{ total_count }}
Gross Sales {{ currency_symbol }} {{ "{:,.2f}".format(total_sales|float) }}
Returns Recorded {{ currency_symbol }} {{ "{:,.2f}".format(total_returns|float) }}
{% if sales %}
{% for sale in sales %} {% set returned = sale[3]|float %} {% set total = sale[1]|float %} {% set receipt_code = sale[4] or 'RCP-' ~ '%06d'|format(sale[0]) %} {% endfor %}
Receipt Date Customer Payment Status Total Returned Net Action
{{ receipt_code }}
Sale #{{ sale[0] }} | Cashier {{ sale[11] or '-' }}
{{ sale[2] }} {% if sale[9] %}
{{ sale[9] }}
{% endif %}
{{ sale[10] or 'Walk-in customer' }}
{{ sale[6]|replace('_', ' ')|title }} {{ sale[5]|replace('_', ' ') }} {{ currency_symbol }} {{ "{:,.2f}".format(total) }} {{ currency_symbol }} {{ "{:,.2f}".format(returned) }} {{ currency_symbol }} {{ "{:,.2f}".format(total - returned) }}
{% else %}
No receipts found.

Try another search, change the status filter, or record a new sale.

{% endif %}
{% endblock %}