@extends('user.layout') @section('content')
@php $position = $enrolmentInfo->currency_text_position; $currency = $enrolmentInfo->currency_text; @endphp
{{ __("Order_Id") }} {{'#' . $enrolmentInfo->order_id }}
{{ __("Course") }} :
{{ $courseTitle }}
{{ __("Course_Price") }} :
@if (!is_null($enrolmentInfo->course_price)) {{ $position == 'left' ? $currency . ' ' : '' }}{{ $enrolmentInfo->course_price }}{{ $position == 'right' ? ' ' . $currency : '' }} @else - @endif
{{ __("Discount") }} () :
@if (!is_null($enrolmentInfo->discount)) {{ $position == 'left' ? $currency . ' ' : '' }}{{ $enrolmentInfo->discount }}{{ $position == 'right' ? ' ' . $currency : '' }} @else - @endif
{{ __("Total") }} :
@if (!is_null($enrolmentInfo->grand_total)) {{ $position == 'left' ? $currency . ' ' : '' }}{{ $enrolmentInfo->grand_total }}{{ $position == 'right' ? ' ' . $currency : '' }} @else - @endif
{{ __("Paid_Via") }} :
@if (!is_null($enrolmentInfo->payment_method)) {{ $enrolmentInfo->payment_method }} @else - @endif
{{ __("Payment_Status") }} :
@if ($enrolmentInfo->payment_status == 'completed') {{ __("Completed") }} @elseif ($enrolmentInfo->payment_status == 'pending') {{ __("Pending") }} @elseif ($enrolmentInfo->payment_status == 'rejected') {{ __("Rejected") }} @else - @endif
{{ __("Enrol_Date") }} :
{{ date_format($enrolmentInfo->created_at, 'M d, Y') }}
{{ __("Billing_Details") }}
{{ __("Name") }} :
{{ $enrolmentInfo->billing_first_name . ' ' . $enrolmentInfo->billing_last_name }}
{{ __("Email") }} :
{{ $enrolmentInfo->billing_email }}
{{ __("Phone") }} :
{{ $enrolmentInfo->billing_contact_number }}
{{ __("Address") }} :
{{ $enrolmentInfo->billing_address }}
{{ __("City") }} :
{{ $enrolmentInfo->billing_city }}
{{ __("State") }} :
@if (!is_null($enrolmentInfo->billing_state)) {{ $enrolmentInfo->billing_state }} @else - @endif
{{ __("Country") }} :
{{ $enrolmentInfo->billing_country }}
@endsection