@extends('layouts.master') @section('title') {{trans_choice('general.journal',1)}} {{trans_choice('general.entry',2)}} @endsection @section('content')
{{csrf_field()}}
{{trans_choice('general.reset',1)}}!
@if(!empty($start_date))
@foreach($data as $key) @endforeach
# {{trans_choice('general.transaction',1)}} {{trans_choice('general.id',1)}} {{trans_choice('general.transaction',1)}} {{trans_choice('general.type',1)}} {{trans_choice('general.date',1)}} {{trans_choice('general.office',1)}} {{trans_choice('general.account',1)}} {{trans_choice('general.debit',1)}} {{trans_choice('general.credit',1)}}
{{ $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->office)) {{ $key->office->name }} @endif @if(!empty($key->gl_account)) {{ $key->gl_account->name }} @endif {{ number_format($key->debit,2) }} {{ number_format($key->credit,2) }} @if($key->reconciled==1) {{trans_choice('general.reconciled',1)}} @else {{trans_choice('general.unreconciled',1)}} @endif
@endif @endsection @section('footer-scripts') @endsection