@extends('frontend.student-dashboard.layouts.master')
@section('dashboard-contents')
{{ __('Order History') }}
{{ __('No') }} |
{{ __('Invoice') }} |
{{ __('Paid') }} |
{{ __('Gateway') }} |
{{ __('Status') }} |
{{ __('Payment') }} |
|
@forelse ($orders as $index => $order)
{{ ++$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
|
|
@empty
{{ __('No orders found!') }} |
@endforelse
{{ $orders->links() }}
@endsection