@extends('layouts.admin') @section('title', $arInvoice->number) @section('content') @php $tone = match($arInvoice->status) { 'posted','paid' => 'success', 'draft' => 'muted', default => 'warning' }; @endphp Back
Status
{{ $arInvoice->status }}
Customer
#{{ $arInvoice->customer_id ?? '—' }}
Order
#{{ $arInvoice->order_id ?? '—' }}
Total
{{ $arInvoice->currency }} {{ number_format($arInvoice->total_cents / 100, 2) }}
@forelse($arInvoice->lines as $line) @empty @endforelse
DescriptionQtyTotal
{{ $line->description }} {{ $line->quantity }} {{ number_format($line->total_cents / 100, 2) }}
No lines.
@forelse($arInvoice->allocations as $allocation) @empty @endforelse
PaymentAmount
#{{ $allocation->ar_payment_id }} {{ number_format($allocation->amount_cents / 100, 2) }}
No allocations yet.
@endsection