{{ $this->form }}
Aplicar filtros
@if($this->account) @php $running = $this->openingBalance; $isDebit = $this->account->nature === \App\Models\Accounting\Account::NATURE_DEBE; @endphp
{{ $this->account->display_label }} · Naturaleza {{ $this->account->nature }} · Saldo inicial: ${{ number_format($this->openingBalance, 2, ',', '.') }}
@forelse($this->movements as $line) @php $delta = $isDebit ? ((float)$line->debit - (float)$line->credit) : ((float)$line->credit - (float)$line->debit); $running = round($running + $delta, 2); @endphp @empty @endforelse
Fecha Asiento Concepto Debe Haber Saldo
{{ $line->entry->date->format('d/m/Y') }} {{ $line->entry->number }} {{ $line->description ?? $line->entry->description }} @if((float)$line->debit > 0) ${{ number_format((float)$line->debit, 2, ',', '.') }} @endif @if((float)$line->credit > 0) ${{ number_format((float)$line->credit, 2, ',', '.') }} @endif ${{ number_format($running, 2, ',', '.') }}
Sin movimientos.
@else
Seleccioná una cuenta para ver el mayor.
@endif