@extends($layout_path) @section('title', $app_setting['name'] . ' | ' . __('Transaction List')) @section('header-title')
| # | {{ __('Enrollment ID') }} | {{ __('Course') }} | {{ __('Plan') }} | {{ __('Subscription Expiry') }} | {{ __('Payment Amount') }} | {{ __('Payment Method') }} | {{ __('Payment Status') }} | {{ __('Paid At') }} |
|---|---|---|---|---|---|---|---|---|
| {{ $transactions->firstItem() + $loop->index }} | {{ $transaction->enrollment_id ? '#' . $transaction->enrollment_id : 'N/A' }} | {{ $transaction->course_title ?? 'N/A' }} | {{ $transaction->plan?->title ?? 'N/A' }} | {{ \Carbon\Carbon::parse($transaction->subscriber?->ends_at)->format('d M, Y h:i A') }} | @if ($transaction->payment_amount != null || $transaction->payable_amount != null) @if ($app_setting['currency_position'] == 'Left') {{ $app_setting['currency_symbol'] }}{{ $transaction->payment_amount ? $transaction->payment_amount : $transaction->payable_amount }} @else {{ $transaction->payment_amount ? $transaction->payment_amount : $transaction->payable_amount }}{{ $app_setting['currency_symbol'] }} @endif @else N/A @endif | {{ $transaction->payment_method }} |
@if ($transaction->is_paid == false)
{{ __('Unpaid') }}
{{ __('Paid') }}
|
{{ \Carbon\Carbon::parse($transaction->paid_at)->format('d M, Y h:i A') ?? '-' }} |
| {{ __('No data found') }} | ||||||||