/home/techb158/ileadtechnology.com/resources/views/front/purchase_history
Edit: /home/techb158/ileadtechnology.com/resources/views/front/purchase_history/invoice.blade.php (9546B)
@extends('theme.master')
@section('title', 'Invoice')
@section('content')
@include('admin.message')
{{ __('frontstaticword.Invoice') }}
From:
@if($orders->course_id != NULL)
{{ $orders->courses->user['fname'] }}
{{ __('frontstaticword.address') }}: {{ $orders->courses->user['address'] }}
@if($orders->courses->user['state_id'] == !NULL)
{{ $orders->courses->user->state['name'] }},
@endif
@if($orders->courses->user['country_id'] == !NULL)
{{ $orders->courses->user->country['name'] }}
@endif
{{ __('frontstaticword.Phone') }}: {{ $orders->courses->user['mobile'] }}
{{ __('frontstaticword.Email') }}: {{ $orders->courses->user['email'] }}
@else
{{ $orders->bundle->user['fname'] }}
{{ __('frontstaticword.address') }}: {{ $orders->bundle->user['address'] }}
@if($orders->bundle->user->state_id == !NULL)
{{ $orders->bundle->user->state['name'] }},
@endif
@if($orders->bundle->user->country_id == !NULL)
{{ $orders->bundle->user->country['name'] }}
@endif
{{ __('frontstaticword.Phone') }}: {{ $orders->bundle->user['mobile'] }}
{{ __('frontstaticword.Email') }}: {{ $orders->bundle->user['email'] }}
@endif
To:
{{ $orders->user['fname'] }}
{{ __('frontstaticword.address') }}: {{ $orders->user['address'] }}
@if($orders->user->state_id == !NULL)
{{ $orders->user->state['name'] }},
@endif
@if($orders->user->country_id == !NULL)
{{ $orders->user->country['name'] }}
@endif
{{ __('frontstaticword.Phone') }}: {{ $orders->user['mobile'] }}
{{ __('frontstaticword.Email') }}: {{ $orders->user['email'] }}
{{ __('frontstaticword.OrderID') }}: {{ $orders['order_id'] }}
{{ __('frontstaticword.TransactionID') }}: {{ $orders['transaction_id'] }}
{{ __('frontstaticword.PaymentMode') }}: {{ $orders['payment_method'] }}
{{ __('frontstaticword.Currency') }}: {{ $orders['currency'] }}
{{ __('frontstaticword.PaymentStatus') }}:
@if($orders->status ==1)
{{ __('frontstaticword.Recieved') }}
@else
{{ __('frontstaticword.Pending') }}
@endif
{{ __('frontstaticword.Enrollon') }}: {{ date('jS F Y', strtotime($orders['created_at'])) }}
@if($orders->enroll_expire != NULL)
{{ __('frontstaticword.EnrollEnd') }}: {{ date('jS F Y', strtotime($orders['enroll_expire'])) }}
@endif
| {{ __('frontstaticword.Courses') }} |
{{ __('frontstaticword.Instructor') }} |
{{ __('frontstaticword.Currency') }} |
@if($orders->coupon_discount != 0)
Coupon Discount |
@endif
{{ __('frontstaticword.Total') }} |
@if($orders->course_id != NULL)
| {{ $orders->courses['title'] }} |
{{ $orders->courses->user['email'] }} |
@else
{{ $orders->bundle['title'] }} |
{{ $orders->bundle->user['email'] }} |
@endif
{{ $orders['currency'] }} |
@if($orders->coupon_discount != 0)
(-) {{ $orders['coupon_discount'] }}
|
@endif
@if($orders->coupon_discount == !NULL)
{{ $orders['total_amount'] - $orders['coupon_discount'] }}
@else
{{ $orders['total_amount'] }}
@endif
|
@if($orders->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'] !== '')
 }})
@else
->toBase64() }})
@endif
|
@endforeach
@endif
@endsection
@section('custom-script')
@endsection