| 1 |
<?php |
| 2 |
/** |
| 3 |
* Remaining Checkout Template |
| 4 |
*/ |
| 5 |
|
| 6 |
if (!defined('ABSPATH')) { |
| 7 |
exit; |
| 8 |
} |
| 9 |
|
| 10 |
yatra_start_session(); |
| 11 |
|
| 12 |
$booking = $booking ?? ($GLOBALS['yatra_booking'] ?? null); |
| 13 |
|
| 14 |
yatra_get_header(); |
| 15 |
?> |
| 16 |
|
| 17 |
<div class="yatra-booking-page yatra-remaining-page"> |
| 18 |
<div class="yatra-booking-container"> |
| 19 |
<?php |
| 20 |
$partial = YATRA_PLUGIN_PATH . 'templates/partials/remaining-checkout-content.php'; |
| 21 |
if (file_exists($partial)) { |
| 22 |
include $partial; |
| 23 |
} else { |
| 24 |
echo '<p>' . esc_html__('Remaining checkout content missing.', 'yatra') . '</p>'; |
| 25 |
} |
| 26 |
?> |
| 27 |
</div> |
| 28 |
</div> |
| 29 |
|
| 30 |
|
| 31 |
<?php yatra_get_footer(); ?> |
| 32 |
|