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

Return / Refund

Look up a transaction and process a refund

{% if tx %}

Transaction #{{ tx.id }}

Refundable

Date

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

Amount

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

Payment

{{ tx.method_of_payment }}

Items

{% for item in tx.items %}
{{ item.quantity }}x

{{ item.product_barcode }}

@ {{ currency_symbol }}{{ '%.2f'|format(item.unit_price|float) }} ea

{{ currency_symbol }}{{ '%.2f'|format(item.quantity * item.unit_price|float) }}

{% endfor %}
{% endif %}
{% endblock %}