@extends('layouts.app') @section('content') @include('business_documents.styles')

{{ $isReport?'Till Collections Report':'Till Collections' }}

Back @if(!$isReport && auth()->user()->hasPermission('till_collections.create'))@endif @if($isReport && auth()->user()->hasPermission('reports.export'))Export CSV@endif @if($isReport && auth()->user()->hasPermission('reports.print'))@endif
@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())@endif @include('cash_movements.filters')
@if(!$isReport)@endif @forelse($rows as $row) @if(!$isReport)@endif @empty@endforelse
DateRef.BranchShiftCashierRecorded ByReceived ByDestinationAmountStatusAction
{{ $row->collected_at->format('d M Y H:i') }}{{ $row->reference }}{{ $row->branch?->name }}{{ $row->shift?->shift_no }}{{ $row->cashier?->name }}{{ $row->collector?->name }}{{ $row->receiver?->name }}{{ $row->destinationAccount?->account_name }}{{ \App\Models\SystemSetting::formatMoney($row->amount) }}{{ ucfirst($row->status) }}@if($row->reversed_at)
{{ $row->reversed_at->format('d M Y H:i') }}
{{ $row->reversal_reason }}
@endif
@if(auth()->user()->hasPermission('till_collections.print'))Receipt@endif @if($row->status==='posted' && (!$row->shift_id || $row->shift?->status==='open') && auth()->user()->hasPermission('till_collections.reverse'))@endif
No till collections found.
Posted Collections (Filtered Total){{ \App\Models\SystemSetting::formatMoney($total) }}
Reversed Collections (Excluded Above){{ \App\Models\SystemSetting::formatMoney($reversed) }}
{{ $rows->links() }} @if(!$isReport && auth()->user()->hasPermission('till_collections.create')) @endif @if(!$isReport && auth()->user()->hasPermission('till_collections.reverse'))@endif
@endsection