{# app/templates/vendor/customers.html #} {% extends "vendor/base.html" %} {% from 'shared/macros/pagination.html' import pagination %} {% from 'shared/macros/headers.html' import page_header_flex, refresh_button %} {% from 'shared/macros/alerts.html' import loading_state, error_state %} {% block title %}Customers{% endblock %} {% block alpine_data %}vendorCustomers(){% endblock %} {% block content %} {% call page_header_flex(title='Customers', subtitle='View and manage your customer relationships') %}
{{ refresh_button(loading_var='loading', onclick='loadCustomers()', variant='secondary') }}
{% endcall %} {{ loading_state('Loading customers...') }} {{ error_state('Error loading customers') }}

Total Customers

0

Active

0

New This Month

0

Customer Email Joined Orders Actions

No customers found

Customers will appear here when they make purchases

{{ pagination( current_page='pagination.page', total_pages='totalPages', total_items='pagination.total', start_index='startIndex', end_index='endIndex', page_numbers='pageNumbers', previous_fn='previousPage()', next_fn='nextPage()', goto_fn='goToPage' ) }}

Customer Details

Phone

Joined

Total Orders

Total Spent

Orders for

{% endblock %} {% block extra_scripts %} {% endblock %}