@extends('layouts.app') @section('title', $bankAccount->name) @section('header')
{{ $bankAccount->bank_name }} - {{ ucfirst($bankAccount->type) }}
| Banco: | {{ $bankAccount->bank_name }} |
|---|---|
| Conta: | {{ $bankAccount->account_number }} |
| Agência: | {{ $bankAccount->agency }} |
| Tipo: | @switch($bankAccount->type) @case('checking') Conta Corrente @break @case('savings') Poupança @break @case('credit_card') Cartão de Crédito @break @default {{ ucfirst($bankAccount->type) }} @endswitch |
| Saldo Inicial: | R$ {{ number_format($bankAccount->initial_balance, 2, ',', '.') }} |
|---|---|
| Criada em: | {{ $bankAccount->created_at->format('d/m/Y H:i') }} |
| Última Atualização: | {{ $bankAccount->updated_at->format('d/m/Y H:i') }} |
| Status: | @if($bankAccount->status == 'active') Ativa @else Inativa @endif |
{{ $bankAccount->description }}
| Data | Descrição | Categoria | Tipo | Valor | Status |
|---|---|---|---|---|---|
| {{ $transaction->transaction_date->format('d/m/Y') }} |
{{ Str::limit($transaction->description, 30) }}
@if($transaction->reference)
Ref: {{ $transaction->reference }}
@endif
|
@if(isset($transaction->category) && is_object($transaction->category) && !empty($transaction->category->name)) {{ $transaction->category->name }} @else Não categorizada @endif | @if($transaction->type == 'credit') Crédito @else Débito @endif | {{ $transaction->type == 'credit' ? '+' : '-' }}R$ {{ number_format($transaction->amount, 2, ',', '.') }} | @if($transaction->is_reconciled) Conciliada @else Pendente @endif |
Nenhuma transação encontrada para esta conta.