@extends('layouts.app') @section('title', 'My Profile - ' . setting('system_name')) @section('content')

{{ $user->name }}

{{ $user->email }} @if($user->roles->isNotEmpty()) · {{ $user->roles->pluck('display_name')->filter()->join(', ') ?: $user->roles->pluck('name')->join(', ') }} @endif
{{-- Name and email --}}
My details

Your name appears on receipts, reports and the activity log.

@if (session('status') === 'profile-updated')
Your details were saved.
@endif
@csrf @method('PATCH')
@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
{{-- Password --}}
Change password

Use a password nobody else at the shop knows.

@if (session('status') === 'password-updated')
Your password was changed.
@endif
@csrf @method('PUT')
@foreach($errors->updatePassword->get('current_password') as $message)
{{ $message }}
@endforeach
@foreach($errors->updatePassword->get('password') as $message)
{{ $message }}
@endforeach
@foreach($errors->updatePassword->get('password_confirmation') as $message)
{{ $message }}
@endforeach

To remove a staff account, an admin can do it under User Management → Users.

@endsection