@extends('layouts.portal')
@section('title', 'Invoices')
@section('subtitle', 'Everything billed to learners and companies, what has been collected, and what is still outstanding.')
@section('actions')
| Invoice | Customer | Total | Balance | Status | Actions | |
|---|---|---|---|---|---|---|
| {{ $i->number }}Due {{ $i->due_date?->format('d M Y') ?? '—' }} | {{ $i->customer_name }}@if($i->company){{ $i->company }}@endif{{ $i->customer_email }} | {{ money2($i->total) }} | {{ $i->status === 'void' ? '—' : money2($i->balance()) }}@if($i->status !== 'void' && (float) $i->amount_paid > 0){{ money2($i->amount_paid) }} paid@endif @if($i->status === 'partial')@endif | |||
|
| ||||||