@extends('backend.superadmin.index') @section('body') {{$post_type}} List {{$post_type}} 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 {{$post_type}} Details Description {{csrf_field()}} Title * Category* --Choose-- @foreach($types as $type) noctice_cat_id==$type->id) selected @endif>{{$type->name}} @endforeach category not found? Add Category Post Date* Expiry Date Type* --Choose Type-- type=='General') selected @endif>General type=='Featured') selected @endif>Featured @php if (isset($notice->client_id)){ $client = \App\Client\Client::find($notice->client_id); $user = \App\User::find($client->user_id); $image_url = config('filesystems.asset').'/'.'clients'.'/'.$user->name.'/notice'; }else{ $image_url = config('filesystems.asset').'/'.'notice'; } @endphp @if (isset($notice->image)) @else @endif Featured Image Choose file {{$post_type}} Related* --Choose-- notice_type=='Normal') selected @endif>Normal notice_type=='Directory') selected @endif>Directory notice_type=='Directory') @else style="display: none;" @endif> Directory* --Choose-- @foreach($clients as $client) client_id==$client->id) selected @endif>{{$client->company_name}} @endforeach {{$notice->details}} Previous Next Update {{csrf_field()}} Add Category New Category Name* Close Add @endsection @section('script') @endsection