@extends('layouts.app') @section('title', 'Comparação de Contas') @section('header')
@endsection @section('content')| Conta | Tipo | Saldo Atual | Total Entradas | Total Saídas | Fluxo Líquido | Transações | Média/Transação | Status |
|---|---|---|---|---|---|---|---|---|
|
@switch($data['account']->type)
@case('checking')
@break
@case('savings')
@break
@case('credit_card')
@break
@case('investment')
@break
@endswitch
{{ $data['account']->name }}
{{ $data['account']->bank_name }}
|
{{ $data['account']->type_name }} | R$ {{ number_format($data['balance'], 2, ',', '.') }} | R$ {{ number_format($data['total_credit'], 2, ',', '.') }} | R$ {{ number_format($data['total_debit'], 2, ',', '.') }} | R$ {{ number_format($data['net_flow'], 2, ',', '.') }} | {{ $data['transaction_count'] }} | R$ {{ number_format($data['avg_transaction'], 2, ',', '.') }} | @if($data['account']->active) Ativa @else Inativa @endif |