@foreach ($cashes as $cash) @endforeach
{{ __('SL') }}. {{ __('Date') }} {{ __('Type') }} {{ __('Payment') }} {{ __('Name') }} {{ __('Amount') }}
{{ $loop->iteration }} {{ formatted_date($cash->date) }} {{ ucwords(str_replace('_', ' ', $cash->platform)) }} {{ ucwords(str_replace('_', ' ', $cash->transaction_type)) }} {{ $cash->user->name ?? '' }} @if ($cash->type == 'credit' || $cash->transaction_type == 'bank_to_cash') {{ currency_format($cash->amount, currency: business_currency()) }} @elseif ($cash->type == 'debit' || $cash->transaction_type == 'cash_to_bank') {{ currency_format(-$cash->amount, currency: business_currency()) }} @endif