{# app/templates/admin/merchant-user-detail.html #} {% extends "admin/base.html" %} {% from 'shared/macros/alerts.html' import loading_state, error_state %} {% from 'shared/macros/headers.html' import detail_page_header %} {% from 'shared/macros/modals.html' import confirm_modal_dynamic %} {% block title %}Merchant User Details{% endblock %} {% block alpine_data %}merchantUserDetailPage(){% endblock %} {% block content %} {% call detail_page_header("merchantUser?.full_name || merchantUser?.username || 'Merchant User Details'", '/admin/merchant-users', subtitle_show='merchantUser') %} @ | {% endcall %} {{ loading_state('Loading merchant user details...') }} {{ error_state('Error loading merchant user') }}

Quick Actions

Role

-

Status

-

Merchants Owned

0

Store Memberships

0

Account Information

Username

@

Email

-

Role

-

Email Verified

Personal Information

Full Name

-

First Name

-

Last Name

-

Activity Information

Last Login

-

Created At

-

Last Updated

-

{{ confirm_modal_dynamic( 'toggleStatusModal', 'Toggle User Status', "merchantUser?.is_active ? 'Are you sure you want to deactivate \"' + (merchantUser?.full_name || merchantUser?.username || '') + '\"?' : 'Are you sure you want to activate \"' + (merchantUser?.full_name || merchantUser?.username || '') + '\"?'", 'toggleStatus()', 'showToggleStatusModal', 'Confirm', 'Cancel', 'warning' ) }} {{ confirm_modal_dynamic( 'deleteUserModal', 'Delete User', "'Are you sure you want to delete \"' + (merchantUser?.full_name || merchantUser?.username || '') + '\"? This action cannot be undone.'", 'confirmDeleteStep()', 'showDeleteModal', 'Continue', 'Cancel', 'danger' ) }} {{ confirm_modal_dynamic( 'deleteUserFinalModal', 'Final Confirmation', "'Are you absolutely sure you want to delete \"' + (merchantUser?.full_name || merchantUser?.username || '') + '\"?'", 'deleteUser()', 'showDeleteFinalModal', 'Delete Permanently', 'Cancel', 'danger' ) }}
{% endblock %} {% block extra_scripts %} {% endblock %}