| {{ __('booking.id') }} | {{ __('booking.date') }} | {{ __('booking.transaction_id') }} | {{ __('general.item' )}} | @role('tutor'){{ __('booking.student_name') }} | {{ __('booking.amount') }} | {{ __('booking.tutor_payout') }} | @elserole('student'){{ __('booking.tutor_name') }} | {{ __('booking.amount') }} | @endrole{{ __('booking.status') }} |
|---|---|---|---|---|---|---|---|---|---|
| {{ $order?->order_id }} | {{ $order?->created_at->format('F j, Y') }} | {{ !empty($order?->orders?->transaction_id) ? $order?->orders?->transaction_id : '-' }} |
@if (!empty($image) && Storage::disk(getStorageDisk())->exists($image))
@endif
@if($order->orderable_type == App\Models\SlotBooking::class)
{{ $subject }}{{ $subjectGroup }}
@elseif($order->orderable_type == \Modules\Courses\Models\Course::class && !empty($options['title']))
{{ $options['title'] }}
@elseif(\Nwidart\Modules\Facades\Module::has('subscriptions') && \Nwidart\Modules\Facades\Module::isEnabled('subscriptions') && $order->orderable_type == 'Modules\Subscriptions\Models\Subscription')
{{ $order->options['name'] }} {{ __($order->options['period']) }}
@elseif(\Nwidart\Modules\Facades\Module::has('courseBundles') && \Nwidart\Modules\Facades\Module::isEnabled('courseBundles') && $order->orderable_type == 'Modules\CourseBundles\Models\Bundle')
{{ $order->options['title'] }}
@endif
|
@role('student')
@if($order?->orderable_type == \Modules\Courses\Models\Course::class)
@if (!empty($order?->orderable?->instructor?->profile?->image) && Storage::disk(getStorageDisk())->exists($order?->orderable?->instructor?->profile?->image))
|
{!! formatAmount($order?->total) !!} | @elserole('tutor')
@if($order->orderable_type != 'Modules\Subscriptions\Models\Subscription')
@if (!empty($order?->orders?->userProfile?->image) && Storage::disk(getStorageDisk())->exists($order?->orders?->userProfile?->image))
|
{!! formatAmount($order?->total) !!} | @if ($order->orderable_type != 'Modules\Subscriptions\Models\Subscription') {!! formatAmount($tutor_payout) !!} @else - @endif | @endrole
{{ $order?->orders?->status}}
|
{{ $company_address }}
{{ $invoice?->city }}, {{ $invoice?->countryDetails?->name ?? '' }}, {{ $invoice?->state }}