@extends('backend.layout') @section('content')
Order | Course | Price | Discount | Total | Name | Phone | City | State | Country | Gateway | Payment | Date | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
#{{$enrolment->order_id}} | @php $courseInfo = $enrolment->course->information()->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}} |