{{--
--}}

Transaction details

{{-- Client {{ $loan->client->cl_firstname . ' ' . $loan->client->cl_lastname . ' (' . $loan->client->cl_id_no . ')'}} --}}
{{-- @if ($loan->id <> 2) --}} @if (!empty($loan->id)) @endif {{-- @isset($cashbook->attachments) @foreach ($cashbook->attachments as $file) @endforeach @endisset --}}
Transaction date {{ $cashbook->transaction_dt }}
Description {{ $cashbook->description }}
Client {{ $loan->client->cl_firstname . ' ' . $loan->client->cl_lastname . ' (' . $loan->client->cl_id_no . ')' }}
Amount {{ number_format($cashbook->amount,2,'.','.') }}
Transaction Type {{ $cashbook->type }}
Payment method {{ $cashbook->pay_menthod }}
Transaction date {{ 'N$ ' . $cashbook->transaction_dt }}
Date captured {{ $cashbook->created_at }}
{{ $file->category }} View attachement
Captured by {{ auth()->user()->name }}
{{--

Loan transactions

@if(!isset($transactions)) @else @foreach ($transactions as $transact) @endforeach @endif
Transaction date Reference Transaction amount (N$)
No transaction payment recorded for this loan
{{ $transact->transaction_dt }} {{ $transact->description }} {{ number_format( $transact->amount,2,'.',',') }}
Total N$ {{ number_format($total_trans,2,'.',',') }}
Loan balance N$ {{ number_format(($loan->total_amt - $total_trans),2,'.',',') }}
--}}