@extends('Customer.customer-layout') @section('body') @include('Customer.left-menu')

Token List

Token List
@php // The description is written by staff and can carry internal network // detail, so the setting can keep it off the customer's view. // Category(Code) always shows — it tells the customer what the token is // about without exposing anything internal. $showTokenDetails = !globalPermission('hide-token-details-in-customer-portal'); @endphp @if ($showTokenDetails) @endif @foreach ($token as $r) @if ($showTokenDetails) @endif @endforeach
ID Token# Category(Code)DescriptionNote Info Contact Creator Assigned
{{ $r->id }} T.ID : {{ $r->token }}
Create Time : {{ date('d-M-Y g:i: a ', strtotime($r->created_at)) }}
@if ($r->status == 'Active') Pending @else Closed @endif
{{ $r->category->tokenCategory ?? '' }} ({{ $r->Code->tokenCode ?? '' }}){{ $r->description }} @include('Customer.tokenNotes', ['token' => $r])

@if (!empty($r->clients->clientsInfo->clients_name)) C Name : {{ $r->clients->clientsInfo->clients_name ?? '' }}
@endif @if (!empty($r->clients->clientsinfo->flat_no)) Flat No: {{ $r->clients->clientsinfo->flat_no ?? '' }}, @endif @if (!empty($r->clients->clientsinfo->building_name)) Building Name: {{ $r->clients->clientsinfo->building_name ?? '' }},
@endif @if (!empty($r->clients->clientsinfo->road_no)) Road No: {{ $r->clients->clientsinfo->road_no ?? '' }},
@endif @if (!empty($r->clients->clientsinfo->block_sector)) Block/Sector: {{ $r->clients->clientsinfo->block_sector ?? '' }}, @endif @if (!empty($r->clients->clientsinfo->area)) Area : {{ $r->clients->clientsinfo->area ?? '' }},
@endif @if (!empty($r->clients->clientsinfo->box)) Box : {{ $r->clients->clientsinfo->box ?? '' }} @endif

{{ $r->reporterContact }} {{ $r->creator->name ?? '' }} {{ $r->createByClient ?? '' }} {{ $r->employees->name ?? '' }}
@endsection