@extends('layouts.app') @section('title', __('Transactions')) @section('page-title', __('Transactions')) @section('page-subtitle', __('All payment activity across tenants and gateways.')) @section('content') @php $statusColors = [ 'pending' => 'bg-amber-100 text-amber-800', 'processing' => 'bg-blue-100 text-blue-800', 'succeeded' => 'bg-emerald-100 text-emerald-800', 'failed' => 'bg-rose-100 text-rose-800', 'canceled' => 'bg-slate-100 text-slate-700', 'refunded' => 'bg-violet-100 text-violet-800', ]; @endphp {{-- KPI cards --}}
| # | {{ __('Date') }} | {{ __('Tenant') }} | {{ __('Plan') }} | {{ __('Gateway') }} | {{ __('Amount') }} | {{ __('Status') }} | |
|---|---|---|---|---|---|---|---|
| {{ $tx->id }} | {{ $tx->created_at->format('Y-m-d H:i') }} | {{ $tx->tenant?->name ?? '—' }} | {{ $tx->plan?->displayName() ?? '—' }} {{ $tx->cycle ? '· '.__($tx->cycle) : '' }} | {{ $tx->gateway }} | {{ number_format((float) $tx->amount, 2) }} {{ $tx->currency }} | {{ __($tx->status) }} | {{ __('View') }} |
| {{ __('No transactions found.') }} | |||||||