@if($key->field_type=="number")
required==1) required
@endif value="@if(!empty(\App\Models\CustomFieldMeta::where('custom_field_id',$key->id)->where('parent_id',$savings->id)->where('category','savings')->first())){{\App\Models\CustomFieldMeta::where('custom_field_id',$key->id)->where('parent_id',$savings->id)->where('category','savings')->first()->name}} @endif">
@endif
@if($key->field_type=="textfield")
required==1) required
@endif value="@if(!empty(\App\Models\CustomFieldMeta::where('custom_field_id',$key->id)->where('parent_id',$savings->id)->where('category','savings')->first())){{\App\Models\CustomFieldMeta::where('custom_field_id',$key->id)->where('parent_id',$savings->id)->where('category','savings')->first()->name}} @endif">
@endif
@if($key->field_type=="date")
required==1) required
@endif value="@if(!empty(\App\Models\CustomFieldMeta::where('custom_field_id',$key->id)->where('parent_id',$savings->id)->where('category','savings')->first())){{\App\Models\CustomFieldMeta::where('custom_field_id',$key->id)->where('parent_id',$savings->id)->where('category','savings')->first()->name}} @endif">
@endif
@if($key->field_type=="textarea")
@endif
@if($key->field_type=="decimal")
required==1) required
@endif value="@if(!empty(\App\Models\CustomFieldMeta::where('custom_field_id',$key->id)->where('parent_id',$savings->id)->where('category','savings')->first())){{\App\Models\CustomFieldMeta::where('custom_field_id',$key->id)->where('parent_id',$savings->id)->where('category','savings')->first()->name}} @endif">
@endif
@if($key->field_type=="select")
@endif
@if($key->field_type=="radiobox")
@foreach(explode(',',$key->radio_box_values) as $v)
@endforeach
@endif
@if($key->field_type=="checkbox")
@if(!empty(\App\Models\CustomFieldMeta::where('custom_field_id',$key->id)->where('parent_id',$savings->id)->where('category','savings')->first()))