@php
use Gloudemans\Shoppingcart\Facades\Cart;
$langText = $lang == $multiLangMode::DEFAULT ? 'ja' : Str::slug($multiLangMode::getDescription($lang));
@endphp
@extends('layouts.hotels')
@section('content')
{!! __('hotels.nav.text_cart', [], $multiLangMode::getLanguageCode($lang)) !!}
@if (Cart::count())
@foreach (Cart::content() as $key => $content)
{!! __(
'hotels.cart.reservation_details',
['number' => $loop->index + 1],
$multiLangMode::getLanguageCode($lang),
) !!}
@php
$roomInfo = fieldPropertyValue('room', $content->options);
$planInfo = fieldPropertyValue('plan', $content->options);
$paramInfo = fieldPropertyValue('params', $content->options);
@endphp
-
-
{!! textLocale('facility_name', $basic, $lang) !!}
@if (textLocale('name', $roomInfo, $lang))
-
{!! textLocale('name', $roomInfo, $lang) !!}
@endif
@if (textLocale('name_sp', $roomInfo, $lang))
-
{!! textLocale('name_sp', $roomInfo, $lang) !!}
@endif
@if (textLocale('heading', $planInfo, $lang))
-
{!! textLocale('heading', $planInfo, $lang) !!}
@endif
@if (textLocale('heading_sp', $planInfo, $lang))
-
{!! textLocale('heading_sp', $planInfo, $lang) !!}
@endif
-
{!! __('hotels.modal_book_now.params_search', [], $multiLangMode::getLanguageCode($lang)) !!}
{{ formatDateByLang($paramInfo['checkin_date'], 'Y/n/j(D)', $lang) }}~{{ formatDateByLang($paramInfo['checkout_date'], 'Y/n/j(D)', $lang) }}
{!! __(
'hotels.booking_info',
['adults' => $paramInfo['adults'], 'rooms' => $paramInfo['rooms']],
$multiLangMode::getLanguageCode($lang),
) !!}
@if ($content->price)
{!! __('hotels.modal_book_now.total_price', [], $multiLangMode::getLanguageCode($lang)) !!}
-
{!! __('hotels.text_price.tax_included', [], $multiLangMode::getLanguageCode($lang)) !!}
-
{{ number_format((int) $content->price) }}
{!! __('hotels.text_price.unit', [], $multiLangMode::getLanguageCode($lang)) !!}
@endif
@include('include.hotels.modalDeleteReservation', [
'content' => $content,
'key' => $key,
])
@endforeach
@else