@extends(($isMobile ?? false) ? 'layouts.vertical-individual' : 'layouts.vertical', ['page_title' => $title]) @section('css') @if (!empty($isMobile)) @endif @endsection @section('content')
@if (!empty($isMobile)) ← Back @endif

{{ $title }}

@include('ivareport._filters')
@if (!empty($error))
{{ $error }}
@endif @if (empty($isMobile)) @include('ivareport._tabs') @endif
@include('ivareport._export_header')
@php $brandColumns = $brandColumns ?? []; $colCount = 3 + count($brandColumns); @endphp @foreach ($brandColumns as $col) @endforeach @forelse ($rows as $row) @foreach ($brandColumns as $col) @endforeach @empty @endforelse
Territory KAM Name Total Brand POB Val{{ $col['key'] }}
{{ $row['territory'] }} {{ $row['kam_name'] }} {{ $ivaFmt($row['total'] ?? 0) }}{{ $ivaFmt($row['values'][$col['key']] ?? 0) }}
No data
@include('ivareport._styles') @if (!empty($isMobile)) @include('ivareport._mobile') @endif @endsection @section('script') @include('ivareport._scripts') @endsection