@extends('admin.layout') @section('title', 'Service Request') @section('header') @endsection @section('content')
| SN | {{--NAME | --}}PHONE NO | REQUEST DATE | CATEGORY | SUB-CATEGORY | USER ID | BUSINESS NAME | ACTION |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{--{{ $item->user->name ?? 'N/A' }} | --}}{{ $item->user->phone_number ?? 'N/A' }} | {{ $item->created_at ? $item->created_at->format('Y-m-d') : 'N/A' }} | {{ $item->category_name ?? 'N/A' }} | {{ $item->subcategory_name ?? 'N/A' }} | {{ $item->userid ?? 'N/A' }} | {{ $item->business_name ?? 'N/A' }} | @if ($item) {{-- View Business --}} View Business @else - @endif |