{% extends "shopyo_base/module_base.html" %} {% set active_page = 'pos' %} {% block pagehead %}Transaction #{{ tx.id }}{% endblock %} {% block sidebar %}{% include 'pos/blocks/sidebar.html' %}{% endblock %} {% block module_content %}

Transaction #{{ tx.id }}

View details and items

Date

{{ tx.time.strftime('%Y-%m-%d %H:%M') if tx.time else '-' }}

Total

{{ currency_symbol }}{{ '%.2f'|format(tx.total_amount|float) }}

Payment Method

{{ tx.method_of_payment }}

Cashier ID

{{ tx.cashier_id }}

Discount

{% if tx.discount_type %}{{ tx.discount_type }} {{ tx.discount_value }}{% else %}None{% endif %}

Notes

{{ tx.notes or '-' }}

Items

{{ tx.items|length }} item(s)

{% for item in tx.items %} {% endfor %}
BarcodeQtyUnit PriceSubtotal
{{ item.product_barcode }} {{ item.quantity }} {{ currency_symbol }}{{ '%.2f'|format(item.unit_price|float) }} {{ currency_symbol }}{{ '%.2f'|format(item.quantity * item.unit_price|float) }}
Total {{ currency_symbol }}{{ '%.2f'|format(tx.total_amount|float) }}
{% endblock %}