@extends('central.super.layout') @section('title', __('super.payments.show_title')) @section('content')
@php $badgeClass = match($payment->status) { 'paid' => 'yes', 'failed' => 'no', 'refunded' => 'info', default => 'pending', }; @endphp {{ ucfirst($payment->status) }} · {{ $payment->created_at->format('M d, Y \a\t h:i A') }}
{{ $payment->gateway_payment_id }}{{ $payment->transaction_id }}{{ $tenantDisplayName }}
@if($tenantDomain){{ $tenantDomain }}
@endif @if($payment->tenant->admin_email){{ $payment->tenant->admin_email }}
@endif{{ __('super.payments.tenant_not_found') }}
@endif{{ $payment->subscription->plan->name }}
@endif{{ ucfirst($payment->subscription->billing_cycle) }} billing
@if($payment->subscription->ends_at)Ends {{ $payment->subscription->ends_at->format('M d, Y') }}
@endif {{ __('super.common.view') }} {{ __('super.subscriptions.subscription') }}{{ $payment->plan->name }}
{{ $currencySymbol }}{{ number_format($payment->plan->price, 2) }}/{{ __('super.plans.mo') }} ยท {{ $currencySymbol }}{{ number_format($payment->plan->yearly_price, 2) }}/{{ __('super.plans.yr') }}
@else{{ __('super.payments.no_plan_linked') }}
@endif