{% extends "tienda/base.html" %} {% load static %} {% block content %}

Mis Recibos

Total de recibos: {{ total_receipts }}

{% if receipts %}
{% for receipt in receipts %} {% endfor %}
Recibo # Fecha Total Método Referencia
{{ receipt.id }} {{ receipt.created_at|date:"d/m/Y H:i" }} {{ receipt.total }}€ {{ receipt.get_payment_method_display }} {{ receipt.payment_reference|default:"-" }}
{% else %}
No tienes recibos disponibles todavía.
{% endif %}
{% endblock %}