Current Path : /storage/v11800/athomenoha/public_html/wp-content/plugins/salon-booking-system/views/shortcode/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/athomenoha/public_html/wp-content/plugins/salon-booking-system/views/shortcode/_salon_thankyou_alert.php |
<?php
/**
* @var $confirmation bool
* @var $plugin SLN_Plugin
*/
$genPhone = $plugin->getSettings()->get('gen_phone');
$genMail = $plugin->getSettings()->getSalonEmail();
$payOffsetEnabled = $plugin->getSettings()->get('pay_offset_enabled');
?>
<div class="sln-alert sln-alert--info <?php if ($confirmation) : ?> sln-alert--topicon<?php endif ?>">
<?php if ($confirmation) : ?>
<p><strong><?php _e(
'You will receive a confirmation of your booking by email.',
'salon-booking-system'
) ?></strong></p>
<p><?php echo sprintf(
// translators: %1$s will be replaced by the phone number, %2$s will be replaced by the email
__(
'If you don\'t receive any news from us or you need to change your reservation please call the %1$s or send an e-mail to %2$s',
'salon-booking-system'
),
$genPhone,
$genMail
); ?></p>
<?php else : ?>
<?php if ($paymentMethod && $payOffsetEnabled) : ?>
<p><?php
$payLeftTime = $booking->getTimeStringToChangeStatusFromPending();
echo sprintf(
// translators: %s will be replaced by the remaining payment time
__(
'You have <strong>%s</strong> to complete your payment before this reservation is canceled',
'salon-booking-system'
),
$payLeftTime
); ?></p>
<?php endif ?>
<p><?php echo $plugin->getSettings()->get('last_step_note') ? str_replace(array('[SALON PHONE]', '[SALON EMAIL]'), array($genPhone, $genMail), $plugin->getSettings()->get('last_step_note')) : sprintf(
// translators: %1$s will be replaced by the phone number, %2$s will be replaced by the email
__(
'You will receive a booking confirmation by email.If you do not receive an email in 5 minutes, check your Junk Mail or Spam Folder. If you need to change your reservation, please call <strong>%1$s</strong> or send an e-mail to <strong>%2$s</strong>.',
'salon-booking-system'
),
$genPhone,
$genMail
); ?>
</p>
<!-- form actions -->
<?php endif ?>
</div>