@php $headingStyles = [ 'main' => 'font-weight:700;background:#f3f3f3;font-size:16px;', 'subheading' => 'font-weight:600;background:#e8e8e8;font-size:14px;', 'description' => 'font-weight:500;background:#fafafa;font-size:13px;font-style:italic;' ]; @endphp
@if(empty($selectedSectorLabel))
Select a sector and click Apply Filters to load the sector download.
@else

Sector: {{ $selectedSectorLabel }}

Period: {{ $selectedYearQuarterLabel ?? '' }}

Selected businesses: {{ !empty($company_columns) ? implode(', ', $company_columns) : 'None' }}

@php $selectedBusinessCount = count($company_columns ?? []); $dynamicTopText = $sector_cta['text_top'] ?? ''; if ($selectedBusinessCount > 0) { $dynamicTopText = preg_replace('/\bthree\b/i', $selectedBusinessCount, $dynamicTopText, 1); } $reportSector = $selectedSectorLabel ?? 'Sector'; $reportPeriod = $selectedYearQuarterLabel ?? ''; $baseColumnCount = 3; $ctaColumnCount = max(1, $selectedBusinessCount); @endphp @foreach($company_columns ?? [] as $company) @endforeach @forelse($report_rows ?? [] as $row) @if(($row['type'] ?? 'metric') === 'heading') @if($row['metric_id'] == '61') @php $ctaTextColspan = max(1, (3 + count($company_columns ?? [])) - 1); @endphp @endif @else @foreach($row['company_values'] ?? [] as $index => $companyValue) @endforeach @endif @empty @endforelse
ACXPA Members {{ $reportSector }} Report for {{ $reportPeriod }} {{ $dynamicTopText }}
Metric Industry Average {{ $sectorHeader ?? 'Selected Sector Avg' }}{{ $company }}
{{ $sector_cta['text_middle'] ?? '' }} @if(!empty($sector_cta['cta'])) Learn More @endif
{{ $row['label'] }}
{{ $row['label'] }} {{ $row['industry_ave'] ?? '-' }} {{ $row['sector_avg'] ?? '-' }}{{ $companyValue ?? '-' }}
No data available for the selected filters.
{{ $sector_cta['text_bottom'] ?? '' }} @if(!empty($sector_cta['cta'])) Learn More @endif
@endif