# | {{ __('User') }} | {{ __('Payment Details') }} | {{ __('Status') }} | {{ __('Subscription Status') }} | {{ __('Declined') }} | {{ __('Action') }} |
---|---|---|---|---|---|---|
1 |
{{ __('User') }}: @if(Auth::user()->role == 'admin') @if(isset($order->user)) {{ $order->user['fname'] }} {{ $order->user['lname'] }} {{ $order->user['email'] }} @endif @else @if ($gsetting->hide_identity == 0) @if(isset($order->user)) {{ $order->user['fname'] }} {{ $order->user['lname'] }} {{ $order->user['email'] }} @endif @else {{ __('Hidden') }} @endif @endif {{ __('Course') }}: @if ($order->course_id != null) {{ optional($order->courses)['title'] }} @else {{ optional($order->bundle)['title'] }} @endif |
{{ __('TransactionId') }}: {{ $order->transaction_id }} {{ __('PaymentMethod') }}: {{ $order->payment_method }} @php $contains = Illuminate\Support\Str::contains($order->currency_icon, 'fa'); @endphp{{ __('TotalAmount') }}: @if ($order->coupon_discount == !null) @if($contains) {{ $order->total_amount - $order->coupon_discount }} @if ($order->subscription_id !== null) / {{ $order->bundle->billing_interval }} @endif @else {{ $order->currency_icon }} {{ $order->total_amount - $order->coupon_discount }} @if ($order->subscription_id !== null) / {{ $order->bundle->billing_interval }} @endif @endif @else @if($contains) {{ $order->total_amount }} @if ($order->subscription_id !== null) / {{ $order->bundle->billing_interval }} @endif @else {{ $order->currency_icon }} {{ $order->total_amount }} @if ($order->subscription_id !== null) / {{ $order->bundle->billing_interval }} @endif @endif @endif |
@if ($order->bundle_id != null) @if ($order->subscription_status == 'active') {{ __('Active') }} @else {{ __('Canceled') }} @endif @else - @endif | @if ($order->subscription_status === 'active') @else - @endif |
|