@extends('layouts.app') @section('title', 'CBMS Sync (IRD)') @section('content')

CBMS Sync Log

@if (!$configured)
Not connected to IRD's CBMS yet. Every finalized invoice below is logged as "skipped — not configured" — nothing is actually sent until this business has IRD's approval and real API credentials. Once you have them, set CBMS_ENABLED=true, CBMS_ENDPOINT, and CBMS_API_KEY in .env and this starts pushing automatically — no other setup needed.
@else
CBMS sync is configured and active.
@endif @forelse ($logs as $log) @empty @endforelse
InvoiceStatusAttemptsSent At
{{ $log->order->invoice_number ?? $log->order->order_number }} {{ str_replace('_',' ',ucfirst($log->status)) }} {{ $log->attempts }} {{ $log->sent_at?->format('d M Y h:i A') ?? '-' }}
No invoices yet.
{{ $logs->links() }} @endsection