@extends('frontend.student-dashboard.layouts.master') @section('dashboard-contents') @if (instructorStatus() == 'pending') @elseif (instructorStatus() == 'rejected') @endif

{{ __('Dashboard') }}

{{ __('ENROLLED COURSES') }}

{{ __('QUIZ ATTEMPTS') }}

{{ __('YOUR TOTAL REVIEWS') }}

{{ __('Order History') }}

@forelse ($orders as $index => $order) @empty @endforelse
{{ __('No') }} {{ __('Invoice') }} {{ __('Paid') }} {{ __('Gateway') }} {{ __('Status') }} {{ __('Payment') }}
{{ ++$index }} #{{ $order->invoice_id }} {{ $order->paid_amount }} {{ $order->payable_currency }} {{ $order->payment_method }} @if ($order->status == 'completed')
{{ __('Completed') }}
@elseif($order->status == 'processing')
{{ __('Processing') }}
@elseif($order->status == 'declined')
{{ __('Declined') }}
@else
{{ __('Pending') }}
@endif
@if ($order->payment_status == 'paid')
{{ __('Paid') }}
@elseif ($order->payment_status == 'cancelled')
{{ __('Cancelled') }}
@else
{{ __('Pending') }}
@endif
{{ __('No orders found!') }}
@endsection