@extends('layouts.app') @section('title', 'API Target Details') @section('breadcrumb')
{{ $apiTarget->name }}
{{ $apiTarget->is_active ? 'Active' : 'Inactive' }}
{{ $apiTarget->description }}
{{ $apiTarget->method }}
{{ $apiTarget->source_table }}
{{ $apiTarget->auth_type == 'none' ? 'None' : ucfirst(str_replace('_', ' ', $apiTarget->auth_type)) }}
{{ ucfirst($apiTarget->schedule_type) }} @if($apiTarget->schedule_frequency && $apiTarget->schedule_type !== 'manual') Every {{ $apiTarget->schedule_frequency }} {{ $apiTarget->schedule_type == 'hourly' ? 'hour(s)' : ($apiTarget->schedule_type == 'daily' ? 'day(s)' : 'week(s)') }} @endif
@if($apiTarget->last_sent_at) {{ $apiTarget->last_sent_at->format('d M Y, H:i:s') }} ({{ $apiTarget->last_sent_at->diffForHumans() }}) @else Never @endif
{{ $apiTarget->created_at->format('d M Y, H:i:s') }} ({{ $apiTarget->created_at->diffForHumans() }})
{{ $apiTarget->updated_at->format('d M Y, H:i:s') }} ({{ $apiTarget->updated_at->diffForHumans() }})