@if(session('error'))
{{ session('error') }}
@endif
ID |
Token |
Code |
Date |
Description |
Username |
Address |
Reporter |
Contact |
Assigned |
Creator |
Creator(Client) |
Remarks |
@foreach ($token as $r)
{{ $r->id }} |
{{ $r->token }} |
{{ $r->Code->tokenCode ?? '' }} |
{{ $r->created_at }} |
{{ $r->description }} |
{{ $r->clients->userid ?? '' }}
|
@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->reportedBy }} |
{{ $r->reporterContact }} |
{{ $r->employees->name ?? '' }} |
{{ $r->creator->name ?? '' }} |
{{ $r->createByClient }} |
|
@endforeach
{{-- {{ $employees->links() }} --}}