@extends('layouts.master') @section('title'){{trans_choice('general.charge',2)}} @endsection @section('content')
{{trans_choice('general.charge',2)}}
@if(Sentinel::hasAccess('products.charges.create')) {{trans_choice('general.add',1)}} {{trans_choice('general.charge',1)}} @endif
@foreach($data as $key) @endforeach
{{trans_choice('general.name',1)}} {{trans_choice('general.product',1)}} {{trans_choice('general.type',1)}} {{trans_choice('general.active',1)}} {{trans_choice('general.amount',1)}} {{ trans_choice('general.action',1) }}
{{ $key->name }} @if($key->product=='loan') {{trans_choice('general.loan',1)}} @endif @if($key->product=='savings') {{trans_choice('general.savings',1)}} @endif @if($key->product=='client') {{trans_choice('general.client',1)}} @endif @if($key->product=='shares') {{trans_choice('general.shares',1)}} @endif @if($key->charge_type=='disbursement') {{trans_choice('general.disbursement',1)}} @endif @if($key->charge_type=='specified_due_date') {{trans_choice('general.specified_due_date',2)}} @endif @if($key->charge_type=='installment_fee') {{trans_choice('general.installment_fee',2)}} @endif @if($key->charge_type=='overdue_installment_fee') {{trans_choice('general.overdue_installment_fee',2)}} @endif @if($key->charge_type=='loan_rescheduling_fee') {{trans_choice('general.loan_rescheduling_fee',2)}} @endif @if($key->charge_type=='overdue_maturity') {{trans_choice('general.overdue_maturity',2)}} @endif @if($key->charge_type=='savings_activation') {{trans_choice('general.savings_activation',2)}} @endif @if($key->charge_type=='withdrawal_fee') {{trans_choice('general.withdrawal_fee',2)}} @endif @if($key->charge_type=='monthly_fee') {{trans_choice('general.monthly_fee',2)}} @endif @if($key->charge_type=='annual_fee') {{trans_choice('general.annual_fee',2)}} @endif @if($key->active==1) {{trans_choice('general.yes',1)}} @else {{trans_choice('general.no',1)}} @endif {{$key->amount}} @if($key->charge_option=="flat") {{trans_choice('general.flat',1)}} @endif @if($key->charge_option=="installment_principal_due") % {{trans_choice('general.installment_principal_due',1)}} @endif @if($key->charge_option=="installment_principal_interest_due") % {{trans_choice('general.installment_principal_interest_due',1)}} @endif @if($key->charge_option=="installment_interest_due") % {{trans_choice('general.installment_interest_due',1)}} @endif @if($key->charge_option=="total_due") % {{trans_choice('general.total_due',1)}} @endif @if($key->charge_option=="original_principal") % {{trans_choice('general.original_principal',1)}} @endif @if($key->charge_option=="percentage") % {{trans_choice('general.percentage',1)}} {{trans_choice('general.of',1)}} {{trans_choice('general.amount',1)}} @endif
@endsection @section('footer-scripts') @endsection