{# app/modules/loyalty/templates/loyalty/shared/cards-list.html #} {# Shared loyalty cards list partial. Set these variables before including: - cards_api_prefix (str): API base URL (e.g. '/store/loyalty', '/merchants/loyalty', '/admin/loyalty/merchants/5') - cards_base_url (str): URL prefix for card detail links - show_store_filter (bool): Show store/location dropdown filter - show_enroll_button (bool): Show "Enroll New" button (store persona only) - enroll_url (str): URL for the enroll button (if show_enroll_button) #} {% 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 %} {% from 'shared/macros/tables.html' import table_wrapper, table_header %}

{{ _('loyalty.shared.cards.total_members') }}

0

{{ _('loyalty.shared.cards.active_30d') }}

0

{{ _('loyalty.shared.cards.new_this_month') }}

0

{{ _('loyalty.shared.cards.total_points_balance') }}

0

{% if show_store_filter %} {% endif %}
{% call table_wrapper() %} {{ table_header([_('loyalty.shared.cards.col_member'), _('loyalty.shared.cards.col_card_number'), _('loyalty.shared.cards.col_points_balance'), _('loyalty.shared.cards.col_last_activity'), _('loyalty.shared.cards.col_status'), _('loyalty.shared.cards.col_actions')]) }} {% endcall %} {{ pagination() }}