{# app/modules/loyalty/templates/loyalty/shared/transactions-list.html #} {# Shared transactions list partial. Set these variables before including: - transactions_api_prefix (str): API base URL for transactions data - show_store_filter (bool): Show store/location dropdown filter #} {% from 'shared/macros/pagination.html' import pagination %} {% from 'shared/macros/alerts.html' import loading_state, error_state %} {% from 'shared/macros/tables.html' import table_wrapper, table_header %}
{% if show_store_filter %} {% endif %}
{% call table_wrapper() %} {{ table_header([_('loyalty.shared.transactions.col_date'), _('loyalty.shared.transactions.col_customer'), _('loyalty.shared.transactions.col_type'), _('loyalty.shared.transactions.col_points'), _('loyalty.shared.transactions.col_location'), _('loyalty.shared.transactions.col_notes')]) }} {% endcall %} {{ pagination() }}