@extends('layouts.master') @section('title'){{translate('loan transaction')}} @endsection @section('content')
{{translate('loan transaction')}}
@if(!empty($loan_transaction->receipt)) @endif @foreach($custom_fields as $key) @if(!empty($key->custom_field)) @endif @endforeach
{{translate('id')}} {{$loan_transaction->id}}
{{translate('type')}} @if($loan_transaction->transaction_type=='disbursement') {{translate('disbursement')}} @endif @if($loan_transaction->transaction_type=='specified_due_date') {{translate('specified_due_date')}} {{translate('fee')}} @endif @if($loan_transaction->transaction_type=='installment_fee') {{translate('installment_fee')}} @endif @if($loan_transaction->transaction_type=='overdue_installment_fee') {{translate('overdue_installment_fee')}} @endif @if($loan_transaction->transaction_type=='loan_rescheduling_fee') {{translate('loan_rescheduling_fee')}} @endif @if($loan_transaction->transaction_type=='overdue_maturity') {{translate('overdue_maturity')}} @endif @if($loan_transaction->transaction_type=='disbursement_fee') {{translate('disbursement charge')}} @endif @if($loan_transaction->transaction_type=='interest') {{translate('interest applied')}} @endif @if($loan_transaction->transaction_type=='repayment') {{translate('repayment')}} @endif @if($loan_transaction->transaction_type=='write_off_recovery') {{translate('recovery repayment')}} @endif @if($loan_transaction->transaction_type=='penalty') {{translate('penalty')}} @endif @if($loan_transaction->transaction_type=='interest_waiver') {{translate('interest waiver')}} @endif @if($loan_transaction->transaction_type=='charge_waiver') {{translate('charge waiver')}} @endif @if($loan_transaction->transaction_type=='write_off') {{translate('write_off')}} @endif @if($loan_transaction->transaction_type=='pay_off') {{translate('pay_off applied')}} @endif
{{translate('date')}} {{$loan_transaction->date}}
{{translate('amount')}} @if($loan_transaction->credit>$loan_transaction->debit) {{currency_converter($loan_transaction->credit)}} @else {{currency_converter($loan_transaction->debit)}} @endif
{{translate('receipt')}} {{$loan_transaction->receipt}}
{{translate('note')}} {{$loan_transaction->notes}}
{{$key->custom_field->name}} {{$key->name}}
@endsection