{{ __('Purchase History') }} | {{ __('Enroll on') }} | {{ __('Enroll End') }} | {{ __('Payment Mode') }} | {{ __('Total Price') }} | {{ __('Payment Status') }} | {{ __('Actions') }} |
---|---|---|---|---|---|---|
@if($order->course_id != NULL)
@if($order->courses['preview_image'] !== NULL && $order->courses['preview_image'] !== '')
@else
@endif
@else
@if($order->bundle['preview_image'] !== NULL && $order->bundle['preview_image'] !== '')
@else
@endif
@endif
@if($order->course_id != NULL)
{{ $order->courses->title }}
@else
{{ $order->bundle->title }}
@endif
|
{{ date('jS F Y', strtotime($order->created_at)) }}
|
@if($order->course_id != NULL)
@if($order->enroll_expire != NULL)
{{ date('jS F Y', strtotime($order->enroll_expire)) }}
@else
-
@endif
@endif
|
{{ $order->payment_method }}
|
@php
$contains = Illuminate\Support\Str::contains($order->currency_icon, 'fa');
@endphp
@if($order->coupon_discount == !NULL)
@if($contains)
@else
{{ $order->currency_icon }}
@endif
{{ $order->total_amount - $order->coupon_discount }}
@else
@if($contains)
@else
{{ $order->currency_icon }}
@endif
{{ $order->total_amount }}
@endif
|
@if($order->status ==1)
{{ __('Received') }}
@else
@if(isset($order->bundle))
{{ __('Pending') }}
{{-- @if($order->bundle['subscription_status'] !== 'active')
{{ __('Canceled') }}
@else
{{ __('Pending') }}
@endif --}}
@endif
@endif
|
@if ($order->subscription_status == 'active' && $order->payment_method !== 'Admin Enroll')
|
{{ __('Refunds') }} | {{ __('Date') }} | {{ __('Amount') }} | {{ __('Payment Mode') }} | {{ __('Payment Status') }} | {{ __('Actions') }} |
---|---|---|---|---|---|
{{ date('jS F Y', strtotime($refund->updated_at)) }}
|
@if($gsetting['currency_swipe'] == 1)
{{ $refund->total_amount }}
@else
{{ $refund->total_amount }}
@endif
|
{{ $refund->payment_method }}
|
@if($refund->status ==1)
{{ __('Refunded') }}
@else
{{ __('Pending') }}
@endif
|