{{--
--}}

Debit/Inward


@php $count = 0; // $txt_color = 'txt-green'; @endphp @foreach ($dr_entries as $entry) @php $txt_color = ('CR' == $entry->type )? 'txt-red' : 'txt-green' ; $symbol = ('CR' == $entry->type )? '-' : '' ; @endphp {{-- @php $dr_total += $entry->amount; @endphp --}} @endforeach
Cashbook transactions
# Captured date Transaction Date Description Amount (N$)
{{ ++$count }} {{ $entry->created_at }} {{ $entry->transaction_dt }} {{ $entry->description }} {{ $symbol . ' ' . number_format($entry->amount ,2,'.',',') }} {{ $entry->type}}
Total DR (Money In) N$ {{ number_format($total_dr,2,'.',',') }} Total CR (Money out) N$ {{ number_format($total_cr,2,'.',',') }}