<?php
/**
* The template for displaying a booking summary to customers.
* It will display in:
* - Thank you page after checkout;
* - Order confirmation email;
* - Review order in My Account > Orders.
*
* This template can be overridden by copying it to yourtheme/jet-booking/booking-summary.php.
*
* @since 3.0.0
* @version 4.1.2
*/
defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
?>
<div class="jet-booking-summary">
<div class="jet-booking-summary__number">
<strong><?php printf( esc_html__( 'Booking #%s', 'jet-booking' ), esc_html( $booking->get_id() ) ); ?></strong>
</div>
<?php if ( ! empty( $booking->get_apartment_unit() ) ): ?>
<div class="jet-booking-summary__unit">
<?php printf( esc_html__( 'Unit: %s', 'jet-booking' ), esc_html( jet_abaf()->macros->macros_handler->do_macros( '%booking_unit_title%', $booking ) ) ); ?>
</div>
<?php endif; ?>
<div class="jet-booking-summary__dates">
<div class="jet-booking-summary__date-check-in">
<?php
printf( esc_html__( 'Check in: %s', 'jet-booking' ), esc_html( date_i18n( get_option( 'date_format' ), $booking->get_check_in_date() ) ) );
$check_in_time = jet_abaf()->tools->format_timepicker_time( $booking->get_check_in_time() );
if ( $check_in_time ) {
printf( esc_html__( ' - %s', 'jet-booking' ), esc_html( $check_in_time ) );
}
?>
</div>
<div class="jet-booking-summary__date-check-out">
<?php
printf( esc_html__( 'Check out: %s', 'jet-booking' ), esc_html( date_i18n( get_option( 'date_format' ), $booking->get_check_out_date() ) ) );
$check_out_time = jet_abaf()->tools->format_timepicker_time( $booking->get_check_out_time() );
if ( $check_out_time ) {
printf( esc_html__( ' - %s', 'jet-booking' ), esc_html( $check_out_time ) );
}
?>
</div>
</div>
<?php if ( $booking->get_guests() ) : ?>
<div class="jet-booking-summary__guests">
<?php printf( esc_html__( 'Guests: %s', 'jet-booking' ), esc_html( $booking->get_guests() ) ); ?>
</div>
<?php endif;
$this->display_booking_additional_services( $booking );
/**
* Fires on render booking summary in order metadata.
* Allows to add any content to booking summary.
*/
do_action( 'jet-booking/wc-integration/order-summary', $booking, $item, $order );
?>
</div>
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| admin/ | 2026-07-21 14:16 | 184.25 KB | 76129f60960:kunden | dxwrx-r--r | |
| form-fields/ | 2026-07-21 14:16 | 2.58 KB | 76129f60960:kunden | dxwrx-r--r | |
| woocommerce/ | 2026-07-21 14:16 | 7.9 KB | 76129f60960:kunden | dxwrx-r--r | |
| booking-summary.php | 2026-07-21 14:16 | 2.25 KB | 76129f60960:kunden | -xw-x----- | |
| email-order-details-html.php | 2026-07-21 14:16 | 702 B | 76129f60960:kunden | -xw-x----- | |
| email-order-details-plain.php | 2026-07-21 14:16 | 600 B | 76129f60960:kunden | -xw-x----- | |
| form-field-separate.php | 2026-07-21 14:16 | 2.93 KB | 76129f60960:kunden | -xw-x----- | |
| form-field-single.php | 2026-07-21 14:16 | 1.3 KB | 76129f60960:kunden | -xw-x----- | |
| order-details.php | 2026-07-21 14:16 | 796 B | 76129f60960:kunden | -xw-x----- | |
| units-manager.php | 2026-07-21 14:16 | 4.02 KB | 76129f60960:kunden | -xw-x----- | |