@extends('backend.superadmin.index') @section('body')

{{$post_type}} List

@if(session('success'))
@endif @if(session('error'))
@endif @if($errors->any())
@endif
Category
Type
Status
@foreach($notices as $key=>$notice) @endforeach
SN Image Title Category Type Status By Action
{{++$key}} @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 {{\Illuminate\Support\Str::limit($notice->title,50)}} @if(isset($notice->category->name)) {{$notice->category->name}} @else Not Found @endif @if($notice->type=='General') {{$notice->type}} @else {{$notice->type}} @endif @if($notice->status=='Inactive')
{{csrf_field()}}
@else
{{csrf_field()}}
@endif
{{$notice->user->name}}
@endsection