@extends('reports.pdf.layout') @section('title', 'Relatório do Dashboard') @section('content')
| Data | Descrição | Conta | Valor | Tipo | Status |
|---|---|---|---|---|---|
| {{ $transaction->transaction_date->format('d/m/Y') }} | {{ Str::limit($transaction->description, 35) }} | {{ $transaction->bankAccount->name ?? 'N/A' }} | {{ $transaction->type == 'credit' ? '+' : '-' }}R$ {{ number_format($transaction->amount, 2, ',', '.') }} | {{ $transaction->type == 'credit' ? 'C' : 'D' }} | @switch($transaction->status) @case('reconciled') Conciliado @break @case('pending') Pendente @break @default {{ ucfirst($transaction->status) }} @endswitch |
| ID | Conta | Data | Saldo Inicial | Saldo Final | Status |
|---|---|---|---|---|---|
| {{ $reconciliation->id }} | {{ $reconciliation->bankAccount->name ?? 'N/A' }} | {{ $reconciliation->created_at->format('d/m/Y H:i') }} | R$ {{ number_format($reconciliation->opening_balance, 2, ',', '.') }} | R$ {{ number_format($reconciliation->closing_balance, 2, ',', '.') }} | @switch($reconciliation->status) @case('approved') Aprovado @break @case('completed') Concluído @break @case('draft') Rascunho @break @default {{ ucfirst($reconciliation->status) }} @endswitch |
| Categoria | Quantidade | Valor Total |
|---|---|---|
| {{ $category->category_id ?: 'Sem categoria' }} | {{ $category->count }} | R$ {{ number_format($category->total, 2, ',', '.') }} |