@version(2) @load('css/lodging.css') @load('js/lodging.js') @php $ldg_df = isset($lang->lodging_date_fmt) ? $lang->lodging_date_fmt : 'Y.m.d'; $ldg_dtf = isset($lang->lodging_datetime_fmt) ? $lang->lodging_datetime_fmt : 'Y.m.d H:i'; $ldg_money = isset($lang->lodging_money) ? $lang->lodging_money : '%s' . $lang->lodging_won; $ldg_mid = $module_info->mid; $ldg_thumb = \Zittme\Modules\Lodging\Models\Image::firstUrl((int)$room_type->room_type_srl); if ($ldg_thumb === '') { $ldg_thumb = \Zittme\Modules\Lodging\Models\Image::firstUrl((int)$property->property_srl); } $ldg_person = (int)\Context::get('person'); if ($ldg_person < 1 || $ldg_person > (int)$room_type->max_person) { $ldg_person = (int)$room_type->std_person; } $ldg_open = (int)substr($room_type->dayuse_open, 0, 2); $ldg_close = (int)substr($room_type->dayuse_close, 0, 2) - (int)$room_type->dayuse_hours; $ldg_period_label = $stay_type === 'dayuse' ? zdate($checkin, $ldg_df) . ' · ' . $lang->lodging_dayuse . ' · ' . sprintf($lang->lodging_dayuse_hours, $room_type->dayuse_hours) : zdate($checkin, $ldg_df) . ' ~ ' . zdate($checkout, $ldg_df) . ' · ' . sprintf($lang->lodging_nights, $nights); $ldg_back_url = getUrl('', 'mid', $ldg_mid, 'act', 'dispLodgingView', 'property_srl', $property->property_srl, 'stay_type', $stay_type, 'checkin', $checkin, 'checkout', $checkout); @endphp
{{ $lang->lodging_booker_info }}
@if (!$is_logged)
{{ $lang->lodging_guest_password_help }}
@endif @if ($stay_type === 'dayuse')
@endif
{{ $lang->lodging_coupon }} @if ($is_logged)
@if (count($wallet_list)) @else
{{ $lang->lodging_no_wallet_coupon_short }} {{ $lang->lodging_go_claim }}
@endif
@endif
{{ $lang->lodging_coupons_here }}: {{ $lang->lodging_coupon_apply }}
@if ($is_logged)
{{ $lang->lodging_point_use }} {{ $lang->lodging_point_balance }} {{ number_format($point_balance) }}P
{{ sprintf($lang->lodging_point_use_help, number_format($point_min_use)) }} · {{ sprintf($lang->lodging_point_earn_help, rtrim(rtrim(number_format($point_rate, 1), '0'), '.')) }}
@endif
{{ $lang->lodging_pay_method }}
@if ($can_prepay) @endif @if ($can_onsite) @endif
{{ $lang->lodging_cancel_policy }} @if (count($cancel_rules))
    @foreach ($cancel_rules as $ldg_rule)
  • @if ((int)$ldg_rule->days_before > 0){{ sprintf($lang->lodging_cancel_rule_row, (int)$ldg_rule->days_before, (int)$ldg_rule->refund_rate) }}@else{{ sprintf($lang->lodging_cancel_rule_today, (int)$ldg_rule->refund_rate) }}@endif
  • @endforeach
@else

{{ $lang->lodging_no_cancel_rule }}

@endif
{{ $lang->lodging_select_room }}