@extends('front.layouts.app') @section('content') {!! !empty($reviewPage->banner) ? $reviewPage->title : '' !!} Department Location @if(!empty($locations)) All States @foreach($locations as $locat) {{ ucfirst($locat->location) }} @endforeach @endif Date @if(session('success')) {{ session('success') }} @endif @if(!empty($reviews) > 0) @foreach($reviews as $rev) @if(!empty(getImagesFromCKEditor($rev->describtion))) @else @endif {{ !empty($rev->department) ? ucfirst($rev->department) : ''}} {{ strip_tags(substr($rev->describtion,0,300)) }}... @if(isset($rev->date_of_incident)) {{$rev->officer_name }} {{ $rev->date_of_incident }} @else {{$rev->officer_name }} @endif @endforeach @else No Reviews found @endif @foreach($sortOptions as $key => $value) {{ $value }} @endforeach Apply @if(isset($reviews)) {{ $reviews->links() }} @endif @endsection
Department
Location
Date
{{ strip_tags(substr($rev->describtion,0,300)) }}...