{{-- Payment info + services --}}
{{-- Admin actions --}}
Payment Details
{{ ucwords(str_replace('_', ' ', $payment->status)) }}| Vendor | {{ optional($payment->vendor)->name ?? '—' }} @if(optional($payment->vendor)->company_name) ({{ $payment->vendor->company_name }}) @endif |
|---|---|
| Contact | {{ optional($payment->vendor)->email_id ?? '—' }} @if(optional($payment->vendor)->phone) | {{ $payment->vendor->phone }} @endif |
| Gateway | {{ $payment->gateway ? ucfirst($payment->gateway) : '—' }} |
| Transaction ID | {{ $payment->transaction_id ?? '—' }} |
| Amount | AED {{ number_format($payment->amount, 2) }} |
| Failure Reason | {{ $payment->failure_reason }} |
| {{ $payment->status === 'trial' ? 'Trial Granted By' : 'Approved By' }} | {{ optional($payment->approvedBy)->name ?? '—' }} @if($payment->approved_at) · {{ viso_date_format($payment->approved_at) }} @endif |
| Trial Period | {{ $payment->trial_start ? viso_date_format($payment->trial_start) : '—' }} → {{ $payment->trial_end ? viso_date_format($payment->trial_end) : '—' }} |
Services Selected
@forelse($services as $s)
{{ $s['name'] }}
AED {{ number_format($s['price_at_time'], 2) }}
@if($s['is_active'])
Active
@else
Inactive
@endif
@empty
No services linked to this payment.
@endforelseAdmin Actions
@if(in_array($payment->status, ['paid', 'manually_approved']))
Activates the selected services for a limited trial period — no charge.
@if($payment->status !== 'failed')
@endif
@endif
View Payment History for This Vendor
This payment is already active. No further action needed.
@else
Override a pending/failed payment → activate the vendor's selected services manually.
View Payment History for This Vendor