@extends('user.layouts') @section('title', 'Category Request History') @section('header') @endsection @section('content')
| SN | REQUEST DATE | AGENT NAME | CATEGORY NAME | CATEGORY NAME MALAYALAM | IMAGE | STATUS |
|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{-- REQUEST DATE AND TIME --}}
@if($createdDate)
{{ $createdDate->format('d-m-Y') }}
{{ $createdDate->format('h:i A') }}
@else
-
@endif
|
{{-- AGENT NAME --}}
{{ $initial }}
{{ $agentName }}
|
{{-- CATEGORY NAME --}}
{{ $service->category_name ?? '-' }} | {{-- MALAYALAM NAME --}}{{ $service->category_name_malayalam ?? '-' }} | {{-- IMAGE --}}@if(!empty($service->image)) @else No Image @endif | {{-- STATUS --}}@if($status === 'approved') Approved @elseif($status === 'rejected') Rejected @else Pending @endif |