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

{{ trans_choice('loan::general.loan',1) }} {{ trans_choice('loan::general.charge',2) }}

@foreach($data as $key) @endforeach
{{ trans_choice('core::general.name',1) }} {{ trans_choice('loan::general.charge',1) }} {{ trans_choice('core::general.type',1) }} {{ trans_choice('core::general.amount',1) }} {{ trans_choice('core::general.active',1) }} {{ trans_choice('core::general.action',1) }}
{{$key->name}} @if($key->loan_charge_type_id==1) {{trans_choice('loan::general.disbursement', 1)}} @endif @if($key->loan_charge_type_id==2) {{trans_choice('loan::general.specified_due_date', 1)}} @endif @if($key->loan_charge_type_id==3) {{trans_choice('loan::general.installment', 1)}} {{trans_choice('loan::general.fee', 2)}} @endif @if($key->loan_charge_type_id==4) {{trans_choice('loan::general.overdue', 1)}} {{trans_choice('loan::general.installment', 1)}} {{trans_choice('loan::general.fee', 2)}} @endif @if($key->loan_charge_type_id==5) {{trans_choice('loan::general.disbursement_paid_with_repayment', 1)}} @endif @if($key->loan_charge_type_id==6) {{trans_choice('loan::general.loan_rescheduling_fee', 1)}} @endif @if($key->loan_charge_type_id==7) {{trans_choice('loan::general.overdue_on_loan_maturity', 1)}} @endif @if($key->loan_charge_type_id==8) {{trans_choice('loan::general.last_installment_fee', 1)}} @endif @if($key->loan_charge_option_id==1) {{number_format($key->amount, 2)}} {{trans_choice('loan::general.flat', 1)}} @endif @if($key->loan_charge_option_id==2) {{number_format($key->amount, 2)}} % {{trans_choice('loan::general.principal_due_on_installment', 1)}} @endif @if($key->loan_charge_option_id==3) {{number_format($key->amount, 2)}} % {{trans_choice('loan::general.principal_interest_due_on_installment', 1)}} @endif @if($key->loan_charge_option_id==4) {{number_format($key->amount, 2)}} % {{trans_choice('loan::general.interest_due_on_installment', 1)}} @endif @if($key->loan_charge_option_id==5) {{number_format($key->amount, 2)}} % {{trans_choice('loan::general.total_outstanding_loan_principal', 1)}} @endif @if($key->loan_charge_option_id==6) {{number_format($key->amount, 2)}} % {{trans_choice('loan::general.percentage_of_original_loan_principal_per_installment', 1)}} @endif @if($key->loan_charge_option_id==7) {{number_format($key->amount, 2)}} % {{trans_choice('loan::general.original_loan_principal', 1)}} @endif @if($key->active==1) {{trans_choice('core::general.yes', 1)}} @else {{trans_choice('core::general.no', 1)}} @endif
@endsection @section('scripts') @endsection