@php use Modules\Store\Entities\ProductSku; @endphp
|
|
INV-{{ $enroll->id + 1000 }} |
|
@if (isModuleActive('Store'))
{{ __('product.Order ID') }}: {{ @$enroll->order_number }} @endif{{ __('student.Date') }}: {{ date('d F Y', strtotime(@$enroll->created_at)) }} {{ __('student.Pay Method') }}: @if($enroll->payment_method=='Wallet') {{__('payment.Wallet')}} @else {{ $enroll->payment_method }} @endif @if ($enroll->courses->sum('purchase_price') == 0) {{ __('student.Status') }}: {{ __('common.Paid') }} @else {{ __('student.Status') }}: @php if (isModuleActive('Store')) { $is_paid = $enroll->status == 1 && $enroll->is_paid == 1; }else { $is_paid = $enroll->status == 1; } @endphp {{ $is_paid ? __('student.Paid') : __('student.Unpaid') }} @endif |
{{ __('student.Company') }}: {{ Settings('site_title') }} {{ __('student.Phone') }}: {{ Settings('phone') }} {{ __('student.Email') }}: {{ Settings('email') }} {{ __('student.Address') }}: {{ Settings('address') }} |
|
{{ __('student.Name') }}: {{ @$enroll->bill->first_name }} {{ @$enroll->bill->last_name }} {{ __('student.Phone') }}: {{ @$enroll->bill->phone }} {{ __('student.Email') }}: {{ @$enroll->bill->email }} {{__('frontend.Company Name')}}: {{ @$enroll->bill->company_name }} {{ __('student.Address') }}: {{ @$enroll->bill->address1 }} {{ @$enroll->bill->address2 }} {{ @$enroll->bill->cityDetails->name }} {{ @$enroll->bill->zip_code }} {{ @$enroll->bill->countryDetails->name }} |
| {{ __('common.SL') }} | {{ __('courses.Course') }} / {{ __('student.Product') }} {{ __('common.Name') }} | @if (isModuleActive('Store')){{ __('product.Type') }} | {{ __('student.Quantity') }} | @endif{{ __('student.Price') }} | {{ __('student.Total') }} | ||
|---|---|---|---|---|---|---|---|
| {{ $sl++ }} |
{{ @$item->userInfo->name }} - {{showDate($item->schedule->schedule_date)}} |
@php
$price = $item->original_price;
$total = $total + $price;
@endphp
@if (isModuleActive('Store'))
{{trans('common.N/A')}} | {{translatedNumber(1)}} | @endif{{ getPriceFormat($price,false) }} | {{ getPriceFormat($price,false) }} | ||
| {{ $sl++ }} |
{{ @$gift->course->getTranslation('title', $language_code) }} |
@php
$price = $gift->course->discount_price != 0 ? $gift->course->discount_price : $gift->course->price;
$total = $total + $price;
@endphp
{{ getPriceFormat($gift->price,false) }} | |||||
| {{ $sl++ }} |
{{ @$item->course->getTranslation('title', $language_code) }} |
@if (isModuleActive('Store'))
{{ $item->is_store ? ($item->course->product->type == 2 ? __('product.Physical') : __('product.Virtual')) : __('product.Virtual') }} | {{ $item->qty>0?$item->qty:1 }} | @endif @php $price1 =$item->original_price; $price =$item->original_price * ($item->qty??1); $total = $total + $price; @endphp{{ getPriceFormat($price1,false) }} | {{--{{ getPriceFormat($price1) }} | --}}{{ getPriceFormat($price,false) }} | |
| @if (isModuleActive('Store')) | @endif | {{ __('student.Sub Total') }} | {{ getPriceFormat($total,false) }} | ||||
| @if (isModuleActive('Store')) | @endif | {{ __('common.Discount') }} | @if ($enroll->discount == 0)0 | @else{{ getPriceFormat($enroll->discount,false) }} | @endif|||
| {{ __('product.shipping_charge') }} | {{ getPriceFormat($enroll->shipping_cost,false) }} | ||||||
| @if (isModuleActive('Store')) | @endif | {{ __('tax.TAX') }} | {{ $enroll->tax == 0 ? 0 : getPriceFormat($enroll->tax,false) }} | ||||
| @if (isModuleActive('Store')) | @endif | {{ __('student.Total') }} | {{ getPriceFormat($enroll->purchase_price,false) }} | ||||