@extends('central.super.layout') @section('title', __('super.payments.transactions_title')) @section('content')
{{ __('super.payments.transactions_sub') }}
| {{ __('super.payments.invoice') }} | {{ __('super.payments.tenant') }} | {{ __('super.payments.plan') }} | {{ __('super.payments.gateway') }} | {{ __('super.common.amount') }} | {{ __('super.payments.cycle') }} | {{ __('super.common.status') }} | {{ __('super.payments.date') }} | {{ __('super.common.actions') }} |
|---|---|---|---|---|---|---|---|---|
| {{ $payment->invoice_number ?? '—' }} | {{ $payment->tenant->company_name ?? $payment->tenant_id }} | {{ $payment->plan->name ?? '—' }} |
{{ $payment->gateway_label }}
@if($payment->gateway === 'manual' && isset($payment->metadata['offline_method']))
({{ ucfirst(str_replace('_', ' ', $payment->metadata['offline_method'])) }}) @endif |
{{ $payment->currency }} ${{ number_format($payment->amount, 2) }} @if($payment->tax > 0) +${{ number_format($payment->tax, 2) }} @endif | {{ ucfirst($payment->billing_cycle) }} | @php $badgeClass = match($payment->status) { 'paid' => 'yes', 'failed' => 'no', 'refunded' => 'info', default => 'pending', }; @endphp {{ ucfirst($payment->status) }} | {{ $payment->created_at->format('M d, Y') }} |
{{ __('super.payments.no_trans_desc') }}