@extends('layouts.user') @section('title', 'Incident Summary') @section('content')
Incident Summary Incident Counts Banned Employees Credentials
@forelse($incidents as $row) @empty @endforelse
Date Duty # Employee Site Subject Description Gallery
{{ \Carbon\Carbon::parse($row->created_at)->format('M d, Y H:i') }} #{{ $row->duty_number }} {{ $row->first_name }} {{ $row->last_name }} {{ $row->site_name }} {{ $row->subject }} {{ Str::limit($row->description, 50) }} @php $images = json_decode($row->images, true); @endphp @if(!empty($images) && count($images) > 0) @else - @endif
No incidents reported.
@if($incidents->hasPages())
{{ $incidents->withQueryString()->links() }}
@endif
@endsection