@extends('layouts/layoutMaster') @section('title', ($providerDetails->display_name ?? 'Provider') . ' — QuickBooks') @section('content') @php $provId = $providerDetails->uuid ?? ''; @endphp

Provider Details

QuickBooks integration status and settings.

@include('providers.administrator._header', ['providerDetails' => $providerDetails])
@include('providers.administrator._nav', ['activePage' => 'quickbooks', 'providerDetails' => $providerDetails])
{{-- Connection Status --}}
Connection Status
@php $isConnected = isset($qbToken) && $qbToken && $qbToken->status == 1; @endphp @if($isConnected)
Connected

This entity is connected to QuickBooks Online.

@else
Not Connected

This entity has not been connected to QuickBooks Online yet.

@endif
Entity ID {{ $providerDetails->provider_id ?? '—' }}
QB Currency {{ strtoupper($providerDetails->qb_currency ?? '—') }}
Token Status @if($isConnected) Valid @else No Token @endif
Last Refresh {{ $isConnected ? ($qbToken->updated_at ?? '—') : '—' }}
Connected Since {{ $isConnected ? ($qbToken->created_at ?? '—') : '—' }}
Record Status @if($isConnected) Active @else Inactive @endif
@if($isConnected) @else @endif
{{-- Sync History --}}
Sync History
Recent QuickBooks data synchronisation jobs.
@if($isConnected) @else @endif
Sync ID Type Status Cut-off Prepared Synced
SYN-00045 CDC Success 16 Jul 2025 09:00 16 Jul 2025 09:01 16 Jul 2025 09:02
SYN-00044 CDC Success 15 Jul 2025 09:00 15 Jul 2025 09:01 15 Jul 2025 09:02
SYN-00043 MSync Failed 14 Jul 2025 15:30 14 Jul 2025 15:31
SYN-00001 Init Success 01 Jan 2024 00:00 01 Jan 2024 10:15 01 Jan 2024 10:42
No sync history available. Connect to QuickBooks to start syncing.
{{-- CRM Mapping Summary --}}
CRM ↔ QB Mapping
Client CRM to QuickBooks customer mapping status for this entity.

{{ $stats['mapped_clients'] ?? 45 }}

Mapped Clients

{{ $stats['unmapped_clients'] ?? 8 }}

Unmapped

{{ ($stats['mapped_clients'] ?? 45) > 0 ? round((($stats['mapped_clients'] ?? 45) / (($stats['mapped_clients'] ?? 45) + ($stats['unmapped_clients'] ?? 8))) * 100) : 0 }}%

Coverage
@endsection