{{ __('Admin · Billing & plans · Invoices') }}
{{ __('All') }} {{ __('invoices') }}
{{ __('PDF invoices generated by :app. Filter by status, regenerate, void, or send a copy to the workspace owner.', ['app' => brand_name()]) }}
{{ session('status') }}
@endif
@if ($errors->any())
{{ $errors->first() }}
@endif
{{ __('Total invoices') }}
{{ $stats['total'] }}
{{ __('all time') }}
{{ __('Paid') }}
{{ $stats['paid'] }}
{{ $stats['paidPct'] }}
{{ __('Outstanding') }}
{{ $stats['outstanding'] }}
{{ $stats['outstandingAmt'] }}
{{ __('Overdue') }}
{{ $stats['overdue'] }}
{{ __('>15 days late') }}
{{ __('This month') }}
{{ $stats['monthSum'] }}
{{ $stats['monthDelta'] }}
| {{ __('Invoice #') }} | {{ __('Issue date') }} | {{ __('Due date') }} | {{ __('Workspace') }} | {{ __('Item') }} | {{ __('Amount') }} | {{ __('Status') }} | {{ __('PDF') }} | ||
|---|---|---|---|---|---|---|---|---|---|
| {{ $invoiceNumber }} | {{ $inv->created_at->format('Y-m-d') }} | {{ $dueDate->format('Y-m-d') }}{{ $isOverdue ? ' · ' . $daysLate . 'd late' : '' }} |
{{ $inv->workspace?->name ?? 'Workspace #' . $inv->workspace_id }}
{{ $inv->customer_email ?? ($inv->customer_name ?? '—') }}
|
{{ $package?->pname ?? 'Add-on' }} @if ($package)
· {{ $package->plan_unit }}
@endif
{{ $inv->status === 'refunded' ? 'refunded' : $inv->created_at->format('Y-m-d') . ' → ' . $inv->created_at->copy()->addMonth()->format('Y-m-d') }}
|
{{ $inv->status === 'refunded' ? '-' : '' }}{!! \App\Support\FormatSettings::formatIn((float) ($inv->total_amount ?? $inv->amount), $inv->currency) !!} | {{ $badge['label'] }} |
{{ __('View') }}
@if ($inv->workspace_id)
{{ __('Open workspace') }}
@endif
{{-- Outstanding / overdue invoices can be settled, voided or removed. --}}
@if ($inv->status !== 'paid')
@if ($inv->status === 'pending')
@endif
@endif
|
||
| {{ __('No invoices in this window.') }} | |||||||||
Showing
{{ $invoices->firstItem() ?? 0 }}–{{ $invoices->lastItem() ?? 0 }} of
{{ number_format($invoices->total()) }} {{ __('invoices') }}
{{ $invoices->onEachSide(1)->links() }}