ADMIN MANAGEMENT
@php $adminAvatar = $adminAvatar ?? asset('images/bzmtch_logo.png'); @endphp
@if($errors->any())
    @foreach($errors->all() as $e)
  • {{ $e }}
  • @endforeach
@endif

Cashier Accounts

| >

Manage Cashier Accounts

@php $cashiers = $cashiers ?? collect(); @endphp
@if($cashiers->isEmpty())
No cashier accounts found. Click "Add" to create one.
@else
@foreach($cashiers as $cashier)
{{-- Header with overlapping semi-circles --}}
{{-- Avatar overlapping header (centered) --}}
@if($cashier->profile_picture) Photo of {{ $cashier->username }} @else
{{ Str::limit($cashier->full_name ?: $cashier->username, 1) }}
@endif
{{-- Name --}}

{{ $cashier->full_name ?: 'No name yet' }}

{{-- Cashier number pill badge --}}
Cashier No. {{ $cashier->cashier_no ?: '—' }}
{{-- Username & Created --}}

Username: {{ $cashier->username }}

Created: {{ optional($cashier->created_at)->format('Y-m-d H:i') }}

{{-- Buttons: VIEW INFORMATION on its own row --}}
@csrf @method('DELETE')
@endforeach
@endif
@include('admin.partials.inbox')