@extends('admin.layout') @section('title', 'Service Request History') @section('header') @endsection @section('content')
| SN | DATE | NAME | PHONE NO | REQUEST DATE | CATEGORY | SUB-CATEGORY | USER ID | BUSINESS NAME | REMARK | STATUS |
|---|---|---|---|---|---|---|---|---|---|---|
| {{ $key + 1 }} | {{ \Carbon\Carbon::parse($item->created_at)->format('m/d/Y') }} | {{ $item->name }} | {{ $item->phone_number }} | {{ \Carbon\Carbon::parse($item->created_at)->format('m/d/Y') }} | {{ $item->category_name }} | {{ $item->subcategory_name ?? 'N/A' }} | {{ $item->userid }} | {{ $item->business_name }} | {{ $item->remark }} | @if($item->status == 'accepted') Accepted @elseif($item->status == 'declined') Declined @else Pending @endif |