@extends('layouts.app') @section('title', 'API Transceiver Details') @section('styles') @endsection @section('content')

{{ $apiTransceiver->name }}

@if(!$apiTransceiver->is_active) @endif
Transceiver Details
@if($apiTransceiver->description) @endif
API Client @if($apiTransceiver->apiClient)
{{ $apiTransceiver->apiClient->name }} Client ID: {{ $apiTransceiver->apiClient->client_id }}
@else Not Set @endif
Name {{ $apiTransceiver->name }}
Direction {{ ucfirst($apiTransceiver->direction) }}
Source (Receiver) @if($apiTransceiver->receiver)
{{ $apiTransceiver->receiver->name }}
/api/in/{{ $apiTransceiver->receiver->endpoint }}
@else Not Set @endif
Target @if($apiTransceiver->target)
{{ $apiTransceiver->target->name }}
{{ $apiTransceiver->target->endpoint }}
@else Not Set @endif
Status
{{ $apiTransceiver->is_active ? 'Active' : 'Inactive' }} @if($apiTransceiver->auto_sync) Auto Sync @if($apiTransceiver->sync_interval) (Every {{ $apiTransceiver->sync_interval }} minutes) @endif @endif
Description {{ $apiTransceiver->description }}
Created At {{ $apiTransceiver->created_at->format('Y-m-d H:i:s') }}
Last Updated {{ $apiTransceiver->updated_at->format('Y-m-d H:i:s') }}
Quick Actions
Edit Transceiver @if($apiTransceiver->is_active) @else @endif @if($apiTransceiver->auto_sync) @endif
Statistics

{{ number_format($apiTransceiver->total_forwarded ?? 0) }}

Total Forwarded

@if($apiTransceiver->last_forwarded_at) {{ $apiTransceiver->last_forwarded_at->diffForHumans() }} @else Never @endif

Last Forwarded
@endsection @section('scripts') @endsection