@extends('layouts.master', ['title' => 'POSH Complaints']) @section('contents')

POSH Complaint List

@forelse($complaints as $complaint) @php if ($complaint->status == 'wait') { $color = 'danger'; } elseif ($complaint->status == 'seen') { $color = 'warning'; } else { $color = 'info'; } @endphp @empty @endforelse
S.No. Employee Code Name Subject Description Status Complaint Date Action
{{ $loop->iteration }} {{ $complaint->employee->emp_code }} {{ $complaint->employee->emp_name }} {{ $complaint->subject }} {{ $complaint->description }} {{ date('jS F, Y', strtotime($complaint->created_at)) }} @if (!$complaint->revert) @endif
No Record Found
@endsection {{-- Modals --}} @section('modal') {{-- Posh Details Modal --}} {{-- Response Modal --}} @endsection @section('script') @endsection