{{-- Generic Smart Report v2 stub partial. --}} {{-- Renders the rasterised template background for a group at full A4 with --}} {{-- a "TODO" marker and the package code so we can verify routing/dispatch --}} {{-- and font/coordinate mapping while the real per-test partials are being --}} {{-- built (PR2-PR6). --}} @php /** @var array $group Group view-model from WebController v2 dispatch */ $bgGroup = $group['bg_group'] ?? 'smart-report'; $bgPages = max(1, (int) ($group['bg_pages'] ?? 1)); $package = $group['package'] ?? ($group['firstPackage'] ?? null); $code = $package->lABCATEGORYPACKAGE->CODE ?? '?'; $name_ar = $package->NAME_AR ?? ($package->lABCATEGORYPACKAGE->REPORT_DISPLAY_NAME_AR ?? ($package->lABCATEGORYPACKAGE->NAME_AR ?? '')); @endphp @for ($p = 1; $p <= $bgPages; $p++)