@extends('layouts.panel-template', ['section' => 'home']) @php $page = $dashboardPage; @endphp @section('header-content') @include('dashboard.partials.header') @endsection @section('main-content')

{{ $page['title'] }}

{{ $page['subtitle'] }}

@foreach ($page['actions'] as $action) @endforeach
@foreach ($page['kpis'] as $kpi)

{{ $kpi['label'] }}

{{ $kpi['value'] }}

{{ $kpi['meta'] }}

@endforeach

Inventario de materiales criticos

Material
Cantidad actual
Min. requerido
Estado
@foreach ($page['materials'] as $material)
{{ $material['icon'] }}
{{ $material['name'] }}
{{ $material['stock'] }}
{{ $material['required'] }}
{{ $material['status'] }}
@endforeach

Analisis de sobreconsumo

@foreach ($page['overconsumption'] as $item)
{{ $item['label'] }} {{ $item['detail'] }}
@if ($item['overflow_width'] !== '0%')
@endif
@endforeach
lightbulb

Hallazgos operativos

@foreach ($page['insights'] as $insight)

{{ $insight['title'] }} {{ $insight['description'] }}

@endforeach
{{ $page['live']['badge'] }}
{{ $page['live']['title'] }}

{{ $page['live']['subtitle'] }}

@foreach ($page['footer_stats'] as $stat)

{{ $stat['label'] }}

{{ $stat['value'] }}

@unless ($loop->last) @endunless @endforeach
@endsection