@php $money = function ($amount, $currency = 'MXN') { return ($currency === 'USD' ? 'US$' : '$') . number_format($amount, 2, '.', ','); }; $formatDate = function ($date) { return $date ? date('d/m/Y H:i:s', strtotime($date)) : '-'; }; $ultimoMovimiento = $resumen['ultimo_movimiento']; @endphp