@extends('admin.layouts.master') @section('title','View Order') @section('maincontent') @component('components.breadcumb',['secondaryactive' => 'active']) @slot('heading') {{ __('Order') }} @endslot @slot('menu1') {{ __('Order') }} @endslot @endcomponent
@if($setting->logo_type == 'L')
@else()
{{ $setting->project_title }}
@endif
{{ __('Invoice') }}
{{ __('adminstaticword.Date') }}: {{ date('jS F Y', strtotime($show['created_at'])) }}
{{ __('adminstaticword.From') }}: @if($show->course_id != NULL)
{{ $show->courses->user['fname'] }}
  • {{ __('Address') }}: {{ $show->courses->user['address'] }}
  • @if($show->courses->user['state_id'] == !NULL) {{ $show->courses->user->state['name'] }}, @endif @if($show->courses->user['country_id'] == !NULL) {{ $show->courses->user->country['name'] }} @endif
  • {{ $show->courses->user['mobile'] }}
  • {{ $show->courses->user['email'] }}
@else
{{ $show->bundle->user['fname'] }}
  • {{ __('Back') }}Address: {{ $show->bundle->user['address'] }}
  • @if($show->bundle->user->state_id == !NULL) {{ $show->bundle->user->state['name'] }}, @endif @if($show->bundle->user->state_id == !NULL) {{ $show->bundle->user->country['name'] }} @endif
  • {{ $show->bundle->user['mobile'] }}
  • {{ $show->bundle->user['email'] }}
@endif
{{ __('adminstaticword.To') }}: @if(Auth::user()->role == "admin")
{{$show->user['fname'] }} {{$show->user['lname']}}
@else @if($gsetting->hide_identity == 0)
{{$show->user['fname'] }} {{$show->user['lname']}}
@else {{ __('Hidden') }} @endif @endif
  • {{ __('adminstaticword.Address') }}: {{ $show->user['address'] }}
    @if($show->user['state_id'] == !NULL) {{ $show->user->state['name'] }}, @endif @if($show->user['country_id'] == !NULL) {{ $show->user->country['name'] }}
  • @endif @if(Auth::user()->role == "admin")
  • {{ $show->user['mobile'] }}
  • @else @if($gsetting->hide_identity == 0)
  • {{ $show->user['mobile'] }}
  • @else {{ __('Hidden') }} @endif @endif @if(Auth::user()->role == "admin")
  • {{ $show->user['email'] }}
  • @else @if($gsetting->hide_identity == 0)
  • {{ $show->user['email'] }}
  • @else {{ __('Hidden') }} @endif @endif
{{ __('adminstaticword.OrderID') }}: {{ $show['order_id'] }}
{{ __('adminstaticword.TransactionId') }}: {{ $show['transaction_id'] }}
{{ __('adminstaticword.PaymentMethod') }}: {{ $show['payment_method'] }}
{{ __('adminstaticword.Currency') }}: {{ $show['currency'] }} {{ __('frontstaticword.PaymentStatus') }}: @if($show->status ==1) {{ __('adminstaticword.Recieved') }} @else {{ __('adminstaticword.Pending') }} @endif
{{ __('adminstaticword.Enrollon') }}: {{ date('jS F Y', strtotime($show['created_at'])) }}
@if($show->enroll_expire != NULL) {{ __('adminstaticword.EnrollEnd') }}: {{ date('jS F Y', strtotime($show['enroll_expire'])) }}
@endif
@if($show->proof != NULL) {{ __('Download Proof') }}
@endif
@if($show->coupon_discount != 0) @endif @php $contains = Illuminate\Support\Str::contains($show->currency_icon, 'fa'); @endphp @if($show->coupon_discount != 0) @endif
{{ __('adminstaticword.Course') }} {{ __('adminstaticword.Instructor') }} {{ __('adminstaticword.Currency') }}{{ __('adminstaticword.CouponDiscount') }}{{ __('adminstaticword.Total') }}
@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'] }} @if($contains) (-) {{ $show['coupon_discount'] }} @else (-) {{ $show['currency_icon'] }} {{ $show['coupon_discount'] }} @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
@if($show->bundle_id != NULL) @foreach($bundle_order->course_id as $bundle_course) @php $coursess = App\Course::where('id', $bundle_course)->first(); @endphp
@if($coursess['preview_image'] !== NULL && $coursess['preview_image'] !== '') course @else course @endif
{{ $coursess->title }}
@endforeach @endif
@endsection @section('scripts') @endsection