@extends('layouts.app') @section('title', 'API Transceivers') @section('breadcrumb') @endsection @section('styles') @endsection @section('content')

API Transceivers

Add New Transceiver
Total Transceivers
{{ $api_transceivers->total() }}
Active Transceivers
{{ $api_transceivers->where('is_active', true)->count() }}
Auto Sync Enabled
{{ $api_transceivers->where('auto_sync', true)->count() }}
Bidirectional
{{ $api_transceivers->where('direction', 'bidirectional')->count() }}
All Transceivers
@forelse($api_transceivers as $transceiver) @empty @endforelse
Name & Description API Client Source (Receiver) Target Status Actions
{{ $transceiver->name }}
@if($transceiver->description)
{{ Str::limit($transceiver->description, 50) }}
@endif
@if($transceiver->apiClient)
{{ $transceiver->apiClient->name }} ID: {{ Str::limit($transceiver->apiClient->client_id, 8) }}
@else Not Set @endif
@if($transceiver->receiver)
{{ $transceiver->receiver->name }}
/api/in/{{ $transceiver->receiver->endpoint }}
@else Not Set @endif
@if($transceiver->target)
{{ $transceiver->target->name }}
{{ Str::limit($transceiver->target->endpoint, 30) }}
@else Not Set @endif
{{ $transceiver->is_active ? 'Active' : 'Inactive' }} @if($transceiver->auto_sync) Auto Sync @if($transceiver->sync_interval) ({{ $transceiver->sync_interval }}m) @endif @endif @if($transceiver->direction === 'bidirectional') Bidirectional @endif
@if($transceiver->auto_sync) @endif
No Transceivers Found

Start by creating your first API transceiver.

Create Transceiver
Showing {{ $api_transceivers->firstItem() ?? 0 }} to {{ $api_transceivers->lastItem() ?? 0 }} of {{ $api_transceivers->total() ?? 0 }} transceivers
{{ $api_transceivers->links() }}
@endsection @section('scripts') @endsection