@extends('core::layouts.master') @section('title') {{ trans_choice('loan::general.transaction',1) }} {{ trans_choice('core::general.detail',2) }} @endsection @section('content')

{{ trans_choice('loan::general.transaction',1) }} {{ trans_choice('core::general.detail',2) }} {{ trans_choice('core::general.pdf',1) }} {{ trans_choice('core::general.print',1) }} {{ trans_choice('core::general.back',1) }}

@if(!empty($loan_transaction->payment_detail)) @if(!empty($loan_transaction->payment_detail->account_number)) @endif @if(!empty($loan_transaction->payment_detail->cheque_number)) @endif @if(!empty($loan_transaction->payment_detail->routing_code)) @endif @if(!empty($loan_transaction->payment_detail->receipt)) @endif @if(!empty($loan_transaction->payment_detail->bank_name)) @endif @if(!empty($loan_transaction->payment_detail->description)) @endif @endif
{{ trans_choice('core::general.id',1) }} {{$loan_transaction->id}}
{{ trans_choice('core::general.type',1) }} @if($loan_transaction->loan_transaction_type_id == 1) {{trans_choice('loan::general.disbursement',1)}} @endif @if($loan_transaction->loan_transaction_type_id == 2) {{trans_choice('loan::general.repayment',1)}} @endif @if($loan_transaction->loan_transaction_type_id == 3) {{trans_choice('loan::general.contra',1)}} @endif @if($loan_transaction->loan_transaction_type_id == 4) {{trans_choice('loan::general.waive',1)}} {{trans_choice('loan::general.interest',1)}} @endif @if($loan_transaction->loan_transaction_type_id == 5) {{trans_choice('loan::general.repayment',1)}} {{trans_choice('core::general.at',1)}} {{trans_choice('loan::general.disbursement',1)}} @endif @if($loan_transaction->loan_transaction_type_id == 6) {{trans_choice('loan::general.write_off',1)}} @endif @if($loan_transaction->loan_transaction_type_id == 7) {{trans_choice('loan::general.marked_for_rescheduling',1)}} @endif @if($loan_transaction->loan_transaction_type_id == 8) {{trans_choice('loan::general.recovery',1)}} {{trans_choice('loan::general.repayment',1)}} @endif @if($loan_transaction->loan_transaction_type_id == 9) {{trans_choice('loan::general.waive',1)}} {{trans_choice('loan::general.charge',2)}} @endif @if($loan_transaction->loan_transaction_type_id == 10) {{trans_choice('loan::general.fee',1)}} {{trans_choice('loan::general.applied',1)}} @endif @if($loan_transaction->loan_transaction_type_id == 11) {{trans_choice('loan::general.interest',1)}} {{trans_choice('loan::general.applied',1)}} @endif
{{ trans_choice('core::general.date',1) }} {{$loan_transaction->submitted_on}}
{{ trans_choice('core::general.amount',1) }} {{number_format($loan_transaction->amount,$loan_transaction->loan->decimals)}}
{{ trans_choice('core::general.payment',1) }} {{ trans_choice('core::general.detail',2) }}
{{ trans_choice('core::general.payment',1) }} {{ trans_choice('core::general.type',1) }} @if(!empty($loan_transaction->payment_detail->payment_type)) {{$loan_transaction->payment_detail->payment_type->name}} @endif
{{ trans_choice('core::general.account',1) }}# {{$loan_transaction->payment_detail->account_number}}
{{ trans_choice('core::general.cheque',1) }}# {{$loan_transaction->payment_detail->cheque_number}}
{{ trans_choice('core::general.routing_code',1) }} {{$loan_transaction->payment_detail->routing_code}}
{{ trans_choice('core::general.receipt',1) }}# {{$loan_transaction->payment_detail->receipt}}
{{ trans_choice('core::general.bank',1) }}# {{$loan_transaction->payment_detail->bank_name}}
{{ trans_choice('core::general.description',1) }} {{$loan_transaction->payment_detail->description}}
@endsection @section('scripts') @endsection