@push('styles') @endpush
{{-- Profile Header --}}
@if($avatar) @if(str_contains($avatar, 'http')) Staff Avatar @else Staff Avatar @endif @else
@endif

{{ $name }}

{{ $email }}

{{ ucfirst($type) }} Staff
@if($location)
{{ $location->name }}
{{ $location->location }}
@endif
{{-- Flash Messages --}} @if (session()->has('message'))
{{ session('message') }}
@endif @if (session()->has('error'))
{{ session('error') }}
@endif {{-- Upload Progress --}} @if($uploading)
Mengupload foto profil...
@endif {{-- Statistics Grid --}}

{{ number_format($todayQueue) }}

Queue Hari Ini

{{ number_format($totalWaiting) }}

Sedang Menunggu

{{ number_format($totalServed) }}

Telah Dilayani

{{ number_format($totalCancelled) }}

Dibatalkan

{{-- Content Tabs --}}
{{-- Profile Edit Tab --}} @if($activeTab === 'profile')

Profile Information

@error('name')
{{ $message }}
@enderror
@error('email')
{{ $message }}
@enderror
@endif {{-- Security Tab --}} @if($activeTab === 'security')

Change Password

@error('password')
{{ $message }}
@enderror
@endif