@php $tenant = \App\Support\Facades\Tenancy::get(); $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $grouped = collect($metrics)->groupBy('group', preserveKeys: true); @endphp
@if ($errors->any()) @endif
@forelse($templates as $template) @empty @endforelse
EMIS export templates
Template Fields Actions
{{ $template->name }} @if($template->is_default) Default @endif @if($template->description) {{ $template->description }} @endif {{ count($template->field_mappings ?? []) }}
No templates yet.

Current Figures

@foreach($preview as $key => $value)
{{ $metrics[$key]['label'] ?? $key }}
{{ $value ?? '—' }}
@endforeach
@csrf
Fields to include
@foreach($grouped as $group => $groupMetrics)

{{ ucfirst($group) }}

@foreach($groupMetrics as $key => $meta) @endforeach
@endforeach