{{ $user->empresa?->nombre_comercial }} · {{ $user->rol?->nombre }}

Bienvenido, {{ $user->nombre }}

{{ $roleDescription }}

@if ($quickActions) {{ $quickActions[0]['label'] }} @endif
@if ($quickActions)
@foreach ($quickActions as $action) {{ $action['label'] }} @endforeach
@endif @if ($operationalSummary)
@foreach ($operationalSummary as $label => $value) $loop->first, 'bg-white dark:bg-slate-900' => ! $loop->first])>

{{ $label }}

{{ number_format($value) }}

@endforeach
@endif @if ($pipeline)
@foreach ($pipeline as $stage)
{{ $stage['label'] }} {{ number_format($stage['value']) }}
@endforeach
@endif @if ($metrics)
@foreach ($metrics as $metric) $loop->index % 3 === 0, 'bg-white dark:bg-slate-900' => $loop->index % 3 !== 0])>

{{ $metric['label'] }}

{{ number_format($metric['value']) }}

@if ($metric['route']) Ver registros @endif
@endforeach
@endif @if (!$metrics && $user->empresa && $user->hasPermission('empresa.ver'))
@foreach (['ruc' => 'RUC', 'direccion' => 'Dirección', 'telefono' => 'Teléfono', 'correo' => 'Correo'] as $field => $label)
{{ $label }}
{{ $user->empresa->$field ?: 'No registrado' }}
@endforeach
@endif
@if ($user->hasPermission('inspecciones.ver'))
@forelse ($recentInspections as $inspection)

Inspección #{{ $inspection->id_inspeccion }}

{{ $inspection->muestreo?->lote?->codigo_lote }}

@empty

No hay inspecciones para mostrar en esta etapa.

@endforelse
@endif @if ($user->hasPermission('lotes.ver'))
@forelse ($recentLots as $lot)

{{ $lot->codigo_lote }}

{{ $lot->producto }} · {{ $lot->productor?->nombre_razon_social }}

@empty

Todavía no hay lotes registrados.

@endforelse
@endif
@if (!$user->id_empresa) Tu cuenta todavía no tiene una empresa asignada. Contacta al administrador para habilitar tus módulos. @elseif (!$metrics && !$quickActions) No tienes módulos operativos habilitados. Puedes revisar tu perfil o consultar al administrador de tu empresa. @endif