{{-- filepath: c:\xampp\htdocs\medicpro_finan\resources\views\pdf\libro_diario.blade.php --}} Libro Diario
LIBRO DIARIO
PRESIDENCIA DE LA REPÚBLICA
RED NACIONAL DE HOSPITALES
@if(count($partidas) === 0)
No hay registros para mostrar.
@endif @foreach($partidas as $partida)
PARTIDA {{ $partida['partida_id'] }}P
@foreach($partida['transacciones'] as $tx) @endforeach
FECHA TM PROYECTO UP CUENTA DESCRIPCIÓN DEBE HABER
{{ $tx['fecha'] }} {{ is_numeric($tx['tm']) ? 'TM'.$tx['tm'] : $tx['tm'] }} {{ $tx['proyecto_programa'] ?? '' }} {{ $tx['unidad_presupuestaria'] ?? '' }} {{ $tx['cuenta'] ?? '' }} @if(!empty($tx['subcuenta']))
{{ $tx['subcuenta'] }}@endif
{{ $tx['concepto'] ?? '' }} ${{ number_format($tx['debe'], 2) }} ${{ number_format($tx['haber'], 2) }}
TOTAL ${{ number_format($partida['totalDebe'], 2) }} ${{ number_format($partida['totalHaber'], 2) }}
@endforeach