@extends('user.layout') @section('content')
{{ __('Order') }} | {{ __('Course') }} | {{ __('Price') }} | {{ __('Discount') }} | {{ __('Total') }} | {{ __('Name') }} | {{ __('Email') }} | {{ __('Phone') }} | {{ __('City') }} | {{ __('State') }} | {{ __('Country') }} | {{ __('Gateway') }} | {{ __('Payment') }} | {{ __('Date') }} |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
#{{ $enrolment->order_id }} | @php $courseInfo = $enrolment->course ->courseInformation() ->where('language_id', $deLang->id) ->select('title', 'slug') ->first(); $title = $courseInfo->title; $slug = $courseInfo->slug; @endphp{{ strlen($title) > 35 ? mb_substr($title, 0, 35, 'utf-8') . '...' : $title }} | {{ $abs->base_currency_symbol_position == 'left' ? $abs->base_currency_symbol : '' }}{{ round($enrolment->course_price, 2) }}{{ $abs->base_currency_symbol_position == 'right' ? $abs->base_currency_symbol : '' }} | {{ $abs->base_currency_symbol_position == 'left' ? $abs->base_currency_symbol : '' }}{{ round($enrolment->discount, 2) }}{{ $abs->base_currency_symbol_position == 'right' ? $abs->base_currency_symbol : '' }} | {{ $abs->base_currency_symbol_position == 'left' ? $abs->base_currency_symbol : '' }}{{ round($enrolment->grand_total, 2) }}{{ $abs->base_currency_symbol_position == 'right' ? $abs->base_currency_symbol : '' }} | {{ $enrolment->billing_first_name }} | {{ $enrolment->billing_email }} | {{ $enrolment->billing_contact_number }} | {{ $enrolment->billing_city }} | {{ $enrolment->billing_state }} | {{ $enrolment->billing_country }} | {{ ucfirst($enrolment->payment_method) }} | @if ($enrolment->payment_status == 'Pending') {{ __('Pending') }} @elseif ($enrolment->payment_status == 'Completed') {{ __('Completed') }} @endif | {{ $enrolment->created_at }} |