{{ __('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') }} | {{$order?->orders?->transaction_id }} |
@if (!empty($image) && Storage::disk(getStorageDisk())->exists($image))
@else
@endif
@if($order->orderable_type == App\Models\SlotBooking::class)
{{ $subject }}{{ $subjectGroup }}
@elseif($order->orderable_type == \Amentotech\Courses\Models\Course::class && !empty($options['title']))
{{ $options['title'] }}
@endif
|
@role('student')
@if($order?->orderable_type == \Amentotech\Courses\Models\Course::class)
@if (!empty($order?->orderable?->instructor?->profile?->image) && Storage::disk(getStorageDisk())->exists($order?->orderable?->instructor?->profile?->image))
@else
@endif
{{ $order?->orderable?->instructor?->profile?->first_name }}
@elseif($order?->orderable_type == App\Models\SlotBooking::class)
@if (!empty($order?->orderable?->tutor?->image) && Storage::disk(getStorageDisk())->exists($order?->orderable?->tutor?->image))
@else
@endif
{{ $order?->orderable?->tutor?->first_name }}
@endif
|
{!! formatAmount($order?->price) !!} | @elserole('tutor')
@if (!empty($order?->orders?->userProfile?->image) && Storage::disk(getStorageDisk())->exists($order?->orders?->userProfile?->image))
@else
@endif
{{ $order?->orders?->userProfile?->first_name }}
|
{!! formatAmount($order?->price) !!} | {!! formatAmount($tutor_payout) !!} | @endrole{{ $order?->orders?->status}} |