@foreach ($Pasivo['accounts'] as $account) @foreach ($account['accounts'] as $subaccount) @if (isset($subaccount['accounts'])) @foreach ($subaccount['accounts'] as $sub) @endforeach @endif @endforeach @endforeach

Cuenta Contable

Saldo Inicial

Cargos del periodo

Abonos del periodo

Saldo Final

Flujo del Periodo

  {{ $Pasivo['description'] }} {{'$'.number_format($Pasivo['initial_credit'],2)}} {{'$'.number_format($Pasivo['period_charges'],2)}} {{'$'.number_format($Pasivo['period_credit'],2)}} {{'$'.number_format($Pasivo['final_credit'],2)}} {{'$'.number_format($Pasivo['variation'],2)}}
    {{ $account['description'] }} {{'$'.number_format($account['initial_credit'],2)}} {{'$'.number_format($account['period_charges'],2)}} {{'$'.number_format($account['period_credit'],2)}} {{'$'.number_format($account['final_credit'],2)}} {{'$'.number_format($account['variation'],2)}}
      {{ $subaccount['description'] }} {{ "$" . number_format($subaccount['initial_credit'], 2) }} {{ "$" . number_format($subaccount['period_charges'], 2) }} {{ "$" . number_format($subaccount['period_credit'], 2) }} {{ "$" . number_format($subaccount['final_credit'], 2) }} {{ "$" . number_format($subaccount['variation'], 2) }}
          {{ $sub['description'] }} {{ "$" . number_format($sub['initial_credit'], 2) }} {{ "$" . number_format($sub['period_charges'], 2) }} {{ "$" . number_format($sub['period_credit'], 2) }} {{ "$" . number_format($sub['final_credit'], 2) }} {{ "$" . number_format($sub['variation'], 2) }}