@extends('layouts.app') @section('title', $app_setting['name'] . ' | Transaction List') @section('content')
# | Enrollment ID | Course | Student Phone | Payment Amount | Payment Method | Payment Status | Paid At |
---|---|---|---|---|---|---|---|
{{ $loop->iteration }} | {{ $transaction->enrollment_id ? '#' . $transaction->enrollment_id : 'N/A' }} | {{ $transaction->course_title }} | {{ $transaction->user_phone }} | @if ($transaction->enrollment) @if ($app_setting['currency_position'] == 'Left') {{ $app_setting['currency_symbol'] }}{{ $transaction->enrollment?->course_price - $transaction->enrollment?->discount_amount }} @else {{ $transaction->enrollment?->course_price - $transaction->enrollment?->discount_amount }}{{ $app_setting['currency_symbol'] }} @endif @else N/A @endif | {{ $transaction->payment_method }} |
@if (!$transaction->is_paid)
Unpaid
Paid
|
{{ $transaction->paid_at ?? '-' }} |