@extends('layouts.app') @section('title', 'My Profile') @section('page', 'profile') @php $initials = collect(preg_split('/\s+/', trim($user->name ?? ''))) ->filter() ->map(fn ($p) => mb_strtoupper(mb_substr($p, 0, 1))) ->take(2) ->implode('') ?: 'U'; @endphp @section('content') @if (session('success')) {{ session('success') }} @endif @if ($errors->any()) {{ $errors->first() }} @endif

My Profile

Update your account details and password.

Role and cash book are managed by an admin.
@csrf @method('PUT')

Account

Your name and email for sign-in and display.

Change password

Leave blank to keep your current password.

@endsection @push('styles') @endpush