@extends('admin.layouts.master') @section('title','View Order') @section('maincontent') @include('admin.layouts.topbar',$data)
{{ __('Course Name') }} | {{ __('Instructor Name') }} | {{ __('Currency') }} | @if($show->coupon_discount != 0){{ __('Coupon Discount') }} | @endif{{ __('Total Amount') }} |
---|---|---|---|---|
@if($show->course_id != NULL) {{ $show->courses['title'] }} @else {{ $show->bundle['title'] }} @endif | @if($show->course_id != NULL) {{ $show->courses->user['email'] }} @else {{ $show->bundle->user['email'] }} @endif | {{ $show['currency'] }} | @php $contains = Illuminate\Support\Str::contains($show->currency_icon, 'fa'); @endphp @if($show->coupon_discount != 0)@if($contains) (-) {{ $show['coupon_discount'] }} @else (-) {{ $show['currency_icon'] }} {{ $show['coupon_discount'] }} @endif | @endif@if($show->coupon_discount == !NULL) @if($contains) {{ $show['total_amount'] - $show['coupon_discount'] }} @else {{ $show['currency_icon'] }} {{ $show['total_amount'] - $show['coupon_discount'] }} @endif @else @if($contains) {{ $show['total_amount'] }} @else {{ $show['currency_icon'] }} {{ $show['total_amount'] }} @endif @endif |