{% extends "shopyo_base/module_base.html" %} {% set active_page = 'customer' %} {% block pagehead %}
| Orders | Total Spent | Last Purchase | Group | |
|---|---|---|---|---|
| {{ u.email }} | {{ u.order_count or 0 }} | ${{ '%.2f'|format(u.total_spent or 0) }} | {{ u.last_purchase.strftime('%Y-%m-%d') if u.last_purchase else '-' }} | {{ u.group.name if u.group else '-' }} |