@extends('layouts.app') @section('title','Comparativo Mes vs Mes') @section('page-title','Comparativo Mes vs Mes — Dashboard Gerencial') @section('content')
| Indicador | {{ $metricas['A']['label'] }} | {{ $metricas['B']['label'] }} | Variación | Tendencia |
|---|---|---|---|---|
| {{ $r['label'] }} | {{ $r['prefix'] }}{{ is_float($vA+0) ? number_format($vA,0) : number_format($vA) }} | {{ $r['prefix'] }}{{ is_float($vB+0) ? number_format($vB,0) : number_format($vB) }} | {{ $var > 0 ? '+' : '' }}{{ $var }}% | @if($var > 5) ↑ @elseif($var < -5) ↓ @else → @endif |