@extends('layouts.panel') @section('title', 'Assinaturas e pagamentos') @section('panel')
Monitoramento da Kiwify e histórico financeiro.
Pagamentos confirmados ainda não estornados, sem descontar taxas Kiwify. Reembolsos e chargebacks são exibidos separadamente. Moedas não são somadas entre si.
@forelse($revenue as $currency => $entries){{ $currency }} · Receita: {{ number_format(($entries->firstWhere('status', 'paid')?->total_cents ?? 0) / 100, 2, ',', '.') }} · Reembolsos: {{ number_format(($entries->firstWhere('status', 'refunded')?->total_cents ?? 0) / 100, 2, ',', '.') }} · Chargebacks: {{ number_format(($entries->firstWhere('status', 'chargeback')?->total_cents ?? 0) / 100, 2, ',', '.') }}
@emptyNenhum pagamento registrado.
@endforelse| Assinatura | Responsável / empresa | Plano | Status | Acesso até (Brasília) |
|---|---|---|---|---|
| {{ $row->provider_subscription_id }} | {{ $row->user?->email ?? 'Conta excluída' }} {{ $row->company?->trade_name ?? 'Empresa excluída' }} | {{ $row->plan->name }} | {{ $row->statusLabel() }} | {{ $row->access_until?->timezone('America/Sao_Paulo')->format('d/m/Y H:i') ?? '—' }} |
| Nenhuma assinatura. | ||||
| Pedido / referência | Valor | Status | Atualização (Brasília) | Evento |
| {{ $row->provider_order_id }} {{ $row->order_ref }} | {{ $row->currency }} {{ number_format($row->amount_cents / 100, 2, ',', '.') }} | {{ $row->statusLabel() }} | {{ $row->status_at->timezone('America/Sao_Paulo')->format('d/m/Y H:i') }} | Ver evento |
| Nenhum pagamento. | ||||
| Recebido (Brasília) | Evento / pedido | Processamento | Recebimentos | |
| {{ $row->received_at->timezone('America/Sao_Paulo')->format('d/m/Y H:i:s') }} | {{ $row->event_type }} {{ $row->order_id }} | {{ $row->status }} {{ $row->result_code }} | {{ $row->received_count }} | Detalhes |
| Nenhum evento. | ||||