@can('account.view-ledger')
User |
Location |
Transaction Type |
Credit/Debit |
Amount |
Added On |
Type |
Note |
@foreach($banking as $entry)
{{$entry['first_name']}} |
@if(isset($entry['location_id']))
@php
$location = App\BusinessLocation::find($entry['location_id']);
@endphp
{{$location->name}}
@else
--
@endif
|
{{$entry['transaction_type']}} |
{{$entry['credit_type']}} |
{{$entry['amount']}} |
{{date('F d, Y', strtotime($entry['invoice_date']))}} |
{{$entry['type']}} |
{!!$entry['note'] ?? '' !!} |
@endforeach
{{$banking->links()}}
|
@endcan