@extends('layouts.master') @section('title') {{trans_choice('general.custom_field',2)}} @endsection @section('content')

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

@if(Sentinel::hasAccess('custom_fields.create')) {{trans_choice('general.add',2)}} {{trans_choice('general.custom_field',1)}}
@endif
@foreach($data as $key) @endforeach
{{trans_choice('general.name',1)}} {{trans_choice('general.category',1)}} {{trans_choice('general.required',1)}} {{trans_choice('general.field',1)}} {{trans_choice('general.type',1)}} {{ trans_choice('general.action',1) }}
{{ $key->name }} @if($key->category=="loans") {{trans_choice('general.loan',2)}} @endif @if($key->category=="clients") {{trans_choice('general.client',2)}} @endif @if($key->category=="savings") {{trans_choice('general.savings',2)}} @endif @if($key->category=="groups") {{trans_choice('general.group',2)}} @endif @if($key->category=="offices") {{trans_choice('general.branch',2)}} @endif @if($key->category=="users") {{trans_choice('general.user',2)}} @endif @if($key->category=="collateral") {{trans_choice('general.collateral',1)}} @endif @if($key->category=="guarantors") {{trans_choice('general.guarantor',2)}} @endif @if($key->category=="repayments") {{trans_choice('general.repayment',2)}} @endif @if($key->category=="expenses") {{trans_choice('general.expense',2)}} @endif @if($key->category=="other_income") {{trans_choice('general.other_income',2)}} @endif @if($key->category=="repayments") {{trans_choice('general.repayment',2)}} @endif @if($key->required==0) {{trans_choice('general.no',1)}} @else {{trans_choice('general.yes',1)}} @endif @if($key->field_type=="number") {{trans_choice('general.number_field',1)}} @endif @if($key->field_type=="textfield") {{trans_choice('general.text_field',1)}} @endif @if($key->field_type=="textarea") {{trans_choice('general.text_area',1)}} @endif @if($key->field_type=="decimal") {{trans_choice('general.decimal_field',1)}} @endif @if($key->field_type=="date") {{trans_choice('general.date_field',1)}} @endif @if($key->field_type=="radiobox") {{trans_choice('general.radio_box',1)}} @endif @if($key->field_type=="select") {{trans_choice('general.select',1)}} @endif @if($key->field_type=="checkbox") {{trans_choice('general.checkbox',1)}} @endif
@endsection @section('footer-scripts') @endsection