@extends('backend.superadmin.index') @section('body') Edit Event Event List @if(session('success')) Success {{session('success')}} × @endif @if(session('error')) Error {{session('error')}} × @endif @if($errors->any()) @foreach($errors->all() as $error) Error {{$error}} @endforeach × @endif Event Details Description Venue Details Organizer Details {{csrf_field()}} Event Title * Category* --Choose-- @foreach($types as $type) event_type_id==$type->id) selected @endif>{{$type->name}} @endforeach Event Start Date* Event End Date Type* --Choose Type-- type=='General') selected @endif>General type=='Featured') selected @endif>Featured @php if (isset($event->client_id)){ $client = \App\Client\Client::find($event->client_id); $user = \App\User::find($client->user_id); $image_url = config('filesystems.asset').'/'.'clients'.'/'.$user->name.'/event'; }else{ $image_url = config('filesystems.asset').'/'.'event'; } @endphp @if (isset($event->image)) @else @endif Featured Image Choose file @php if (isset($event->client_id)){ $client = \App\Client\Client::find($event->client_id); $user = \App\User::find($client->user_id); $image_url = config('filesystems.asset').'/'.'clients'.'/'.$user->name.'/event'; }else{ $image_url = config('filesystems.asset').'/'.'event'; } @endphp @if (isset($event->banner)) @else @endif Long Banner Image Choose file District * --Choose-- @foreach($districts as $district) district_id==$district->id) selected @endif>{{$district->name}} @endforeach MNP/NP/VDC --Choose-- @foreach($cities as $city) city_id==$city->id) selected @endif>{{$city->name}} {{$city->resident->name}} @endforeach Not Found? Add New City Tole Name* Published?* --Choose-- status=='Active') selected @endif>Yes status=='Pending') selected @endif>No status=='Active') @else style="display: none;" @endif> Publishe Date* Expiry Date* Organizer Type* --Choose-- associate=='Internal') selected @endif>Internal associate=='External') selected @endif>External associate =='Internal') @else style="display: none;" @endif> Organizer* --Choose-- @foreach($clients as $client) client_id==$client->id) selected @endif>{{$client->company_name}} @endforeach associate=='External') @else style="display: none;" @endif> Organizer --Choose-- associate=='External') @else style="display: none;" @endif> Organizer Name* Organizer Address * Organizer Contact Person * @php $image_url = config('filesystems.asset').'/'.'event'; @endphp @if (isset($event->organizer_logo)) @else @endif Organizer Logo Choose file Contact Number * {!! $event->details !!} Previous Next Update @endsection @section('script') @endsection