@foreach ($data as $account) @foreach ($account['months'] as $month) @endforeach @endforeach

Cuenta

Nombre

Saldo Inicial

Acumulados

Fecha

Periodo

Cargos

Abonos

Saldo

Cargos

Abonos

{{ $account['code'] }} {{ $account['description'] }} ${{ number_format($account['initial'],2) }}
{{ $month['date'] }} {{ $month['period'] }} ${{ number_format($month['charge'], 2) }} ${{ number_format($month['credit'], 2) }} ${{ number_format($month['balance'], 2) }} ${{ number_format($month['ac_charge'], 2) }} ${{ number_format($month['ac_credit'], 2) }}