@if(!empty($fromDate) && !empty($toDate)) {{ \Carbon\Carbon::parse($fromDate)->format('M d') }} – {{ \Carbon\Carbon::parse($toDate)->format('M d, Y') }} @endif
@if(!empty($trendIndicators))
CCC Local — vs Prior Period
@foreach(['localQuotes' => 'Local Quotes', 'localConversions' => 'Local Conv.', 'localConvRate' => 'Local Conv%'] as $key => $label)
{{ $label }}
@php $t = $trendIndicators['ccc'][$key]; @endphp @if($t['direction'] === 'up') ▲ @elseif($t['direction'] === 'down') ▼ @else ▬ @endif {{ $t['change'] }}%
@endforeach
Parts Trader Local — vs Prior Period
@foreach(['localQuotes' => 'Local Quotes', 'localConversions' => 'Local Conv.', 'localConvRate' => 'Local Conv%'] as $key => $label)
{{ $label }}
@php $t = $trendIndicators['pt'][$key]; @endphp @if($t['direction'] === 'up') ▲ @elseif($t['direction'] === 'down') ▼ @else ▬ @endif {{ $t['change'] }}%
@endforeach
@endif
Summary KPIs
@foreach(['ccc-header','pt-header','total-header'] as $cls) @endforeach @foreach(['ccc','pt','combined'] as $ch) @endforeach @foreach(['ccc','pt','combined'] as $ch) @endforeach @foreach(['ccc','pt','combined'] as $ch) @endforeach @foreach(['ccc','pt','combined'] as $ch) @endforeach @foreach(['ccc','pt','combined'] as $ch) @endforeach @foreach(['ccc','pt','combined'] as $ch) @endforeach
Metric CCC Parts Trader Combined
Total Local Mail
Quotes{{ number_format($summaryStats[$ch]['totalQuotes'] ?? 0) }} {{ number_format($summaryStats[$ch]['localQuotes'] ?? 0) }} {{ number_format($summaryStats[$ch]['mailQuotes'] ?? 0) }}
Conversions{{ number_format($summaryStats[$ch]['totalConversions'] ?? 0) }} {{ number_format($summaryStats[$ch]['localConversions'] ?? 0) }} {{ number_format($summaryStats[$ch]['mailConversions'] ?? 0) }}
Conv Rate{{ $summaryStats[$ch]['totalConvRate'] ?? 0 }}% {{ $summaryStats[$ch]['localConvRate'] ?? 0 }}% {{ $summaryStats[$ch]['mailConvRate'] ?? 0 }}%
Revenue${{ number_format($summaryStats[$ch]['totalRevenue'] ?? 0, 0) }} ${{ number_format($summaryStats[$ch]['localRevenue'] ?? 0, 0) }} ${{ number_format($summaryStats[$ch]['mailRevenue'] ?? 0, 0) }}
Avg Rev/Conv${{ number_format($summaryStats[$ch]['avgRevenuePerConversion'] ?? 0, 2) }}
Avg Rev/Quote${{ number_format($summaryStats[$ch]['avgRevenuePerQuote'] ?? 0, 2) }}
Daily Breakdown
@if($tableChannel === 'all' || $tableChannel === 'ccc') @endif @if($tableChannel === 'all' || $tableChannel === 'pt') @endif @if($tableChannel === 'all') @endif @if($tableChannel === 'all' || $tableChannel === 'ccc') @endif @if($tableChannel === 'all' || $tableChannel === 'pt') @endif @if($tableChannel === 'all') @endif @forelse($this->dailyPage as $row) @if($tableChannel === 'all' || $tableChannel === 'ccc') @endif @if($tableChannel === 'all' || $tableChannel === 'pt') @endif @if($tableChannel === 'all') @endif @empty @endforelse
DateCCC Quotes CCC ConversionsPT Quotes PT ConversionsCombined Local
Total Local Mail Total Local MailTotal Local Mail Total Local MailQuotes Conv Conv%
{{ \Carbon\Carbon::parse($row['date'])->format('M d, Y (D)') }}{{ number_format($row['ccc_total_quotes']) }} {{ number_format($row['ccc_local_quotes']) }} {{ number_format($row['ccc_mail_quotes']) }} {{ $row['ccc_total_conv'] }} {{ $row['ccc_local_conv'] }} {{ $row['ccc_mail_conv'] }}{{ number_format($row['pt_total_quotes']) }} {{ number_format($row['pt_local_quotes']) }} {{ number_format($row['pt_mail_quotes']) }} {{ $row['pt_total_conv'] }} {{ $row['pt_local_conv'] }} {{ $row['pt_mail_conv'] }}{{ number_format($row['total_local_quotes']) }} {{ $row['total_local_conv'] }} {{ $row['total_local_conv_rate'] }}%
No data available for the selected date range.
@if($this->dailyPage->hasPages())
{{ $this->dailyPage->links() }}
@endif