@extends('tellers.drawers.base') @section('action-content')

Teller Drawers

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@forelse($drawers as $drawer) @empty @endforelse
# Teller Date Opening Balance Closing Balance Status Action
{{ $loop->iteration }} {{ $drawer->user->name ?? 'N/A' }} {{ \Carbon\Carbon::parse($drawer->date)->format('d M Y') }} {{ number_format($drawer->opening_balance, 2) }} {{ $drawer->status === 'closed' ? number_format($drawer->closing_balance, 2) : '—' }} {{ ucfirst($drawer->status) }} View
No teller drawers found
{{ $drawers->links() }}
@endsection