MSJ ROOM BOOKING

Changes to Your Booking

Booking ID: {{ $mailData['booking_id'] }}

Dear {{ $mailData['user_firstname'] }},

@if(isset($mailData['changes']['room_id']))

We would like to inform you that there have been changes to your booking. Your room has been updated from {{ $mailData['changes']['room_name']['old'] }} to {{ $mailData['room_name'] }}.

Please keep in mind that the maximum capacity of {{ $mailData['room_name'] }} is only {{ $mailData['room_capacity'] }} people.

@else

We would like to inform you that there have been changes to your booking for the room {{ $mailData['room_name'] }}.

@endif

Summary of Changes:

@if(isset($mailData['changes']['representation_nik'])) @endif @if(isset($mailData['changes']['room_id'])) @endif @if(isset($mailData['changes']['description'])) @endif @if(isset($mailData['changes']['flexible_time'])) @endif @if(isset($mailData['changes']['dates'])) @endif
Field Change Result
Representing {{ $mailData['changes']['new_representation']['name'] . ' - ' . $mailData['changes']['new_representation']['department'] }}
Room {{ $mailData['changes']['room_name']['new'] }}
Description {{ $mailData['changes']['description']['new'] }}
Flexible Schedule Changed to {{ ($mailData['changes']['flexible_time']['new'] == '1') ? 'Active (✓)' : 'Inactive (✕)'}}
Schedule @foreach($mailData['changes']['dates'] as $dateKey => $change) @if($change['old'] === null) @elseif($change['new'] === null) @else @endif {{-- ---- --}} @if($change['old'] === null) @elseif($change['new'] === null) @else @endif @endforeach
Date Start Time End Time Note
{{ date('d F Y', strtotime($change['new']['date'])) }} {{ $change['new']['start_time'] }} {{ $change['new']['end_time'] }}{{ date('d F Y', strtotime($change['old']['date'])) }} {{ $change['old']['start_time'] }} {{ $change['old']['end_time'] }}{{ date('d F Y', strtotime($change['new']['date'])) }} {{ $change['new']['start_time'] }} @if($change['new']['start_time'] !== $change['old']['start_time']) (was {{ $change['old']['start_time'] }}) @endif {{ $change['new']['end_time'] }} @if($change['new']['end_time'] !== $change['old']['end_time']) (was {{ $change['old']['end_time'] }}) @endif AddedRemovedEdited
{{-- New Schedule List --}} @if(isset($mailData['changes']['dates']))

Your Updated Schedule{{ (count($mailData['changes']['dates']) > 1) ? 's' : '' }}:

@foreach($mailData['schedules'] as $schedule) @endforeach
Date Day Start Time End Time
{{ date('d F Y', strtotime($schedule['date'])) }} {{ date('l', strtotime($schedule['date'])) }} {{ $schedule['start_time'] }} {{ $schedule['end_time'] }}
@endif

For more details, please check your booking on our website.

Visit MSJRoomBooking