@extends('layouts.app') @section('title', 'Channel Details') @section('content')
Channel Type:
@if($channel->channel_type == 'email')
Email
@else
WhatsApp
@endif
Identifier:
{{ $channel->channel_type == 'email' ? $channel->username : $channel->phone_number }}
Status:
{{ ucfirst($channel->status) }}
Ticket Source:
{{ $channel->ticketSource->name ?? '--' }}
Queue:
{{ $channel->queue->name ?? '--' }}
Last Sync:
{{ $channel->last_sync_at ? formatDateTime($channel->last_sync_at) : '--' }}
Created On:
{{ formatDateTime($channel->created_at) }}
Inbound: @if($channel->is_inbound) Yes @else No @endif
Outbound: @if($channel->is_outbound) Yes @else No @endif
@else
Provider:
{{ ucfirst(str_replace('_', ' ', $channel->provider)) }}
Business Account ID:
{{ $channel->business_account_id ?? '--' }}