@extends('backend.layout.exposcale') @section('page_title', 'Invoices') @section('content')
@forelse($invoices as $inv) @php $clientName = trim(($inv->user?->first_name ?? '') . ' ' . ($inv->user?->last_name ?? '')); if (!$clientName) $clientName = $inv->billed_to_name ?? '—'; @endphp @empty @endforelse
Invoice IDClientPlanAmountDateAction
{{ $inv->invoice_number }} {{ $clientName }} Growth {{ $inv->currency }} {{ number_format($inv->total_due, 2) }} {{ $inv->created_at ? $inv->created_at->format('d M Y') : '—' }} @if($inv->pdf_link) 📄 PDF @else — @endif
No invoices found.
@if($invoices->hasPages())
{{ $invoices->links('pagination::bootstrap-4') }}
@endif
@endsection @section('page_scripts') @endsection