@extends('front.practitioner.import.template.import') @section('content')
@csrf
{{-- --}}
is_gst) && $CoursesData->is_gst == 'on') checked @endif>
is_gst) && $CoursesData->is_gst == 'off') checked @endif>
@if(isset($getPlanNameData) && $getPlanNameData->count() >= 1)
is_offer_payment_plan) && $CoursesData->is_offer_payment_plan == 'on') checked @endif>
is_offer_payment_plan) && $CoursesData->is_offer_payment_plan == 'off') checked @endif>
@endif
available_for_payment_plan) && $CoursesData->available_for_payment_plan == 'on') checked @endif>
available_for_payment_plan) && $CoursesData->available_for_payment_plan == 'off') checked @endif>
timeframe_type) && $CoursesData->timeframe_type == 'limited') checked @endif>
timeframe_type) && $CoursesData->timeframe_type == 'ongoing') checked @endif>
{{-- --}}
available_for_purchase_online) && $CoursesData->available_for_purchase_online == 'on') checked @endif>
available_for_purchase_online) && $CoursesData->available_for_purchase_online == 'off') checked @endif>
Ideal size: 850 x 600 pixels

Drag and drop image here

- or -
@if(isset($CoursesData) && $CoursesData->image) @php $courseImageName = $CoursesData->image; $imagedisplayName = $courseImageName; if ($courseImageName && preg_match('/(.+)_\d+\.(\w+)$/', $courseImageName, $imagematches)) { $imagedisplayName = $imagematches[1] . '.' . $imagematches[2]; } @endphp
photo
{{ $imagedisplayName}} @else @endif
@if(isset($CoursesmoduleData) && $CoursesmoduleData->isEmpty()) {{-- No modules: show "Add Module" button only --}} @else {{-- Modules exist: show each module and its lessons --}} @if(isset($CoursesmoduleData) && !$CoursesmoduleData->isEmpty()) @foreach($CoursesmoduleData as $module) @if($module->lessons->isNotEmpty())
cpurse{{ $module->module_name ?? 'Module name' }}
Drag to re-order
@foreach($module->lessons as $lesson)
Drag to re-order
{{-- {{ $lesson->lesson_title ?? '' }} --}} {{-- {!! $lesson->lesson_title ?? '' !!} --}} {{ trim(html_entity_decode(strip_tags($lesson->lesson_title ?? ''), ENT_QUOTES | ENT_HTML5, 'UTF-8')) }}
@endforeach {{--
Drag to re-order
Lesson B
--}}
@endif @endforeach {{-- Add module button BELOW all modules --}} @endif @endif
@if(isset($CoursesLandingData) && $CoursesLandingData !='')
Preview {{-- Preview --}}
@endif
@csrf
Ideal size: 1200 x 675 pixels

Drag and drop image here

- or -
@if(isset($CoursesLandingData) && $CoursesLandingData->landing_image) @php $landingimageName = $CoursesLandingData->landing_image; $landingdisplayName = $landingimageName; if ($landingimageName && preg_match('/(.+)_\d+\.(\w+)$/', $landingimageName, $landingimagematches)) { $landingdisplayName = $landingimagematches[1] . '.' . $landingimagematches[2]; } @endphp
photo
{{ $landingdisplayName}} @else @endif

Instructor details

{{--
--}}
Ideal size: 1200 x 675 pixels

Drag and drop image here

- or -
@if(isset($CoursesLandingData) && $CoursesLandingData->instructors_image) @php $instructorimageName = $CoursesLandingData->instructors_image; $instructordisplayName = $instructorimageName; if ($instructorimageName && preg_match('/(.+)_\d+\.(\w+)$/', $instructorimageName, $instructormatches)) { $instructordisplayName = $instructormatches[1] . '.' . $instructormatches[2]; } @endphp
photo
{{ $instructordisplayName}} @else @endif

Testimonials

@if(!empty($CoursesLandingData->testimonials) && count($CoursesLandingData->testimonials)) @foreach($CoursesLandingData->testimonials as $index => $testimonial)
Ideal size: 132 x 132 pixels

Drag and drop image here

- or -
@if($testimonial->testimonials_image) @php $imageName = $testimonial->testimonials_image; $displayName = $imageName; if ($imageName && preg_match('/(.+)_\d+\.(\w+)$/', $imageName, $matches)) { $displayName = $matches[1] . '.' . $matches[2]; } @endphp
photo
{{-- {{ $testimonial->testimonials_image}} --}} {{ $displayName}} @else @endif
@endforeach @else @php $index = 0; @endphp
Ideal size: 132 x 132 pixels

Drag and drop image here

- or -
@endif
@csrf

Messaging

SMS

send_confirmation_via_sms == '1') checked @endif>

Email

send_confirmation_via_email == '1') checked @endif>

Message personalisation

@php if(isset($courseCommunicationSettings) && $courseCommunicationSettings->email_subject_line !='') { $email_subject_line = $courseCommunicationSettings->email_subject_line; }else{ $email_subject_line = "You’re in! Welcome to "; } @endphp
@php if(isset($courseCommunicationSettings) && $courseCommunicationSettings->email_reminder_text !='') { $email_body_message_text = $courseCommunicationSettings->email_reminder_text; }else{ $email_body_message_text =" Hi Thank you for purchasing . We are excited to have you on board and can't wait for you to start your journey towards improved health and wellness. Here’s what you need to know to get started: 1. Accessing the course: You can begin your course by logging into your account here: . Once logged in, you’ll find all the course materials ready for you. 2. Course password: The course is hosted on the My Appointments platform, where you also manage your bookings. You can log in directly using the same password you use for My Appointments. If you've forgotten your password, click here to reset it . 3. Course details: Briefly outline what the course covers or mention any key modules and/or how long they have access for…….. Your course access will expire on . 4. Need help? If you have any questions or need assistance, don’t hesitate to reach out to us. We’re happy to help! Warm regards, "; } @endphp
@php if(isset($courseCommunicationSettings) && $courseCommunicationSettings->sms_reminder_text !='') { $sms_reminder_text = $courseCommunicationSettings->sms_reminder_text; }else{ $sms_reminder_text = "Hi , thanks for purchasing ! Details have been emailed. To start, log in at with your My Appointments password. Forgot it? . We are excited to support you in your health journey! Warm regards, ."; } @endphp

...
1 credit per sms. Character count for 1st message is 160 and each message thereafter 153.
Overseas numbers incur 2 credits per sms.
@endsection @section('import-scripts') @endsection