@extends('frontend.layouts.app') @section('content')
img
{{ __('Thank you for Purchasing') }}
@foreach($orderCourses ?? [] as $orderCourse) @endforeach @foreach($orderProducts ?? [] as $orderProduct) @endforeach @foreach($new_consultations ?? [] as $new_consultation) @php $relation = getUserRoleRelation($new_consultation->consultationSlot->user) @endphp @endforeach
{{ __('Details') }} {{ __('Type') }}
course
{{ @$orderCourse->course->title }}

{{ @$orderCourse->course->instructor->fullname }} @if(get_instructor_ranking_level(@$orderCourse->course->user->badges)) | {{ get_instructor_ranking_level(@$orderCourse->course->user->badges) }} @endif

@if($orderCourse->type == 1) {{ __('Course') }} @elseif($orderCourse->type == 2) {{ __('Product') }} @elseif($orderCourse->type == 3) {{ __('Bundle Course') }} @elseif($orderCourse->type == 4) {{ __('Consultation') }} @endif
Product
{{ @$orderProduct->product->title }}

{{ @$orderProduct->product->user->name }} @if(get_instructor_ranking_level(@$orderProduct->product->user->badges)) | {{ get_instructor_ranking_level(@$orderProduct->product->user->badges) }} @endif

{{ __('Product') }}
course
{{ @$new_consultation->consultationSlot->user->$relation->full_name }}

{{ @$new_consultation->consultationSlot->user->$relation->full_namee }} {{ @$new_consultation->consultationSlot->user->$relation->professional_title }} @if(get_instructor_ranking_level(@$new_consultation->consultationSlot->user->badges)) | {{ get_instructor_ranking_level(@$new_consultation->consultationSlot->user->badges) }} @endif

{{ __('Consultation') }}
@endsection