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

Transaction #{{ tx.id }}

< BACK
Date{{ tx.time.strftime('%Y-%m-%d %H:%M') if tx.time else '-' }}
Total${{ '%.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

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