@extends('front.practitioner.import.template.import') @section('content')
@csrf
is_gst) && $paymentPlanData->is_gst == 'on') checked @endif>
is_gst) && $paymentPlanData->is_gst == 'off') checked @endif>
is_equal_instalment) && $paymentPlanData->is_equal_instalment == 'on') checked @endif>
is_equal_instalment) && $paymentPlanData->is_equal_instalment == 'off') checked @endif>
@csrf

Messaging

{{-- --}}

SMS

send_confirmation_via_sms == '1') checked @endif>

Email

{{-- send_confirmation_via_email == '1') checked @endif> --}}

Message personalisation

@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_confirmation_subject_line !='') { $email_confirmation_subject_line = $paymentPlanCommunicationSettings->email_confirmation_subject_line; }else{ $email_confirmation_subject_line = "Your payment plan is active"; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_confirmation_text !='') { $email_confirmation_text = $paymentPlanCommunicationSettings->email_confirmation_text; }else{ $email_confirmation_text =" Hi , Thanks for signing up for . Your payment plan is now all set up. Here are the details for your records: Plan: Payment terms: Frequency: Next debit: End date: Payments will be processed automatically, and you’ll receive a receipt each time. If ever you have any questions, just reach out. We are always here to help. Warm regards, "; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->sms_confirmation_text !='') { $sms_confirmation_text = $paymentPlanCommunicationSettings->sms_confirmation_text; }else{ $sms_confirmation_text = "Hi , your payment plan is now set up. Next debit: , Amount: . If you have any questions, please reach out. 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.
@csrf

Messaging

SMS

send_first_failed_via_sms == '1') checked @endif>

Email

send_first_failed_via_email == '1') checked @endif>

Message personalisation

@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_first_failed_subject_line !='') { $email_first_failed_subject_line = $paymentPlanCommunicationSettings->email_first_failed_subject_line; }else{ $email_first_failed_subject_line = "Payment declined"; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_first_failed_text !='') { $email_first_failed_text = $paymentPlanCommunicationSettings->email_first_failed_text; }else{ $email_first_failed_text =" Hi , Your recent payment for was not successful. This can happen if a card has expired, there are insufficient funds, or the bank declines the payment. We will attempt to debit your card again in 24 hours. If you would like to update your card details or make a payment now, you can do so here: Here are your plan details for reference: Plan: Payment terms: Frequency: If you have any questions or need assistance, please reach out. We are always here to help. Warmly, "; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->sms_first_failed_text !='') { $sms_first_failed_text = $paymentPlanCommunicationSettings->sms_first_failed_text; }else{ $sms_first_failed_text = "Hi , your recent payment for was unsuccessful. We will try again in 24 hrs, or you can make a payment here: . Reach out if we can be of assistance. 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.
@csrf

Messaging

SMS

send_second_failed_via_sms == '1') checked @endif>

Email

send_second_failed_via_email == '1') checked @endif>

Message personalisation

@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_second_failed_subject_line !='') { $email_second_failed_subject_line = $paymentPlanCommunicationSettings->email_second_failed_subject_line; }else{ $email_second_failed_subject_line = "Action required: Second payment attempt failed"; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_second_failed_text !='') { $email_second_failed_text = $paymentPlanCommunicationSettings->email_second_failed_text; }else{ $email_second_failed_text =" Hi , We attempted to process the second payment for , but it was not successful. As outlined in the terms and conditions you agreed to when signing up, here are your plan details: Plan: Payment terms: Frequency: We will attempt to debit your card again on . To avoid any interruption to your services, please ensure sufficient funds are available or update your card details here: Please note, if the next payment attempt is also unsuccessful, your services may be suspended until payment is received. If you have any questions or need assistance, please reach out. We are always here to help. Warm regards, "; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->sms_second_failed_text !='') { $sms_second_failed_text = $paymentPlanCommunicationSettings->sms_second_failed_text; }else{ $sms_second_failed_text = "Hi , we attempted to process the second payment for , but it was not successful. We will try again on . To avoid interruption to your services, please pay here: or ensure your card has sufficient funds. Please note, a third failed attempt may result in suspension of services. 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.
@csrf

Messaging

SMS

send_third_failed_via_sms == '1') checked @endif>

Email

send_third_failed_via_email == '1') checked @endif>

Message personalisation

@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_third_failed_subject_line !='') { $email_third_failed_subject_line = $paymentPlanCommunicationSettings->email_third_failed_subject_line; }else{ $email_third_failed_subject_line = "Services suspended"; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_third_failed_text !='') { $email_third_failed_text = $paymentPlanCommunicationSettings->email_third_failed_text; }else{ $email_third_failed_text =" Hi , Our third attempt to debit your account for was unsuccessful. In line with the terms and conditions you agreed to, your services have now been suspended until payment is received. To reactivate your services, please update your card details or make a payment here: If you need assistance or would like to discuss your options, please reach out to us. Warm regards, "; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->sms_third_failed_text !='') { $sms_third_failed_text = $paymentPlanCommunicationSettings->sms_third_failed_text; }else{ $sms_third_failed_text = "Hi , our third attempt to debit your account for was unsuccessful. Your services are now suspended until payment is received. To reactivate, please pay here: . 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.
@csrf

Messaging

SMS

send_received_via_sms == '1') checked @endif>

Email

send_received_via_email == '1') checked @endif>

Message personalisation

@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_received_subject_line !='') { $email_received_subject_line = $paymentPlanCommunicationSettings->email_received_subject_line; }else{ $email_received_subject_line = "Payment Received"; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->email_received_text !='') { $email_received_text = $paymentPlanCommunicationSettings->email_received_text; }else{ $email_received_text =" Hi , Your payment for has been received. Your account is now up to date, and your services are active. Your next scheduled debit is on . If you have any questions, please reach out. Warm regards, "; } @endphp
@php if(isset($paymentPlanCommunicationSettings) && $paymentPlanCommunicationSettings->sms_received_text !='') { $sms_received_text = $paymentPlanCommunicationSettings->sms_received_text; }else{ $sms_received_text = "Hi , your payment for has been received. Your account is now up to date, and services are active. 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