@if(!empty($datosEmpresa['logo'])) @php $logoPath = public_path($datosEmpresa['logo']); if (file_exists($logoPath)) { $logoData = base64_encode(file_get_contents($logoPath)); $logoMime = mime_content_type($logoPath); $logoBase64 = 'data:' . $logoMime . ';base64,' . $logoData; } else { $logoBase64 = ''; } @endphp @if($logoBase64) Logo @endif @endif @if(!empty($datosEmpresa['nombreNegocio']))
{{ $datosEmpresa['nombreNegocio'] }}
@endif @if(!empty($datosEmpresa['direccion']))
{{ $datosEmpresa['direccion'] }}
@endif @if(!empty($datosEmpresa['nitt']))
NIT: {{ $datosEmpresa['nitt'] }}
@endif @if(!empty($datosEmpresa['r_dian']))
Resolución DIAN: {{ $datosEmpresa['r_dian'] }}
@endif @if(!empty($datosEmpresa['regimen']))
{{ $datosEmpresa['regimen'] }}
@endif

{{ strtoupper($tipoMovimento ?? 'NOTA CONTABLE') }}

Tipo de Movimiento: {{ $tipoMovimento ?? 'N/A' }}
Número: {{ $numero ?? 'N/A' }}
Fecha: {{ $fecha ?? 'N/A' }}
Bodega: {{ $bodega ?? 'N/A' }}
@if(count($datoMovimient) == 0)
⚠️ No se encontraron datos
Parámetros de búsqueda: Número={{ $numero }}, Tipo={{ $tipoMovimento }}, Bodega={{ $bodega }}
Por favor, verifica que hayas consultado los datos primero haciendo clic en "Consultar"
@endif @if(count($datoMovimient) > 0) @foreach ($datoMovimient as $item) @endforeach @else @endif
Id Movimiento Número Cuenta Nombre Cuenta Vinculado Crédito Débito Bodega Fecha Observación
{{ $item->id }} {{ $item->tipoMovimiento }} {{ $item->numeroMoimiento }} {{ $item->cuentaNum }} {{ $item->NombreCuenta }} {{ $item->nit }} {{ number_format($item->ingreso, 2, '.', ',') }} {{ number_format($item->egreso, 2, '.', ',') }} {{ $item->bodegaIng }} {{ !empty($item->fechaM) ? substr(trim($item->fechaM), 0, 10) : '' }} {{ $item->observacion }}
No hay datos para mostrar
Número: {{ $numero }}, Tipo: {{ $tipoMovimento }}, Bodega: {{ $bodega }}
Crédito:
${{ number_format($Credito, 2, '.', ',') }}
Débito:
${{ number_format($Debido, 2, '.', ',') }}
Diferencia:
${{ number_format($diferencia, 2, '.', ',') }}