{{ $this->form }}
Aplicar filtros
@php($b = $this->balance)

Activo

@forelse ($b['activo'] as $r)
{{ $r['account']->code }} {{ $r['account']->name }}
${{ number_format($r['amount'], 2, ',', '.') }}
@empty
Sin saldos
@endforelse
Total Activo:
${{ number_format($b['totalActivo'], 2, ',', '.') }}

Pasivo

@forelse ($b['pasivo'] as $r)
{{ $r['account']->code }} {{ $r['account']->name }}
${{ number_format($r['amount'], 2, ',', '.') }}
@empty
Sin saldos
@endforelse
Total Pasivo:
${{ number_format($b['totalPasivo'], 2, ',', '.') }}

Patrimonio Neto

@forelse ($b['patrimonio'] as $r)
{{ $r['account']->code }} {{ $r['account']->name }}
${{ number_format($r['amount'], 2, ',', '.') }}
@empty @endforelse
Resultado del ejercicio:
${{ number_format($b['resultadoEjercicio'], 2, ',', '.') }}
Total Patrimonio:
${{ number_format($b['totalPatrimonio'], 2, ',', '.') }}
Total Pasivo + Patrimonio: ${{ number_format($b['totalPasivo'] + $b['totalPatrimonio'], 2, ',', '.') }}