@extends('layouts.app') @section('title', 'Dashboard Financeiro - ERP-PLUS') @section('page_title', 'Dashboard Financeiro') @section('page_subtitle', 'Visao geral das receitas e assinaturas.') @push('styles') @endpush @section('content') @if (session('status'))
| Data | Empresa | Plano | Valor | Vencimento | Status | |
|---|---|---|---|---|---|---|
| {{ $charge->created_at->format('d/m/Y H:i') }} | {{ $charge->company?->name ?? '-' }} | {{ $charge->subscription?->plan?->name ?? '-' }} | R$ {{ number_format((float) $charge->amount, 2, ',', '.') }} | {{ $charge->due_date?->format('d/m/Y') ?? '-' }} | @php $pill = match ($charge->status) { 'received' => 'ok', 'pending' => 'warn', 'refunded' => 'neutral', default => '', }; @endphp {{ mb_strtoupper($charge->status) }} | @if ($charge->invoice_url) Link @endif |
Nenhuma cobranca encontrada. | ||||||