{% extends "base/module_base.html" %} {% set active_page = 'pos' %} {% block pagehead %}Returns{% endblock %} {% set sidebar_bgtrigger = 'pos_returns' %} {% block sidebar %}{% include 'pos/blocks/sidebar.html' %}{% endblock %} {% block content %}

Return / Refund

{% if tx %}

Transaction #{{ tx.id }}

Date: {{ tx.time.strftime('%Y-%m-%d %H:%M') if tx.time else '-' }} | Amount: ${{ '%.2f'|format(tx.total_amount|float) }} | Payment: {{ tx.method_of_payment }}

    {% for item in tx.items %}
  • {{ item.product_barcode }} x{{ item.quantity }} @ ${{ '%.2f'|format(item.unit_price|float) }}
  • {% endfor %}
{% endif %}
{% endblock %}