@extends(getTemplate().'.layouts.app') @push('styles_top') @endpush @section('content') @if(!empty($activeSpecialOffer)) @include('web.default.course.special_offer') @endif {{ clean($bundle->title, 't') }} {{ trans('public.in') }} {{ $bundle->category->title }} @include('web.default.includes.webinar.rate',['rate' => $bundle->getRate()]) ({{ $bundle->reviews->pluck('creator_id')->count() }} {{ trans('public.ratings') }}) {{ trans('public.created_by') }} {{ $bundle->teacher->full_name }} {{ trans('product.information') }} {{ trans('product.content') }} ({{ $bundle->bundleWebinars->count() }}) {{ trans('product.reviews') }} ({{ $bundle->reviews->count() > 0 ? $bundle->reviews->pluck('creator_id')->count() : 0 }}) @include('web.default.bundle.tabs.information') @include('web.default.bundle.tabs.content') @include('web.default.bundle.tabs.reviews') @if($bundle->video_demo) @endif {{ csrf_field() }} @if(!empty($bundle->tickets)) @foreach($bundle->tickets as $ticket) isValid()) disabled @endif type="radio" data-discount="{{ $ticket->discount }}" data-currency value="{{ ($ticket->isValid()) ? $ticket->id : '' }}" name="ticket_id" id="courseOff{{ $ticket->id }}"> {{ $ticket->title }} @if(!empty($ticket->discount)) ({{ $ticket->discount }}% {{ trans('public.off') }}) @endif {{ $ticket->getSubTitle() }} @endforeach @endif @if($bundle->price > 0) @php $realPrice = handleCoursePagePrice($bundle->price); @endphp {{ $realPrice['price'] }} @if(!empty($realPrice['tax']) and empty($activeSpecialOffer)) + {{ $realPrice['tax'] }} tax @endif @if(!empty($activeSpecialOffer)) @php $priceWithDiscount = handleCoursePagePrice($bundle->getPrice()); @endphp {{ $priceWithDiscount['price'] }} @if(!empty($priceWithDiscount['tax'])) + {{ $priceWithDiscount['tax'] }} tax @endif @endif @else {{ trans('public.free') }} @endif @php $canSale = ($bundle->canSale() and !$hasBought); @endphp @if($hasBought or !empty($bundle->getInstallmentOrder())) {{ trans('panel.purchased') }} @elseif($bundle->price > 0) @if(!$canSale) {{ trans('update.disabled_add_to_cart') }} @else {{ trans('public.add_to_cart') }} @endif @if($canSale and $bundle->subscribe) {{ trans('public.subscribe') }} @endif @if($canSale and !empty($bundle->points)) {!! trans('update.buy_with_n_points',['points' => $bundle->points]) !!} @endif @if($canSale and !empty(getFeaturesSettings('direct_bundles_payment_button_status'))) {{ trans('update.buy_now') }} @endif @else {{ trans('update.enroll_on_bundle') }} @endif @if(!empty(getOthersPersonalizationSettings('show_guarantee_text')) and getOthersPersonalizationSettings('show_guarantee_text')) {{ getOthersPersonalizationSettings('guarantee_text') }} @endif {{ trans('panel.favorite') }} {{ trans('public.share') }} {{-- Cashback Alert --}} @include('web.default.includes.cashback_alert',['itemPrice' => $bundle->price]) {{-- Gift Card --}} @if($bundle->canSale() and !empty(getGiftsGeneralSettings('status')) and !empty(getGiftsGeneralSettings('allow_sending_gift_for_bundles'))) {{ trans('update.gift_this_bundle') }} {{ trans('update.gift_this_bundle_hint') }} @endif @if($bundle->teacher->offline) {{ trans('public.instructor_is_not_available') }} {{ $bundle->teacher->offline_message }} @endif {{ trans('update.bundle_specifications') }} {{ trans('public.duration') }}: {{ convertMinutesToHourAndMinute($bundle->getBundleDuration()) }} {{ trans('home.hours') }} {{ trans('quiz.students') }}: {{ $bundle->sales_count }} {{ trans('product.courses') }}: {{ $bundle->bundleWebinars->count() }} {{ trans('public.created_at') }}: {{ dateTimeFormat($bundle->created_at,'j M Y') }} @if(!empty($bundle->access_days)) {{ trans('update.access_period') }}: {{ $bundle->access_days }} {{ trans('public.days') }} @endif {{-- organization --}} @if($bundle->creator_id != $bundle->teacher_id) @include('web.default.course.sidebar_instructor_profile', ['courseTeacher' => $bundle->creator]) @endif {{-- teacher --}} @include('web.default.course.sidebar_instructor_profile', ['courseTeacher' => $bundle->teacher]) {{-- ./ teacher --}} {{-- tags --}} @if($bundle->tags->count() > 0) {{ trans('public.tags') }} @foreach($bundle->tags as $tag) {{ $tag->title }} @endforeach @endif {{-- ads --}} @if(!empty($advertisingBannersSidebar) and count($advertisingBannersSidebar)) @foreach($advertisingBannersSidebar as $sidebarBanner) @endforeach @endif {{-- Ads Bannaer --}} @if(!empty($advertisingBanners) and count($advertisingBanners)) @foreach($advertisingBanners as $banner) @endforeach @endif {{-- ./ Ads Bannaer --}} @include('web.default.bundle.share_modal') @include('web.default.bundle.buy_with_point_modal') @endsection @push('scripts_bottom') @endpush
{{ trans('update.gift_this_bundle_hint') }}
{{ $bundle->teacher->offline_message }}