@extends('layouts.app') @section('title', 'Aged receivables') @section('content')
Search by Record ID (from the API). Pay uses Record ID when present; otherwise Order ID.
@if($error)| Record ID | Order ID | Invoice # | Invoiced | Days | Balance | |
|---|---|---|---|---|---|---|
| @if(!empty($order['recordID'])) {{ $order['recordID'] }} @else — @endif | {{ $order['orderID'] ?? '—' }} | {{ $order['InvoiceNumber'] ?? $order['invoiceNumber'] ?? '—' }} | {{ $order['dateInvoiced'] ?? '—' }} | {{ $order['daysOld'] ?? '—' }} | @if(isset($order['balanceAmount'])) ${{ number_format((float) $order['balanceAmount'], 2) }} @else — @endif | @if(!empty($order['recordID'])) Pay @elseif(!empty($order['orderID'])) Pay @else — @endif |
| {{ \Illuminate\Support\Str::limit($order['propertyInfo'], 200) }} | ||||||
No clients returned.
@endunless @endforelse @endsection