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_okbox.php |
<?php if ($pendingPayment): ?>
<div class="sln-thankyou--okbox">
<h2 class="sln-thankyou__status sln-thankyou__status--pending">
<img class="sln-thankyou__img" src="<?php echo SLN_PLUGIN_URL.'/img/pay_icon.png' ?>" alt="">
<span class="sln-thankyou__status__message"><?php echo __('Choose a payment option', 'salon-booking-system') ?></span>
</h2>
<div class="sln-thankyou__status__row">
<?php _e('Pending booking number', 'salon-booking-system') ?>:
<strong><?php echo $booking->getId() ?></strong>
</div>
<?php if($booking->getDeposit() > 0){ ?>
<div class="sln-thankyou__status__row">
<?php _e('Total amount of the reservation', 'salon-booking-system') ?>:
<strong>
<?php echo $plugin->format()->moneyFormatted($booking->getAmount()) ?>
</strong>
</div>
<div class="sln-thankyou__status__row">
<?php _e('Amount to be paid in advance', 'salon-booking-system') ?>:
<strong>
<?php echo $plugin->format()->moneyFormatted($booking->getDeposit()) ?>
</strong>
</div>
<?php }else{ ?>
<div class="sln-thankyou__status__row">
<?php _e('Amount to be paid', 'salon-booking-system') ?>:
<strong>
<?php echo $plugin->format()->moneyFormatted($booking->getAmount()) ?>
</strong>
</div>
<?php } ?>
</div>
<?php else: ?>
<div class="sln-thankyou--okbox">
<h2 class="sln-thankyou__status <?php if($confirmation): ?> sln-thankyou__status--attention<?php else : ?> sln-thankyou__status--ok<?php endif ?>">
<?php if($confirmation): ?>
<span class="sln-thankyou__icon sln-thankyou__icon--time"></span>
<?php else : ?>
<span class="sln-thankyou__icon sln-thankyou__icon--checked"></span>
<?php endif ?>
<span class="sln-thankyou__status__message"><?php echo $confirmation ? __('Your booking is pending', 'salon-booking-system') : __('Your booking is completed', 'salon-booking-system') ?></span>
</h2>
<p class="sln-thankyou__label"><?php _e('Booking number', 'salon-booking-system') ?></p>
<h3 class="sln-thankyou__id"><?php echo $booking->getId() ?></h3>
</div>
<?php endif; ?>