@extends('central.super.layout') @section('title', __('super.invoices.title')) @section('content')
{{ __('super.invoices.subtitle') }}
| {{ __('super.invoices.invoice_number') }} | {{ __('super.payments.tenant') }} | {{ __('super.payments.plan') }} | {{ __('super.common.amount') }} | {{ __('super.payments.tax') }} | {{ __('super.payments.total') }} | {{ __('super.payments.gateway') }} | {{ __('super.common.status') }} | {{ __('super.payments.date') }} | {{ __('super.common.actions') }} |
|---|---|---|---|---|---|---|---|---|---|
| {{ $inv->invoice_number }} | {{ $inv->tenant->company_name ?? $inv->tenant_id }} | {{ $inv->plan->name ?? '—' }} | {{ $currencySymbol }}{{ number_format($inv->amount, 2) }} | {{ $inv->tax > 0 ? $currencySymbol . number_format($inv->tax, 2) : '—' }} | {{ $currencySymbol }}{{ number_format($inv->total, 2) }} | {{ $inv->gateway_label }} | @php $badgeClass = match($inv->status) { 'paid' => 'yes', 'failed' => 'no', 'refunded' => 'info', default => 'pending', }; @endphp {{ ucfirst($inv->status) }} | {{ $inv->created_at->format('M d, Y') }} |
{{ __('super.invoices.no_invoices_desc') }}