{{-- required meta tags --}} {{-- title --}} {{ 'Invoice | ' . $userBs->website_title }} {{-- fav icon --}} {{-- styles --}}

{{ $keywords["ENROLMENT_INVOICE"] ?? __('ENROLMENT INVOICE') }}

@php $position = $enrolmentInfo->currency_text_position; $currency = $enrolmentInfo->currency_text; @endphp
{{-- enrolment details start --}}

{{ $keywords["Enrolment_Details"] ?? __('Enrolment Details') }}

{{ $keywords["Order_Id"] ?? __('Order ID')}} : {{ '#' . $enrolmentInfo->order_id }}

{{ $keywords["Enrolment_Date"] ?? __('Enrolment Date')}} : {{ date_format($enrolmentInfo->created_at, 'M d, Y') }}

{{ $keywords["Course"] ?? __('Course')}} : {{ $courseInfo->title }}

{{ $keywords["Course_Price"] ?? __('Course Price')}} : {{ $position == 'left' ? $currency . ' ' : '' }}{{ is_null($enrolmentInfo->course_price) ? '0.00' : $enrolmentInfo->course_price }}{{ $position == 'right' ? ' ' . $currency : '' }}

{{ $keywords["Discount"] ?? __('Discount')}} : {{ $position == 'left' ? $currency . ' ' : '' }}{{ is_null($enrolmentInfo->discount) ? '0.00' : $enrolmentInfo->discount }}{{ $position == 'right' ? ' ' . $currency : '' }}

{{ $keywords["Grand_Total"] ?? __('Grand Total')}} : {{ $position == 'left' ? $currency . ' ' : '' }}{{ is_null($enrolmentInfo->grand_total) ? '0.00' : $enrolmentInfo->grand_total }}{{ $position == 'right' ? ' ' . $currency : '' }}

{{ $keywords["Payment_Method"] ?? __('Payment Method')}} : {{ is_null($enrolmentInfo->payment_method) ? '-' : $enrolmentInfo->payment_method }}

{{ $keywords["Payment_Status"] ?? __('Payment Status')}} : @if ($enrolmentInfo->payment_status == 'completed') {{ $keywords["Completed"] ?? __('Completed') }} @elseif ($enrolmentInfo->payment_status == 'pending') {{ $keywords["Pending"] ?? __('Pending') }} @elseif ($enrolmentInfo->payment_status == 'rejected') {{ $keywords["Rejected"] ?? __('Rejected') }} @else - @endif

{{-- enrolment details start --}} {{-- billing details start --}}

{{ $keywords["Billing_Details"] ?? __('Billing Details') }}

{{ $keywords["Name"] ?? __('Name')}} : {{ $enrolmentInfo->billing_first_name . ' ' . $enrolmentInfo->billing_last_name }}

{{ $keywords["Email"] ?? __('Email')}} : {{ $enrolmentInfo->billing_email }}

{{ $keywords["Contact"] ?? __('Contact Number')}} : {{ $enrolmentInfo->billing_contact_number }}

{{ $keywords["Address"] ?? __('Address')}} : {{ $enrolmentInfo->billing_address }}

{{ $keywords["City"] ?? __('City')}} : {{ $enrolmentInfo->billing_city }}

{{ $keywords["State"] ?? __('State')}} : {{ is_null($enrolmentInfo->billing_state) ? '-' : $enrolmentInfo->billing_state }}

{{ $keywords["Country"] ?? __('Country')}} : {{ $enrolmentInfo->billing_country }}

{{-- billing details end --}}