@extends('backend.master_structure') @section('content') @php $segments = request()->segments(); $group_id = end($segments); use App\DashboardModel; $dash_model_instace = new DashboardModel(); $top_cat_qr = $dash_model_instace->get_top_category(); $url = Request::url(); $word = "si-equipment" @endphp @if(strpos($url, $word) !== false) @php $data_categories_qr = $dash_model_instace->get_data_category($word); @endphp @endif @php use App\MasterModel; $master_instance = new MasterModel(); @endphp @php $group_id = $edit_classified_data->group_id; $data_type = "siequipment_details"; $database = "users_portfolio_groups"; $users_meta_details = $dash_model_instace->get_users_meta_data($group_id,$data_type,$database); @endphp @if(Session::has('data-updated')) @endif

SI Equipments

{!! Form::open(array('url' => '/accounts/siequipments-edit-update', 'id'=>'edit_classified_form', 'method'=>'post', 'files'=> true, 'enctype'=>'multipart/form-data'))!!}

Edit


@foreach($add_classified_form_field as $form_field) @if($form_field->field_type == "YesNo") @foreach($edit_classified_data as $ky => $val) @if($form_field->field_name == $ky)
@if($val == 1) @else @endif @if($val == 0) @else @endif
@endif @endforeach @foreach($users_meta_details as $key1 => $value1) @if($form_field->field_name == $value1->key)
@if($value1->value == 1) @else @endif @if($value1->value == 0) @else @endif
@endif @endforeach @endif @if($form_field->field_type == "Checkbox") @foreach($edit_classified_data as $ky => $val) @if($form_field->field_name == $ky)
@if($val == 1) @else @endif
@endif @endforeach @foreach($users_meta_details as $key1 => $value1) @if($form_field->field_name == $value1->key)
@if($value1->value == 1) @else @endif
@endif @endforeach @endif @if($form_field->field_type == "Text - Single Line") @foreach($edit_classified_data as $ky => $val) @if($form_field->field_name == $ky)
field_required == 1) required @endif>
@endif @endforeach @foreach($users_meta_details as $key1 => $value1) @if($form_field->field_name == $value1->key)
field_required == 1) required @endif>
@endif @endforeach @endif @if($form_field->field_type == "Select") @foreach($edit_classified_data as $ky => $val) @if($form_field->field_name == $ky)
@endif @endforeach @foreach($users_meta_details as $key1 => $value1) @if($form_field->field_name == $value1->key)
@endif @endforeach @endif @if($form_field->field_type == "Textarea") @foreach($edit_classified_data as $ky => $val) @if($form_field->field_name == $ky)
@endif @endforeach @foreach($users_meta_details as $key1 => $value1) @if($form_field->field_name == $value1->key)
@endif @endforeach @endif @if($form_field->field_type == "Custom") @if($form_field->field_name == "group_desc") @foreach($edit_classified_data as $key => $value) @if($form_field->field_name == $key)
@endif @endforeach @elseif($form_field->field_name == 'group_category') @foreach($edit_classified_data as $key => $value) @if($form_field->field_name == $key)
@endif @endforeach @elseif($form_field->field_name == 'group_photo')
field_required == 1) required @endif onchange="ValidateSingleInput(this);" data-height="180" />
@endif @endif @endforeach
{!! Form::close()!!}
@endsection