% layout 'admin'; % title 'Users'; % content_for javascript => begin % end % if ( my $error = flash 'error' ) { % } elsif ( my $success = flash 'success' ) { % }

User Details

Leave blank unless you want to change their password

% if ( my $customer_rs = $user->entity->customer ) {

Customer Details

% } elsif ( my $org_rs = $user->entity->organisation ) {

Organisation Details

% } else {

User is not a customer or an organisation

% }

Transactions