{extends file="admin-layout.tpl"} {block name="no-return-functions"} {$admin_current_location = 'customer'} {/block} {block name="page-title"}{intl l='Customer'}{/block} {block name="check-resource"}admin.customer{/block} {block name="check-access"}view{/block} {block name="main-content"}
{admin_sortable_header current_order=$customer_order order='reference' reverse_order='reference_reverse' path={url path='/admin/customers'} request_parameter_name='customer_order' label="{intl l='Reference'}" } | {admin_sortable_header current_order=$customer_order order='lastname' reverse_order='lastname_reverse' path={url path='/admin/customers'} request_parameter_name='customer_order' label="{intl l='Last name'}" } | {admin_sortable_header current_order=$customer_order order='firstname' reverse_order='firstname_reverse' path={url path='/admin/customers'} request_parameter_name='customer_order' label="{intl l='First name'}" } | {hook name="customers.header" location="customer_list_header" }{admin_sortable_header current_order=$customer_order order='registration_date' reverse_order='registration_date_reverse' path={url path='/admin/customers'} request_parameter_name='customer_order' label="{intl l='Registration date'}" } | {intl l='Date of last order'} | {intl l='Last order amount'} | {* TODO{admin_sortable_header current_order=$customer_order order='last_order' reverse_order='last_order_reverse' path={url path='/admin/customers'} request_parameter_name='customer_order' label="{intl l='Date of last order'}" } | {admin_sortable_header current_order=$customer_order order='order_amount' reverse_order='order_amount_reverse' path={url path='/admin/customers'} request_parameter_name='customer_order' label="{intl l='Last order amount'}" } | *}{intl l='Actions'} | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{$REF} | {$LASTNAME} | {$FIRSTNAME} | {hook name="customers.row" location="customer_list_row" customer_id={$ID}}{format_date date=$CREATE_DATE} | {$lastOrderDate} | {$lastOrderCurrency} {$lastOrderAmount} | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{include file = "includes/pagination.html" loop_ref = "customer_list" max_page_count = 10 page_url = "{url path="/admin/customers" search_term=$search search_in="ref,firstname,lastname,email" customer_order=$customer_order}" } | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
{intl l='You have no registred customers for the moment.'}
|