@extends('layouts.master') @section('title') {{ trans_choice('general.edit',1) }} {{ trans_choice('general.loan',1) }} @endsection @section('content')

{{ trans_choice('general.edit',1) }} {{ trans_choice('general.loan',1) }}

{{csrf_field()}}

{{trans_choice('general.charge',2)}}


@foreach($loan->charges as $key) @if(!empty($key->charge)) @endif @endforeach
{{trans_choice('general.name',1)}} {{trans_choice('general.amount',1)}} {{trans_choice('general.collected',1)}} {{trans_choice('general.on',1)}}
{{ $key->charge->name }} {{$key->charge->amount}} @if($key->charge->charge_option=="flat") {{trans_choice('general.flat',1)}} @endif @if($key->charge->charge_option=="installment_principal_due") % {{trans_choice('general.installment_principal_due',1)}} @endif @if($key->charge->charge_option=="installment_principal_interest_due") % {{trans_choice('general.installment_principal_interest_due',1)}} @endif @if($key->charge->charge_option=="installment_interest_due") % {{trans_choice('general.installment_interest_due',1)}} @endif @if($key->charge->charge_option=="total_due") % {{trans_choice('general.total_due',1)}} @endif @if($key->charge->charge_option=="original_principal") % {{trans_choice('general.original_principal',1)}} @endif @if($key->charge->charge_option=="percentage") % {{trans_choice('general.percentage',1)}} {{trans_choice('general.of',1)}} {{trans_choice('general.amount',1)}} @endif @if($key->charge->charge_type=='disbursement') {{trans_choice('general.disbursement',1)}} @endif @if($key->charge->charge_type=='specified_due_date') {{trans_choice('general.specified_due_date',2)}} @endif @if($key->charge->charge_type=='installment_fee') {{trans_choice('general.installment_fee',2)}} @endif @if($key->charge->charge_type=='overdue_installment_fee') {{trans_choice('general.overdue_installment_fee',2)}} @endif @if($key->charge->charge_type=='loan_rescheduling_fee') {{trans_choice('general.loan_rescheduling_fee',2)}} @endif @if($key->charge->charge_type=='overdue_maturity') {{trans_choice('general.overdue_maturity',2)}} @endif @if($key->charge->charge_type=='savings_activation') {{trans_choice('general.savings_activation',2)}} @endif @if($key->charge->charge_type=='withdrawal_fee') {{trans_choice('general.withdrawal_fee',2)}} @endif @if($key->charge->charge_type=='monthly_fee') {{trans_choice('general.monthly_fee',2)}} @endif @if($key->charge->charge_type=='annual_fee') {{trans_choice('general.annual_fee',2)}} @endif

{{trans_choice('general.accounting',1)}}


{{trans_choice('general.asset',2)}}

{{trans_choice('general.liability',2)}}

{{trans_choice('general.income',1)}}

{{trans_choice('general.expense',2)}}

@endsection @section('footer-scripts') @endsection