@extends('backend.master_structure') @section('content') @php $segments = request()->segments(); $group_id = end($segments); use App\DashboardModel; $dash_model_instace = new DashboardModel(); $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 @if(Session::has('data-added')) @elseif(Session::has('img-added')) @endif

SI Equipments

Upload Photos


{!! Form::open(array('url' => '/accounts/siequipments-photo-upload', 'id'=>'add_classified_photo_form', 'method'=>'post', 'files'=> true, 'enctype'=>'multipart/form-data'))!!}
@foreach($classified_photo_upload_form_field as $form_field) @if($form_field->field_type == "Custom") @if($form_field->field_name == 'group_photo')
field_required == 1) required @endif onchange="ValidateSingleInput(this);" data-height="180" />
@endif @endif @if($form_field->field_type == "Button")
@endif @endforeach
{!! Form::close()!!}
@php $photos_data = $dash_model_instace->get_inserted_users_portfolio_photos($group_id); $photo_count = 1; @endphp @foreach ($photos_data as $photos)
@if($photos->file == NULL) img @else img @endif

Photo Uploaded #{{$photo_count++;}}

Delete
@endforeach
@endsection