@extends('pos.layout')
@section('title', 'Token ' . $token->token)
@section('receipt')
{{ $company_info->name ?? '' }}
@if (!empty($company_info->mobile))
{{ $company_info->mobile }}
@endif
SUPPORT TOKEN
#{{ $token->token }}
| Created |
{{ $token->created_at ? $token->created_at->format('d-m-Y h:i A') : '' }} |
| Category |
{{ $token->category->tokenCategory ?? '' }} |
| Problem |
{{ $token->Code->tokenCode ?? '' }} |
@if (!empty($token->description))
| Details |
{{ $token->description }} |
@endif
| CID |
{{ $token->clientId }} |
| User ID |
{{ $token->clients->userid ?? '' }} |
| Name |
{{ $token->clients->clientsinfo->clients_name ?? '' }} |
| Contact |
{{ $token->reporterContact ?: $token->clients->clientsinfo->contact_no ?? '' }} |
@php
$info = $token->clients->clientsinfo ?? null;
$address = $info
? collect([$info->flat_no, $info->building_name, $info->road_no, $info->block_sector, $info->area])
->filter()
->implode(', ')
: '';
@endphp
@if ($address !== '')
| Address |
{{ $address }} |
@endif
@if (!empty($token->clients->pop->popname))
| POP |
{{ $token->clients->pop->popname }} |
@endif
| Assigned To |
@forelse ($token->assignUsers as $assignUser)
{{ $assignUser->employee->name ?? '' }}
@empty
{{ $token->employees->name ?? 'Not assigned' }}
@endforelse
|
| Created By |
{{ $token->creator->name ?? $token->createByClient ?? '' }} |
Printed {{ now()->format('d-m-Y h:i A') }}
@endsection