@extends('layout.app') @section('content')
| ID | Token# | Category(Code) | Description | Source | Creator | Reseller | POP | Customer ID UserName |
Customer Info | Reporter Contact |
Assigned | Token Type | ONU | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $r->id }} |
{{-- Token ID --}}
TKN
{{ $r->token }}
{{-- Created Time --}}
@if (!$r->close_time)
{{ dateTimeDifferent(now(), $r->assign_time) }} ago · not
closed
@endif
{{ dateTimeDifferent(now(), $r->created_at) }} ago · not assigned
@endif
{{-- Work Start / Solve Time --}}
@if ($r->work_start_time)
Solved in {{ dateTimeDifferent($r->close_time, $r->work_start_time) }}
@else
Live
--:--:--
@endif
@endif
|
{{ $r->category->tokenCategory ?? '' }} ({{ $r->Code->tokenCode ?? '' }}) | {{ $r->description }} | @if ($r->token_source == 'CRM') {{ $r->token_source }} @else {{ $r->token_source }} @endif | {{ $r->creator->name ?? '' }} @if ($r->createByClient) {{ $r->createByClient ?? '' }} @endif | {{ $r->clients->pops->reseller->name ?? '' }} | {{ $r->clients->pops->popname ?? '' }} | {{ $r->clientId }}
{{ $r->clients->userid ?? '' }} |
@if (checkAPI())
@if (array_key_exists($r->clients->userid ?? '', $mikrotik_online_users['onlineUsers']))
Online
@else
Offline
@endif
|
{{ $r->reportedBy }}
{{ $r->reporterContact }} |
@foreach ($r->assignUsers as $assignUser)
{{ $assignUser->employee->name ?? '' }}
@endforeach |
{{ $r->token_type ?? '' }} | @if ($r->onu_status === 'online') {{ $r->onu_power ?? '—' }} @else {{ $r->onu_status ?? '—' }} @endif |
|