@extends('backend.layout') @section('content')
{{ __('Order ID.') }} | {{ __('Course') }} | {{ __('Username') }} | {{ __('Paid via') }} | {{ __('Payment Status') }} | {{ __('Attachment') }} | {{ __('Actions') }} | |
---|---|---|---|---|---|---|---|
{{ '#' . $enrolment->order_id }} | @php $course = $enrolment->course()->first(); $courseInfo = $course->information()->where('language_id', $defaultLang->id)->first(); $title = $courseInfo->title; $slug = $courseInfo->slug; @endphp{{ strlen($title) > 35 ? mb_substr($title, 0, 35, 'utf-8') . '...' : $title }} | @php $user = $enrolment->userInfo()->first(); @endphp{{ $user->username }} | {{ !is_null($enrolment->payment_method) ? $enrolment->payment_method : '-' }} |
@if ($enrolment->gateway_type == 'online')
{{ __('Completed') }}@elseif ($enrolment->gateway_type == 'offline') @else - @endif |
@if (!is_null($enrolment->attachment)) {{ __('Show') }} @else - @endif |
|