{{-- Porte de views/billing/index.php do aurios-ops original. @var \Illuminate\Support\Collection $payments @var \Illuminate\Support\Collection $subscriptions @var array{total:int,pages:int,page:int} $paymentsPagination @var array{total:int,pages:int,page:int} $subscriptionsPagination --}} @extends('layout') @section('content') @php($billingToken = session()->pull('billing_token', ''))
Cobranças, recorrências e conciliação Asaas, PagBank e Efí
{{ $billingPixCopyPaste }}
{{ $billingToken }}{{ url('api/billing/status') }} usando Bearer.
| Cliente | Provedor | Descrição | Vencimento | Valor | Status | |
|---|---|---|---|---|---|---|
| {{ $gatewayPayment->client?->name ?? 'Cliente não vinculado' }} | {{ $gatewayPayment->provider === 'efi' ? 'Efí Bank' : 'PagBank' }} | {{ $gatewayPayment->description }} | {{ datetime_br((string) $gatewayPayment->due_date, 'd/m/Y') }} | {{ money((float) $gatewayPayment->amount) }} | {{ $gatewayPayment->status }} | @if ($gatewayPayment->payment_url) open_in_new @endif @if ($gatewayPayment->provider === 'efi') edit @if (in_array(strtolower((string) $gatewayPayment->status), ['paid', 'settled', 'concluida', 'partially_refunded'], true)) @endif @endif |
| Cliente | Descrição | Próximo vencimento | Valor/ciclo | Forma | Status | Ações |
|---|---|---|---|---|---|---|
| {{ $gatewaySubscription->client?->name ?? 'Cliente não vinculado' }} | {{ $gatewaySubscription->description }} | {{ $gatewaySubscription->due_date ? datetime_br((string) $gatewaySubscription->due_date, 'd/m/Y') : '—' }} | {{ money((float) $gatewaySubscription->amount) }} | {{ $gatewaySubscription->billing_type }} | {{ $gatewaySubscription->status }} | @if ($gatewaySubscription->payment_url) open_in_new @endif @if (in_array(strtolower((string) $gatewaySubscription->status), ['active', 'new'], true)) @endif |
Use a chave exibida uma única vez na integração da solução. Ela não concede acesso ao OPS nem contém a API key do Asaas.
| Solução | Chave | Última consulta | |
|---|---|---|---|
| {{ $system->name }} | {{ $system->token_prefix ? $system->token_prefix.'…' : 'não gerada' }} |
{{ $system->last_checked_at ? datetime_br((string) $system->last_checked_at, 'd/m/Y H:i') : 'nunca' }} |