<!DOCTYPE html>
<html lang="en-US">
	<head>
		<meta charset="utf-8">
	</head>

	<style type="text/css">
		body{
			padding: 0px;
			margin: 0px;
			font-size: 11px;
		}
		b{
			font-weight: 700;
		}
		table {
    border-collapse: collapse;
    width: 600px;
}

table, th, td {
    border: 1px solid #dcd9d9;
    padding-left: 5px;
    padding: 5px;

}
td{

}

td:nth-child(1){
    border-right:none;
}



.page-break {
    page-break-after: always;
}




	</style>
	<body style="font-family: sans-serif;">
	<div style="text-align: center; margin-bottom: 30px; margin-top: 30px;">
		<img src="<?php echo URL('images/logo.png'); ?>" alt="">
	</div>





		<div style="text-align:center; padding:10px; width: 100%; font-weight:bold; background:#d4a244; font-size:14px; color:#fff; margin-top:15px; margin-bottom:15px;font-family: sans-serif;">BOOKING CONFIRMATION</div>
		

		<div style="width: 100%;">

		<table style="padding:5px; margin: 0 auto; ">
			<tr>
				<td style="width: 32%;"><b>Booking ID.</b></td> <td><?php echo $booking->booking_no; ?></td>
			</tr>
			<tr>
				<td><b>Resort/ Hotel Confirmation No.</b></td> <td><?php echo $confirmation->confirmation_no; ?></td>
			</tr>
			<tr>
				<td><b>Resort/ Hotel</b></td> <td><?php echo $booking->hotel_name; ?></td>
			</tr>
			<tr>
				<td><b>Lead Guest</b></td> <td><?php echo $client->title; ?><?php echo $client->name; ?>(<?php echo $client->passport_no; ?>) - <?php echo $client->nationality; ?> </td>
			</tr>
			<tr>
				<td><b>Total No. of Pax</b></td> <td><?php echo $total_pax; ?></td>
			</tr>

			<tr>
				<td><b>Total No. of Rooms</b></td> <td><?php echo $total_rooms; ?></td>
			</tr>

			<?php
			$count = 0;
			?>

			<?php foreach($booking_rooms as $room): ?>
			<?php
			$count = $count + 1;
			?>
			<tr>
				<td><?php echo '<b>ROOM '.$count.'</b> ' .$room->room_name; ?><br>
				</td> <td>
				<b>Check-in:</b>
				 <?php echo Carbon\Carbon::parse($room->arrival)->format('d-M-Y'); ?> - <b>Check-out:</b>
				<?php echo Carbon\Carbon::parse($room->departure)->format('d-M-Y'); ?>

				 - <b>No. of Nights:</b>
				<?php echo $room->nights_count; ?>

				<br>
				<b>Room Configuration:</b>
					<?php echo $room->room_configuration; ?>

				 - <b>Meal Plan:</b>
				<?php echo $room->meal_plan; ?>

				
				</td>

				
			</tr>
	
			<?php endforeach; ?>

			<tr>
				<td><b>Transfer Details</b></td> <td> <?php echo $confirmation->transfer_time; ?> - <?php echo $confirmation->transfer_location; ?> - <?php echo $confirmation->transfer_boat_name; ?></td>
			</tr>


			

			<tr>
				<td><b>Special Requirements</b></td> <td> <?php echo $booking->special_request; ?></td>
			</tr>

			<tr>
				<td><b>Remarks</b></td> <td> <?php echo $booking->remarks; ?> </td>
			</tr>

			<tr>
				<td><b>Reservation made by</b></td> <td><?php echo AppHelper::getUser($booking->user_id); ?></td>
			</tr>
		
		</table>

		</div>



		<div style="text-align: center; margin-top: 10px; margin-bottom: 10px; font-size: 12px;">
		In case of an emergency while check-in at Resort/ Hotel,
		<br>
		Please call: +960 9878777 or +960 3339878
		</div>




		<div style="border: 1px solid #ccc; margin: 0 auto; width: 600px; padding: 5px; font-size: 9px; font-weight: 200;">
		Note: 
		<br>

<span style="color: red;"><b>IMPORTANT:</b></span> At check-in, you must present a valid photo ID (National ID card or Passport) with the same

name. Failure to do so may result in your reservation not being honoured.
<br>

- All rooms are guaranteed on the day of arrival. In case of a no-show, your room(s) will be released and no

refunds will be given.
<br>

- This booking is Non-Refundable and cannot be amended or modified. Failure to arrive at your Resort/ Hotel

will be treated as a No-Show and no refund will be given.
<br>

- You must report all and any complaints you might have to the resort/ hotel on the spot during your stay,

immediately as they arise. We will not be liable for any compensation for a problem which could have been

rectified during the clients stay, had the resort/ hotel been made aware of it.
		</div>

		<div style="text-align: center; color: #d4a244; margin-top: 10px; font-weight: 400; font-size: 12px; ">
			We wish you a pleasant stay & Thank you for choosing All Travels Maldives.
		
			<br>
			We look forward in serving you again soon.
		</div>
	

		<p style="text-align: center; font-weight: 200; font-size: 13px; margin-top: 20px;"><span style="font-size: 13px; text-transform: uppercase;"><?php echo AppHelper::config('site_name'); ?> PVT. LTD.</span>
		<br>
		<span style="font-weight: bold; color: #d4a244; font-size: 14px;">P</span> +(960) 3339878 <span style="font-weight: bold; color: #d4a244; font-size: 14px;">M</span> +(960) 9878777 <span style="font-weight: bold; color: #d4a244; font-size: 14px;">E</span> reservations@alltravels.mv <span style="font-weight: bold; color: #d4a244; font-size: 14px;">W</span> www.alltravels.mv 
			
		</p>

	</body>
</html>
