@extends('front.layouts.app') @section('content') Serch Reviews Department @if(!empty($departments)) @foreach($departments as $depart) {{ $depart->department }} @endforeach @endif Location @if(!empty($locations)) @foreach($locations as $locat) {{ ucfirst($locat->location) }} @endforeach @endif Date @if(session('success')) {{ session('success') }} @endif @if(count($reviews) > 0) @foreach($reviews as $rev) {{ ucfirst($rev->title_name) }} {!! substr($rev->describtion,0,300) !!}... {{$rev->officer_name }}{{ date('h:i A', strtotime($rev->time_of_incident)) }} {{ date('M d',strtotime($rev->date_of_incident)) }} @endforeach @endif @foreach($sortOptions as $key => $value) {{ $value }} @endforeach Apply {{ $reviews->links() }} @endsection
Department
Location
Date