| {{trans_choice('general.journal',2)}} {{trans_choice('general.report',1)}} |
| {{trans_choice('general.office',1)}} :
|
@if($office_id!=0)
{{\App\Models\Office::find($office_id)->name}}
@endif
|
{{trans_choice('general.from',1)}} {{$start_date}} {{trans_choice('general.to',1)}} {{$end_date}} |
|
| {{trans_choice('general.id',1)}} |
{{trans_choice('general.reference',1)}} |
{{trans_choice('general.transaction',1)}} {{trans_choice('general.type',1)}} |
{{trans_choice('general.date',1)}} |
{{trans_choice('general.gl_code',1)}} |
{{trans_choice('general.account',1)}} |
{{trans_choice('general.debit',1)}} |
{{trans_choice('general.credit',1)}} |
@foreach($data as $key)
| {{ $key->id }} |
{{ $key->reference }} |
@if($key->transaction_type=='disbursement')
{{trans_choice('general.disbursement',1)}}
@endif
@if($key->transaction_type=='accrual')
{{trans_choice('general.accrual',1)}}
@endif
@if($key->transaction_type=='deposit')
{{trans_choice('general.deposit',1)}}
@endif
@if($key->transaction_type=='withdrawal')
{{trans_choice('general.withdrawal',1)}}
@endif
@if($key->transaction_type=='manual_entry')
{{trans_choice('general.manual_entry',2)}}
@endif
@if($key->transaction_type=='pay_charge')
{{trans_choice('general.pay',1)}} {{trans_choice('general.charge',1)}}
@endif
@if($key->transaction_type=='transfer_fund')
{{trans_choice('general.transfer_fund',1)}} {{trans_choice('general.charge',2)}}
@endif
@if($key->transaction_type=='expense')
{{trans_choice('general.expense',1)}}
@endif
@if($key->transaction_type=='payroll')
{{trans_choice('general.payroll',1)}}
@endif
@if($key->transaction_type=='income')
{{trans_choice('general.income',1)}}
@endif
@if($key->transaction_type=='penalty')
{{trans_choice('general.penalty',1)}}
@endif
@if($key->transaction_type=='fee')
{{trans_choice('general.fee',1)}}
@endif
@if($key->transaction_type=='close_write_off')
{{trans_choice('general.write',1)}} {{trans_choice('general.waiver',2)}}
@endif
@if($key->transaction_type=='repayment_recovery')
{{trans_choice('general.repayment',1)}}
@endif
@if($key->transaction_type=='repayment')
{{trans_choice('general.repayment',1)}}
@endif
@if($key->transaction_type=='interest_accrual')
{{trans_choice('general.interest',1)}} {{trans_choice('general.accrual',1)}}
@endif
@if($key->transaction_type=='fee_accrual')
{{trans_choice('general.fee',1)}} {{trans_choice('general.accrual',1)}}
@endif
|
{{$key->date}}
|
@if(!empty($key->gl_account))
{{ $key->gl_account->gl_code }} |
{{ $key->gl_account->name }} |
@else
|
|
@endif
{{ number_format($dr,2) }} |
{{ number_format($cr,2) }} |
@endforeach
|