{{ __('User') }} {{ __('Order') }}
@foreach($orders as $order) @if($order->coupon_discount == !NULL) @else @endif @endforeach
# | {{ __('User') }} | {{ __('Course') }} | {{ __('TransactionId') }} | {{ __('PaymentMethod') }} | {{ __('Currency') }} | {{ __('TotalAmount') }} | {{ __('View') }} | {{ __('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 }} | {{ __('View') }} |