@extends('layouts.app') @section('title', 'Contas a Receber') @section('header')
Gerencie suas contas a receber e receitas
R$ {{ number_format($stats['pending_amount'], 2, ',', '.') }}
R$ {{ number_format($stats['overdue_amount'], 2, ',', '.') }}
| Cliente | Descrição | Categoria | Valor | Vencimento | Status | Valor Recebido | Restante | Ações |
|---|---|---|---|---|---|---|---|---|
|
{{ strtoupper(substr($account->client->name, 0, 1)) }}
{{ $account->client->name }}
|
{{ $account->description }}
@if($account->invoice_number)
Fatura: {{ $account->invoice_number }} @endif |
@switch($account->category) @case('sales') Vendas @break @case('services') Serviços @break @case('rent') Aluguel @break @default Outros @endswitch | {{ $account->formatted_amount }} |
{{ $account->due_date->format('d/m/Y') }}
@if($account->days_until_due < 0)
{{ abs($account->days_until_due) }} dias atrasado @elseif($account->days_until_due <= 7) Vence em {{ $account->days_until_due }} dias @endif |
{!! $account->status_badge !!} | {{ $account->formatted_received_amount }} | {{ $account->formatted_remaining_amount }} | |
|
Nenhuma conta a receber encontrada Cadastrar Primeira Conta |
||||||||