AGENTES PORTUARIOS DEL PACIFICO, S.A. DE C.V.
BALANCE GENERAL AL 30 DE ABRIL DE 2021
(EXPRESADO EN DÓLARES DE LOS ESTADOS UNIDOS DE AMÉRICA)
@php //el tamaño maximo de los 2 arrays $max_size = max([count($activo_corriente[0]), count($pasivo_corriente[0])]); @endphp @for ($i = 0; $i < $max_size; $i++) @if (isset($activo_corriente[0][$i])) @else @endif @if (isset($pasivo_corriente[0][$i])) @else @endif @endfor @php //el tamaño maximo de los 2 arrays $max_size = max([count($activo_no_corriente[0]), count($pasivo_no_corriente[0])]); @endphp @for ($i = 0; $i < $max_size; $i++) @if (isset($activo_no_corriente[0][$i])) @else @endif @if (isset($pasivo_no_corriente[0][$i])) @else @endif @endfor {{-- --}} {{-- --}} @php //el tamaño maximo de los 2 arrays $max_size = max([0, count($patrimonio[0])]); @endphp @for ($i = 0; $i < $max_size; $i++) @if (isset($patrimonio[0][$i])) @else @endif @endfor
ACTIVOS PASIVOS Y PATRIMONIO
ACTIVO CORRIENTE {{$activo_corriente[1]}} PASIVO CORRIENTE {{$pasivo_corriente[1]}}
{{ucwords(strtolower($activo_corriente[0][$i]->nombre_cuenta))}} {{$activo_corriente[0][$i]->saldo}} {{ucwords(strtolower($pasivo_corriente[0][$i]->nombre_cuenta))}} {{$pasivo_corriente[0][$i]->saldo}}
ACTIVO NO CORRIENTE {{$activo_no_corriente[1]}} PASIVO NO CORRIENTE {{$pasivo_no_corriente[1]}}
{{ucwords(strtolower($activo_no_corriente[0][$i]->nombre_cuenta))}} {{$activo_no_corriente[0][$i]->saldo}} {{ucwords(strtolower($pasivo_no_corriente[0][$i]->nombre_cuenta))}} {{$pasivo_no_corriente[0][$i]->saldo}}
TOTAL ACTIVOS {{number_format($activo_no_corriente[1] + $activo_no_corriente[1],2)}} TOTAL PASIVO {{number_format($pasivo_corriente[1] + $pasivo_no_corriente[1] , 2)}}
COSTO DE VENTAS POR SERVICIOS {{number_format($costo_de_venta_por_servicio,2)}}
PATRIMONIO {{$patrimonio[1]}}
{{ucwords(strtolower($patrimonio[0][$i]->nombre_cuenta))}} {{$patrimonio[0][$i]->saldo}}
       
TOTAL ACTIVO {{$activo_corriente[1] + $activo_no_corriente[1]}} TOTAL PASIVO Y PATRIMONIO {{$pasivo_corriente[1] + $pasivo_no_corriente[1] + $patrimonio[1]}}