|
{!! __('api-mailing-booking-modified_booking-info', ['code' => $mailParams['bookingChannelCode'], 'channel' => $mailParams['bookingChannelName'], 'nameSurname' => $mailParams['name_surname']]) !!}
@if($mailParams['bookingChannelId'] != 1 || true)
|
{{__('mail-booking-channel')}}: {{$mailParams['bookingChannelName']}}
|
@if(!empty($mailParams['bookingChannelCode']))
|
{{__('mail-booking-confirmation-code')}}: {{$mailParams['bookingChannelCode']}}
|
@endif
|
Extranetwork Code: {{$mailParams['bookingCode']}}
|
| |
|
{{__('mail-booking-name-surname')}}: {{$mailParams['bookingChannelContactNameSurname']}} @if(!empty($mailParams['countryCode'])) ({{$mailParams['countryCode']}}) @endif
|
@if(!empty($mailParams['bookingChannelContactEmail']))
|
{{__('mail-booking-email')}}: {{fillOnUndefined($mailParams,'bookingChannelContactEmail', '-')}}
|
@endif
@if(!empty($mailParams['bookingChannelContactPhone']))
|
{{__('mail-booking-phone')}}: {{fillOnUndefined($mailParams,'bookingChannelContactPhone', '-')}}
|
@endif
@if(isset($mailParams['isBookingGenius']) && $mailParams['isBookingGenius'])
|
Booking.com Genius
|
@endif
| |
|
{{__('mail-booking-checkin')}}: {{$mailParams['checkin_date']}}
|
|
{{__('mail-booking-checkout')}}: {{$mailParams['checkout_date']}}
|
@foreach($mailParams['bookingChannelRoom'] as $perRoom)
|
{{__('mail-booking-room_order', ['order' => $perRoom['roomOrder']])}}: {{$perRoom['roomName']}}
|
{{$perRoom['roomRateName']}}
|
|
{{__('mail-booking-occupany')}}: {{$perRoom['occupancyText']}}
|
@if(isset($perRoom['dailyAmount']))
@foreach($perRoom['dailyAmount'] as $dailyAmount)
|
{{\Carbon\Carbon::parse($dailyAmount['date'])->format('d.m.Y')}}
|
{{floatval($dailyAmount['amount'])}} {{$dailyAmount['currency_code']}}
|
@endforeach
|
@if(isset($perRoom['additionalFee']) && !empty($perRoom['additionalFee']))
@foreach($perRoom['additionalFee'] as $additionalFeeKey => $additionalFee)
| Fee Type: |
{{$additionalFee['name']}} |
@if($additionalFee['is_inclusive'])
| Included: |
@if($additionalFee['is_inclusive']) Yes @else No @endif |
@else
| Total: |
{{$additionalFee['total_price']}} {{$mailParams['currency_code']}} |
@endif
@endforeach
|
|
@endif
@if(!empty($perRoom['discount_amount']) || $perRoom['discount_amount'] > 0)
|
{{__('mail-booking-discount')}}:
|
- {{$perRoom['discount_amount']}} {{$perRoom['currencyCode']}}
|
|
{{__('mail-booking-total')}}:
|
{{$perRoom['total']}} {{$perRoom['currencyCode']}}
|
@else
|
{{__('mail-booking-total')}}:
|
{{$perRoom['total']}} {{$perRoom['currencyCode']}}
|
@endif
@endif
@if(isset($perRoom['extraParam']) && !empty($perRoom['extraParam']))
@foreach($perRoom['extraParam'] as $extraParamKey => $extraParam)
|
{{$extraParam['title']}}
|
@if($extraParamKey == 'cancel_penalties')
@foreach($extraParam['value'] as $policyKey => $policyValue)
| From {{\Carbon\Carbon::parse($policyValue['from'])->format('M, d Y - H:i:s')}} |
{{$policyValue['amount']}} {{strtoupper($policyValue['currency'])}} |
@endforeach
@else
{!! $extraParam['value'] !!}
@endif
|
@endforeach
|
@endif
@endforeach
|
{{__('mail-booking-grand_total')}}:
|
{{$mailParams['total']}} {{$mailParams['currency_code']}}
|
@if($mailParams['payment_type_code'] != 'CHN')
|
{{__('mail-booking-payment')}}: {!! $mailParams['bookingChannelPaymentType'] !!}
|
@if(!empty($mailParams['bookingChannelPaymentSource']))
{{__('mail-booking-payment_source')}}: {!! $mailParams['bookingChannelPaymentSource'] !!}
@endif
|
@endif
@if(isset($mailParams['creditCardInformation']) && !empty($mailParams['creditCardInformation']))
|
{{__('mail-booking-cardholder_name')}}: {{$mailParams['creditCardInformation']['cardHolderName']}}
|
|
{{__('mail-booking-card_number')}}: {{$mailParams['creditCardInformation']['cardNumber']}}
|
|
{{__('mail-booking-expiration_date')}}: {{$mailParams['creditCardInformation']['expirationDate']}}
|
@if(!empty($mailParams['showCreditCardUrl']))
|
{{__('mail-booking-show_credit_card_info')}}
|
@endif
@endif
@if(!empty($mailParams['bookingChannelNote']))
{{__('mail-booking-note')}}:
{!! $mailParams['bookingChannelNote'] !!}
|
@endif
|
@endif
|