@extends('layouts.app') @section('title','Cobranças') @section('content')

Cobranças ({{ $usage['charges_month'] }}{{ $status['plan']?->max_charges_per_month ? '/'.$status['plan']->max_charges_per_month.' este mês' : '' }})

@php $blocked = $status['plan']?->max_charges_per_month && $usage['charges_month'] >= $status['plan']->max_charges_per_month; @endphp @if($blocked) @else + Nova cobrança @endif
Todas Pendentes Atrasadas Pagas
@forelse($charges as $c) @empty @endforelse
ClienteDescriçãoValorVencimentoStatusAções
{{ $c->client->name ?? '-' }} {{ $c->description }} R$ {{ number_format((float)$c->amount,2,',','.') }} {{ \Carbon\Carbon::parse($c->due_date)->format('d/m/Y') }} {{ $c->status }} Editar @if($c->status !== 'paid')
@csrf
@csrf
@if(!$c->pix_qr_code)
@csrf
@endif @endif 🔗 Link
Nenhuma cobrança ainda.
{{ $charges->links() }}
@endsection