@extends('layouts.app') @section('title', 'Accounting Ledger') @section('content')

Transactions

Transactions

@can('account.view-ledger')
@foreach($banking as $entry) @endforeach
User Location Transaction Type Credit/Debit Amount Added On Type Note
{{$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'] ?? '' !!}
{{$banking->links()}}
@endcan
@endsection @section('javascript') @endsection