{% extends 'base.html' %} {% block content %}
Total payments collected from customers: {{ total_collected|currency }}
Select an admin account to receive the payment
| Sale # | Customer | Date | Amount | Type | Status |
|---|---|---|---|---|---|
| #{{ sale.id }} | {{ sale.customer.name }} | {{ sale.date|date_format }} | {{ sale.payment_amount|currency }} | {% if sale.demand_order_id %} 📦 Demand Order {% else %} 🛒 Regular Sale {% endif %} | 💰 Paid to Supplier |
Total Collected Payments: {{ collected_sales|sum(attribute='payment_amount')|currency }}