@extends('layouts.master') @section('title') {{translate('custom_field')}} @endsection @section('content')
{{translate('custom_field')}}
@if(Sentinel::hasAccess('custom_fields.create')) {{translate('add custom_field')}} @endif
@foreach($data as $key) @endforeach
{{translate('name')}} {{translate('category')}} {{translate('required field')}} {{translate('type')}} {{ translate('action') }}
{{ $key->name }} @if($key->category=="borrowers") {{translate('add borrower')}} @endif @if($key->category=="expenses") {{translate('add expense')}} @endif @if($key->category=="other_income") {{translate('add other_income')}} @endif @if($key->category=="collateral") {{translate('add collateral')}} @endif @if($key->category=="loans") {{translate('add loan')}} @endif @if($key->category=="repayments") {{translate('add repayment')}} @endif @if($key->required==0) {{translate('no')}} @else {{translate('yes')}} @endif @if($key->field_type=="number") {{translate('number_field')}} @endif @if($key->field_type=="textfield") {{translate('text_field')}} @endif @if($key->field_type=="textarea") {{translate('textarea')}} @endif @if($key->field_type=="decimal") {{translate('decimal_field')}} @endif @if($key->field_type=="date") {{translate('date_field')}} @endif
@endsection @section('footer-scripts') @endsection