Relatório Financeiro por Centro de Custo

Período: {{ \Carbon\Carbon::parse($dateFrom)->format('d/m/Y') }} a {{ \Carbon\Carbon::parse($dateTo)->format('d/m/Y') }}

Gerado em: {{ \Carbon\Carbon::now()->format('d/m/Y H:i:s') }}

Receitas de Reservas

{{ number_format($reportData['totals']['total_revenues'], 2, ',', '.') }}

Despesas Operacionais

{{ number_format($reportData['totals']['total_expenses'], 2, ',', '.') }}
@if(!empty($reportData['adjustments']))

Movimentações Extras

{{ number_format((($reportData['totals']['total_adjustment_entries'] ?? 0) - ($reportData['totals']['total_adjustment_exits'] ?? 0)), 2, ',', '.') }}
@endif

Saldo Líquido Total

{{ number_format($reportData['totals']['net_balance'], 2, ',', '.') }}
@if(!empty($reportData['revenues']))
🏨 RECEITAS DE RESERVAS (Hospedagem e Serviços)
@foreach($reportData['revenues'] as $revenue) @endforeach
Categoria Valor (R$) Qtd. Transações
{{ $revenue['category'] }} {{ number_format($revenue['amount'], 2, ',', '.') }} {{ $revenue['count'] }}
TOTAL RECEITAS DE RESERVAS {{ number_format($reportData['totals']['total_revenues'], 2, ',', '.') }} {{ $reportData['totals']['revenue_transactions'] }}
@endif @if(!empty($reportData['expenses']))
📉 DESPESAS POR CENTRO DE CUSTO (via Contas a Pagar)
@foreach($reportData['expenses'] as $accountPlan) @foreach($accountPlan['costCenters'] as $costCenter) @endforeach @endforeach
Plano de Contas / Centro de Custo Valor (R$) Qtd. Transações
└─ {{ $costCenter['name'] }} {{ number_format($costCenter['amount'], 2, ',', '.') }} {{ $costCenter['count'] }}
TOTAL DESPESAS OPERACIONAIS {{ number_format($reportData['totals']['total_expenses'], 2, ',', '.') }} {{ $reportData['totals']['expense_transactions'] }}
@endif @if(!empty($reportData['adjustments']))
💰 MOVIMENTAÇÕES EXTRAS (Ajustes e Lançamentos Manuais)
@foreach($reportData['adjustments'] as $adjustment) @endforeach
Tipo de Ajuste Valor (R$) Qtd. Transações
{{ $adjustment['type'] }} {{ number_format($adjustment['amount'], 2, ',', '.') }} {{ $adjustment['count'] }}
SALDO LÍQUIDO DAS MOVIMENTAÇÕES EXTRAS {{ number_format((($reportData['totals']['total_adjustment_entries'] ?? 0) - ($reportData['totals']['total_adjustment_exits'] ?? 0)), 2, ',', '.') }} {{ $reportData['totals']['adjustment_transactions'] ?? 0 }}
@endif @if(!empty($reportData['bankAccountBalances']))
💰 SALDOS BANCÁRIOS
@foreach($reportData['bankAccountBalances'] as $bankAccount) @endforeach
Conta Bancária Saldo Anterior (R$) Entradas (R$) Saídas (R$) Movimentação (R$) Saldo Atual (R$)
{{ $bankAccount['name'] }}
{{ $bankAccount['name_bank'] }}
{{ number_format($bankAccount['previous_balance'], 2, ',', '.') }} {{ number_format($bankAccount['entries'], 2, ',', '.') }} {{ number_format($bankAccount['exits'], 2, ',', '.') }} {{ number_format($bankAccount['period_balance'], 2, ',', '.') }} {{ number_format($bankAccount['current_balance'], 2, ',', '.') }}
@endif
SALDO LÍQUIDO DO PERÍODO {{ number_format($reportData['totals']['net_balance'], 2, ',', '.') }}