Contabilidad
Movimientos de Documentos (Transacciones)
Auditoría y registro de movimientos contables con centros de costo.
@include('menu.botonRegresarContab')
Total Débitos
@if(session('BloqValoresAdmin') == 'hidden') *** @else ${{ number_format($totalDebito, 2) }} @endif
📥
Total Créditos
@if(session('BloqValoresAdmin') == 'hidden') *** @else ${{ number_format($totalCredito, 2) }} @endif
📤
Estado Cuadre @if($diferencia == 0) ✓ Cuadrado @else ⚠ Descuadre @endif
@if(session('BloqValoresAdmin') == 'hidden') *** @else ${{ number_format(abs($diferencia), 2) }} @endif
⚖️
Transacciones
{{ number_format($totalRegistros) }}
📄
@php $bodegasValidas = array_filter(array_map('intval', (array)$bodegasSeleccionadas), fn($b) => $b > 0); $cantSel = count($bodegasValidas); $totalBodegas = count($bodegas); $textoBotonBodega = 'TODAS'; if ($cantSel == 1) { $idUnico = reset($bodegasValidas); foreach ($bodegas as $b) { $bId = is_object($b) ? $b->id : $b['id']; $bNombre = is_object($b) ? $b->nombreBodega : $b['nombreBodega']; if ($bId == $idUnico) { $textoBotonBodega = $bNombre; break; } } } elseif ($cantSel > 1) { if ($totalBodegas > 0 && $cantSel >= $totalBodegas) { $textoBotonBodega = 'TODAS'; } else { $textoBotonBodega = $cantSel . ' Bodegas'; } } @endphp
Excel
@include("contabilidad.exportar.movimientosDocumento")