@extends('admin/layouts.master') @section('title', 'All Order - Instructor') @section('body')
@include('admin.message')

{{ __('adminstaticword.User') }} {{ __('adminstaticword.Order') }}



@foreach($orders as $order) @if($order->coupon_discount == !NULL) @else @endif @endforeach
# {{ __('adminstaticword.User') }} {{ __('adminstaticword.Course') }} {{ __('adminstaticword.TransactionId') }} {{ __('adminstaticword.PaymentMethod') }} {{ __('adminstaticword.Currency') }} {{ __('adminstaticword.TotalAmount') }} {{ __('adminstaticword.View') }} {{ __('adminstaticword.Delete') }}
1 @if(isset($order->user)) {{$order->user->fname}} {{$order->user->lname}} @endif @if(isset($order->courses)) {{$order->courses['title']}} @endif {{$order->transaction_id}} {{$order->payment_method}} {{$order->currency}}{{ $order->total_amount - $order->coupon_discount }}{{ $order->total_amount }}{{ __('adminstaticword.View') }}
{{ csrf_field() }} {{ method_field('DELETE') }}
@endsection