@php
$position = $enrolmentInfo->currency_text_position;
$currency = $enrolmentInfo->currency_text;
@endphp
{{-- enrolment details start --}}
{{ __('Enrolment Details') }}
{{ __('Order ID') . ': ' }}{{ '#' . $enrolmentInfo->order_id }}
{{ __('Enrolment Date') . ': ' }}{{ date_format($enrolmentInfo->created_at, 'M d, Y') }}
{{ __('Course') . ': ' }}{{ $courseInfo->title }}
{{ __('Course Price') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ is_null($enrolmentInfo->course_price) ? '0.00' : $enrolmentInfo->course_price }}{{ $position == 'right' ? ' ' . $currency : '' }}
{{ __('Discount') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ is_null($enrolmentInfo->discount) ? '0.00' : $enrolmentInfo->discount }}{{ $position == 'right' ? ' ' . $currency : '' }}
{{ __('Grand Total') . ': ' }}{{ $position == 'left' ? $currency . ' ' : '' }}{{ is_null($enrolmentInfo->grand_total) ? '0.00' : $enrolmentInfo->grand_total }}{{ $position == 'right' ? ' ' . $currency : '' }}
{{ __('Payment Method') . ': ' }}{{ is_null($enrolmentInfo->payment_method) ? '-' : $enrolmentInfo->payment_method }}
{{ __('Payment Status') . ': ' }}
@if ($enrolmentInfo->payment_status == 'completed')
{{ __('Completed') }}
@elseif ($enrolmentInfo->payment_status == 'pending')
{{ __('Pending') }}
@elseif ($enrolmentInfo->payment_status == 'rejected')
{{ __('Rejected') }}
@else
-
@endif
{{-- enrolment details start --}}
{{-- billing details start --}}
{{ __('Billing Details') }}
{{ __('Name') . ': ' }}{{ $enrolmentInfo->billing_first_name . ' ' . $enrolmentInfo->billing_last_name }}
{{ __('Email') . ': ' }}{{ $enrolmentInfo->billing_email }}
{{ __('Contact Number') . ': ' }}{{ $enrolmentInfo->billing_contact_number }}
{{ __('Address') . ': ' }}{{ $enrolmentInfo->billing_address }}
{{ __('City') . ': ' }}{{ $enrolmentInfo->billing_city }}
{{ __('State') . ': ' }}{{ is_null($enrolmentInfo->billing_state) ? '-' : $enrolmentInfo->billing_state }}
{{ __('Country') . ': ' }}{{ $enrolmentInfo->billing_country }}
{{-- billing details end --}}