|
|
|
@ -1,5 +1,6 @@ |
|
|
|
<!DOCTYPE html> |
|
|
|
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml"> |
|
|
|
|
|
|
|
<head th:replace="~{fragments/user-head :: head}"></head> |
|
|
|
<header th:replace="~{user/razor-pay :: header}"></header> |
|
|
|
|
|
|
|
@ -14,7 +15,8 @@ |
|
|
|
|
|
|
|
.radio-button { |
|
|
|
padding: 10px 20px; |
|
|
|
margin: 5px; /* Adds space between buttons */ |
|
|
|
margin: 5px; |
|
|
|
/* Adds space between buttons */ |
|
|
|
border: 1px solid #007bff; |
|
|
|
border-radius: 5px; |
|
|
|
cursor: pointer; |
|
|
|
@ -51,21 +53,26 @@ |
|
|
|
background-color: #f0f0f0; |
|
|
|
padding: 10px; |
|
|
|
} |
|
|
|
|
|
|
|
.time-slot-box.booked { |
|
|
|
border-color: red; |
|
|
|
color: red; |
|
|
|
cursor: not-allowed; |
|
|
|
} |
|
|
|
|
|
|
|
.time-slot-box.available { |
|
|
|
border-color: green; |
|
|
|
color: green; |
|
|
|
} |
|
|
|
|
|
|
|
.time-slot-box input[type="radio"] { |
|
|
|
display: none; |
|
|
|
} |
|
|
|
|
|
|
|
.time-slot-box:hover { |
|
|
|
background-color: #e0e0e0; |
|
|
|
} |
|
|
|
|
|
|
|
#timeSlots { |
|
|
|
display: flex; |
|
|
|
flex-wrap: wrap; |
|
|
|
@ -115,6 +122,7 @@ |
|
|
|
-webkit-transition: all ease-in 0.3s; |
|
|
|
transition: all ease-in 0.3s; |
|
|
|
} |
|
|
|
|
|
|
|
.btn-primary2.active { |
|
|
|
background-color: #E29D25 !important; |
|
|
|
color: #FFF; |
|
|
|
@ -145,11 +153,13 @@ |
|
|
|
0% { |
|
|
|
transform: translateX(100%); |
|
|
|
} |
|
|
|
|
|
|
|
100% { |
|
|
|
transform: translateX(-100%); |
|
|
|
} |
|
|
|
} |
|
|
|
</style> |
|
|
|
|
|
|
|
<body> |
|
|
|
<!-- Pre-loader start --> |
|
|
|
<div th:replace="~{fragments/preloader :: div}"></div> |
|
|
|
@ -175,7 +185,8 @@ |
|
|
|
<div class="d-inline"> |
|
|
|
<h4 style="font-weight:bold;">Book Desk Space</h4> |
|
|
|
<!--<span class="address">Jeganathan street, Agaram, Chennai - 600082</span>--> |
|
|
|
<span class="address" th:text="${buildingAddress}">Address not available</span> |
|
|
|
<span class="address" th:text="${buildingAddress}">Address not |
|
|
|
available</span> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -211,49 +222,79 @@ |
|
|
|
|
|
|
|
<div class="scrolling-text"><span>Loading announcement...</span></div> |
|
|
|
|
|
|
|
<input type="hidden" id="buildingId" th:value="${buildingId}"> |
|
|
|
<input type="hidden" id="categoryId" th:value="${categoryId}"> |
|
|
|
<input type="hidden" id="subId" th:value="${subId}"> |
|
|
|
|
|
|
|
|
|
|
|
<div class="row" id="conferenceHallDiv" style="border-radius: 10px; margin:0px;"> |
|
|
|
<div class="col-lg-12 col-sm-12"> |
|
|
|
<div style="border: 1px solid rgba(0, 0, 0, .1); border-radius: 10px; padding: 20px; margin-top: 20px;"> |
|
|
|
<div |
|
|
|
style="border: 1px solid rgba(0, 0, 0, .1); border-radius: 10px; padding: 20px; margin-top: 20px;"> |
|
|
|
<form id="conferenceHallForm"> |
|
|
|
<div class="row"> |
|
|
|
<div class="col-lg-6 col-sm-0" style="padding:0px;"> |
|
|
|
<!--photo grid start--> |
|
|
|
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel"> |
|
|
|
<div id="carouselExampleIndicators" class="carousel slide" |
|
|
|
data-ride="carousel"> |
|
|
|
<ol class="carousel-indicators"> |
|
|
|
<!-- <li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li> |
|
|
|
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li> |
|
|
|
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li> --> |
|
|
|
<li th:each="homeImg, iterStat : ${homeImg}" class="" |
|
|
|
th:classappend="${iterStat.index == 0} ? ' active'" data-target="#carouselExampleIndicators" th:data-slide-to="${iterStat.index}"> |
|
|
|
<li th:each="homeImg, iterStat : ${homeImg}" |
|
|
|
class="" |
|
|
|
th:classappend="${iterStat.index == 0} ? ' active'" |
|
|
|
data-target="#carouselExampleIndicators" |
|
|
|
th:data-slide-to="${iterStat.index}"> |
|
|
|
</li> |
|
|
|
</ol> |
|
|
|
<div class="carousel-inner"> |
|
|
|
<div th:each="homeImg, iterStat : ${homeImg}" class="carousel-item" |
|
|
|
<div th:each="homeImg, iterStat : ${homeImg}" |
|
|
|
class="carousel-item" |
|
|
|
th:classappend="${iterStat.index == 0} ? ' active'"> |
|
|
|
<img style="border-radius:15px;" class="d-block w-100" th:src="${homeImg.imageurl}" width="100%" alt="Slide Image"> |
|
|
|
<img style="border-radius:15px;" |
|
|
|
class="d-block w-100" |
|
|
|
th:src="${homeImg.imageurl}" width="100%" |
|
|
|
alt="Slide Image"> |
|
|
|
</div> |
|
|
|
<!-- <div class="carousel-caption"> |
|
|
|
Welcome to Desk Space |
|
|
|
</div> --> |
|
|
|
</div> |
|
|
|
<a class="carousel-control-prev" href="#carouselExampleIndicators" |
|
|
|
role="button" data-slide="prev"> |
|
|
|
<span class="carousel-control-prev-icon" aria-hidden="true"></span> |
|
|
|
<a class="carousel-control-prev" |
|
|
|
href="#carouselExampleIndicators" role="button" |
|
|
|
data-slide="prev"> |
|
|
|
<span class="carousel-control-prev-icon" |
|
|
|
aria-hidden="true"></span> |
|
|
|
<span class="sr-only">Previous</span> |
|
|
|
</a> |
|
|
|
<a class="carousel-control-next" href="#carouselExampleIndicators" |
|
|
|
role="button" data-slide="next"> |
|
|
|
<span class="carousel-control-next-icon" aria-hidden="true"></span> |
|
|
|
<a class="carousel-control-next" |
|
|
|
href="#carouselExampleIndicators" role="button" |
|
|
|
data-slide="next"> |
|
|
|
<span class="carousel-control-next-icon" |
|
|
|
aria-hidden="true"></span> |
|
|
|
<span class="sr-only">Next</span> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
<!-- Photo Grid End--> |
|
|
|
</div> |
|
|
|
<div class="col-lg-6 col-sm-12 justify-content-center align-items-center"> |
|
|
|
<div |
|
|
|
class="col-lg-6 col-sm-12 justify-content-center align-items-center"> |
|
|
|
<!-- Enter Details --> |
|
|
|
<h5 class="mb-3" style="color:#E29D25">Select Your Preference:</h5> |
|
|
|
|
|
|
|
<!-- <h5 class="mb-3" style="color:#E29D25">Select Your Preference: <button id="backBtn" class="btn btn-sm btn-outline-primary">Back </button></h5> --> |
|
|
|
<div class="d-flex justify-content-between align-items-center mb-3"> |
|
|
|
<h5 class="mb-0" style="color:#E29D25">Select Your Preference:</h5> |
|
|
|
|
|
|
|
<button id="backBtn" class="btn btn-sm btn-outline-primary">Back</button> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="mb-3 row"> |
|
|
|
<label style="font-weight:bold;" for="numSeats" class="col-sm-12 col-md-4 col-form-label"><strong>Number of Seats :</strong></label> |
|
|
|
<label style="font-weight:bold;" for="numSeats" |
|
|
|
class="col-sm-12 col-md-4 col-form-label"><strong>Number |
|
|
|
of Seats :</strong></label> |
|
|
|
<div class="col-sm-6 col-md-6"> |
|
|
|
<select class="form-control" id="numSeats"> |
|
|
|
<option value="1">1 Seat</option> |
|
|
|
@ -277,41 +318,60 @@ |
|
|
|
</div> |
|
|
|
</div>--> |
|
|
|
<div class="mb-3 row align-items-center"> |
|
|
|
<label for="buildingname" class="col-sm-4 col-form-label text-end fw-semibold" style="font-weight:bold;"> |
|
|
|
<label for="buildingname" |
|
|
|
class="col-sm-4 col-form-label text-end fw-semibold" |
|
|
|
style="font-weight:bold;"> |
|
|
|
Location : |
|
|
|
</label> |
|
|
|
<div class="col-sm-6 d-flex align-items-center"> |
|
|
|
<input type="text" id="buildingname" class="form-control" |
|
|
|
th:value="${buildingName}" readonly> <br> |
|
|
|
<input type="text" id="buildingname" |
|
|
|
class="form-control" th:value="${buildingName}" |
|
|
|
readonly> <br> |
|
|
|
|
|
|
|
</div> |
|
|
|
<button type="button" id="viewBuildingBtn" class="btn btn-primary">Change</button> |
|
|
|
<button type="button" id="viewBuildingBtn" |
|
|
|
class="btn btn-primary">Change</button> |
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<!-- Date Picker --> |
|
|
|
<div class="row mb-3"> |
|
|
|
<label style="font-weight:bold;" for="selectDate" class="col-sm-4 col-form-label text-end">Select Date :</label> |
|
|
|
<label style="font-weight:bold;" for="selectDate" |
|
|
|
class="col-sm-4 col-form-label text-end">Select Date |
|
|
|
:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<!-- <input type="date" class="form-control" id="selectDate" onchange="loadTimeSlots()"> --> |
|
|
|
<input class="form-control" id="selectDate" type="text" placeholder="Select a date " readonly > |
|
|
|
<input class="form-control" id="selectDate" |
|
|
|
type="text" placeholder="Select a date " |
|
|
|
readonly> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- Time Slots --> |
|
|
|
<div class="row mb-3"> |
|
|
|
<label style="font-weight:bold;" class="col-sm-4 col-form-label text-end">Seat required for :</label> |
|
|
|
<label style="font-weight:bold;" |
|
|
|
class="col-sm-4 col-form-label text-end">Seat |
|
|
|
required for :</label> |
|
|
|
<div class="col-sm-8"> |
|
|
|
<div id="seatfor" class="d-flex flex-wrap"> |
|
|
|
<div class="btn-group" data-toggle="buttons"> |
|
|
|
<label class="btn btn-primary2 me-2 mb-2" style="margin: 5px;"> |
|
|
|
<input type="radio" name="booking_type" id="booking_type" autocomplete="off" value="2"> Half Day |
|
|
|
<label class="btn btn-primary2 me-2 mb-2" |
|
|
|
style="margin: 5px;"> |
|
|
|
<input type="radio" name="booking_type" |
|
|
|
id="booking_type" autocomplete="off" |
|
|
|
value="2"> Half Day |
|
|
|
</label> |
|
|
|
<label class="btn btn-primary2 me-2 mb-2" style="margin: 5px;"> |
|
|
|
<input type="radio" name="booking_type" id="booking_type" autocomplete="off" value="3"> Full Day |
|
|
|
<label class="btn btn-primary2 me-2 mb-2" |
|
|
|
style="margin: 5px;"> |
|
|
|
<input type="radio" name="booking_type" |
|
|
|
id="booking_type" autocomplete="off" |
|
|
|
value="3"> Full Day |
|
|
|
</label> |
|
|
|
<label class="btn btn-primary2 mb-2" style="margin: 5px;"> |
|
|
|
<input type="radio" name="booking_type" id="booking_type" autocomplete="off" value="4"> Month |
|
|
|
<label class="btn btn-primary2 mb-2" |
|
|
|
style="margin: 5px;"> |
|
|
|
<input type="radio" name="booking_type" |
|
|
|
id="booking_type" autocomplete="off" |
|
|
|
value="4"> Month |
|
|
|
</label> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
@ -320,7 +380,9 @@ |
|
|
|
|
|
|
|
<!-- Time Slots --> |
|
|
|
<div class="row mb-3"> |
|
|
|
<label style="font-weight:bold;" class="col-sm-4 col-form-label text-end">Available Time Slot :</label> |
|
|
|
<label style="font-weight:bold;" |
|
|
|
class="col-sm-4 col-form-label text-end">Available |
|
|
|
Time Slot :</label> |
|
|
|
<div class="col-sm-8"> |
|
|
|
<div id="timeSlots" class="d-flex flex-wrap"> |
|
|
|
<!-- Time slots will be generated here dynamically --> |
|
|
|
@ -332,12 +394,15 @@ |
|
|
|
<div class="row mb-3"> |
|
|
|
<label style="font-weight:bold;" class="col-sm-4 col-form-label text-end">Selected Time Slot</label> |
|
|
|
<div class="col-sm-6">--> |
|
|
|
<input type="hidden" id="selectedSlot" class="form-control" readonly> |
|
|
|
<input type="hidden" id="selectedSlot" class="form-control" |
|
|
|
readonly> |
|
|
|
<!-- </div> |
|
|
|
</div> --> |
|
|
|
|
|
|
|
<div class="row mb-3"> |
|
|
|
<label style="font-weight:bold;" for="selectType" class="col-sm-4 col-form-label text-end">Select Type :</label> |
|
|
|
<label style="font-weight:bold;" for="selectType" |
|
|
|
class="col-sm-4 col-form-label text-end">Select Type |
|
|
|
:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<select class="form-control" id="selectType"> |
|
|
|
<option value="Individual">Individual</option> |
|
|
|
@ -347,16 +412,25 @@ |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="row mb-3"> |
|
|
|
<label style="font-weight:bold;" for="personName" class="col-sm-4 col-form-label text-end">Name :</label> |
|
|
|
<label style="font-weight:bold;" for="personName" |
|
|
|
class="col-sm-4 col-form-label text-end">Name |
|
|
|
:</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input type="text" class="form-control" id="personName"> |
|
|
|
<input type="text" class="form-control" |
|
|
|
id="personName"> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="row mb-3"> |
|
|
|
<label style="font-weight:bold;" for="personPhone" class="col-sm-4 col-form-label text-end">Mobile Number :</label> |
|
|
|
<label style="font-weight:bold;" for="personPhone" |
|
|
|
class="col-sm-4 col-form-label text-end">Mobile |
|
|
|
Number :</label> |
|
|
|
<div class="col-sm-6"> |
|
|
|
<input type="text" class="form-control" id="personPhone" placeholder="Enter mobile number" pattern="^\d{10}$" maxlength="10" minlength="10" required> |
|
|
|
<input type="text" class="form-control" |
|
|
|
id="personPhone" |
|
|
|
placeholder="Enter mobile number" |
|
|
|
pattern="^\d{10}$" maxlength="10" minlength="10" |
|
|
|
required> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
@ -365,8 +439,12 @@ |
|
|
|
|
|
|
|
<!-- Action Buttons --> |
|
|
|
<div class="d-flex justify-content-center"> |
|
|
|
<button type="button" style="width:100px;" class="reset-now-btn mr-1" onclick="resetForm()">Reset</button> |
|
|
|
<button type="button" style="width:100px;" class="book-now-btn" onclick="saveBooking()">Book Now</button> |
|
|
|
<button type="button" style="width:100px;" |
|
|
|
class="reset-now-btn mr-1" |
|
|
|
onclick="resetForm()">Reset</button> |
|
|
|
<button type="button" style="width:100px;" |
|
|
|
class="book-now-btn" onclick="saveBooking()">Book |
|
|
|
Now</button> |
|
|
|
</div> |
|
|
|
<div style="margin-top: 10px"> |
|
|
|
<center> |
|
|
|
@ -398,52 +476,84 @@ |
|
|
|
<!-- First Column --> |
|
|
|
<div class="col-lg-6 col-sm-6"> |
|
|
|
<ul class="list-unstyled"> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/cal.png" class="mr-1" width="25px;"> Available days: S M T W T F S </li> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/clo.png" class="mr-1" width="25px;"> Available time : 09:00 AM to 09:00 PM</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/cal.png" |
|
|
|
class="mr-1" width="25px;"> Available days: |
|
|
|
S M T W T F S </li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/clo.png" |
|
|
|
class="mr-1" width="25px;"> Available time : |
|
|
|
09:00 AM to 09:00 PM</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<hr> |
|
|
|
<h4 style="font-weight: bold;margin-bottom: 27px;">Amenities</h4> |
|
|
|
<h4 style="font-weight: bold;margin-bottom: 27px;">Amenities |
|
|
|
</h4> |
|
|
|
<div class="row"> |
|
|
|
<!-- First Column --> |
|
|
|
<div class="col-lg-4 col-sm-4"> |
|
|
|
<ul class="list-unstyled"> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/1.png" class="mr-1" width="15px;"> Wifi / Internet</li> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/2.png" class="mr-1" width="15px;"> 24/7 Security</li> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/3.png" class="mr-1" width="15px;"> Housekeeping</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/1.png" |
|
|
|
class="mr-1" width="15px;"> Wifi / Internet |
|
|
|
</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/2.png" |
|
|
|
class="mr-1" width="15px;"> 24/7 Security |
|
|
|
</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/3.png" |
|
|
|
class="mr-1" width="15px;"> Housekeeping |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- Second Column --> |
|
|
|
<div class="col-lg-4 col-sm-4"> |
|
|
|
<ul class="list-unstyled"> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/4.png" class="mr-1" width="15px;"> Vehicle Parking</li> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/5.png" class="mr-1" width="15px;"> Reception</li> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/6.png" class="mr-1" width="15px;"> Tea / Coffee</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/4.png" |
|
|
|
class="mr-1" width="15px;"> Vehicle Parking |
|
|
|
</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/5.png" |
|
|
|
class="mr-1" width="15px;"> Reception</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/6.png" |
|
|
|
class="mr-1" width="15px;"> Tea / Coffee |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
|
|
|
|
<!-- Third Column --> |
|
|
|
<div class="col-lg-4 col-sm-4"> |
|
|
|
<ul class="list-unstyled"> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/7.png" class="mr-1" width="15px;"> Comfy Workstations</li> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/8.png" class="mr-1" width="15px;"> Air Conditioning</li> |
|
|
|
<li style="margin-bottom: 21px;"><img src="/co-workspaceDocuments/icons/9.png" class="mr-1" width="15px;"> Informal Collab Area</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/7.png" |
|
|
|
class="mr-1" width="15px;"> Comfy |
|
|
|
Workstations</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/8.png" |
|
|
|
class="mr-1" width="15px;"> Air Conditioning |
|
|
|
</li> |
|
|
|
<li style="margin-bottom: 21px;"><img |
|
|
|
src="/co-workspaceDocuments/icons/9.png" |
|
|
|
class="mr-1" width="15px;"> Informal Collab |
|
|
|
Area</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div class="col-lg-6 col-sm-12 justify-content-center align-items-center"> |
|
|
|
<h4 style="font-weight: bold;">Muthalvar Padaippagam Location</h4> |
|
|
|
<div |
|
|
|
class="col-lg-6 col-sm-12 justify-content-center align-items-center"> |
|
|
|
<h4 style="font-weight: bold;">Muthalvar Padaippagam Location |
|
|
|
</h4> |
|
|
|
<div class="locationmap"> |
|
|
|
<iframe |
|
|
|
th:src="'https://www.google.com/maps?q=' + ${latitude} + ',' + ${longitude} + '&hl=en&z=14&output=embed'" |
|
|
|
width="100%" |
|
|
|
height="450" |
|
|
|
style="border:0;" |
|
|
|
allowfullscreen |
|
|
|
loading="lazy" |
|
|
|
width="100%" height="450" style="border:0;" |
|
|
|
allowfullscreen loading="lazy" |
|
|
|
referrerpolicy="no-referrer-when-downgrade"> |
|
|
|
</iframe> |
|
|
|
<!--- <iframe src="https://www.google.com/maps/embed?pb=!1m17!1m12!1m3!1d3885.7981508771118!2d80.232587!3d13.111970000000001!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m2!1m1!2zMTPCsDA2JzQzLjEiTiA4MMKwMTMnNTcuMyJF!5e0!3m2!1sen!2sin!4v1730288154721!5m2!1sen!2sin" width="100%" height="450" style="border:0;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>--> |
|
|
|
@ -464,7 +574,8 @@ |
|
|
|
</div> |
|
|
|
<footer th:replace="~{fragments/footer :: footer}"></footer> |
|
|
|
</div> |
|
|
|
<div class="modal fade" id="visitTourModal" tabindex="-1" aria-labelledby="visitTourModalLabel" aria-hidden="true"> |
|
|
|
<div class="modal fade" id="visitTourModal" tabindex="-1" aria-labelledby="visitTourModalLabel" |
|
|
|
aria-hidden="true"> |
|
|
|
<div class="modal-dialog modal-lg"> |
|
|
|
<div class="modal-content"> |
|
|
|
<div class="modal-header"> |
|
|
|
@ -472,13 +583,15 @@ |
|
|
|
<button type="button" class="btn btn-danger" data-bs-dismiss="modal">Close</button> |
|
|
|
</div> |
|
|
|
<div class="modal-body"> |
|
|
|
<iframe id="visitTourIframe" src="" style="width: 100%; height: 500px; border: none;"></iframe> |
|
|
|
<iframe id="visitTourIframe" src="" |
|
|
|
style="width: 100%; height: 500px; border: none;"></iframe> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<!-- modal for confrim booking --> |
|
|
|
<div class="modal fade" id="ackModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> |
|
|
|
<div class="modal fade" id="ackModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" |
|
|
|
aria-hidden="true"> |
|
|
|
<div class="modal-dialog modal-md" role="document"> |
|
|
|
<div class="modal-content"> |
|
|
|
<div class="modal-header"> |
|
|
|
@ -542,9 +655,12 @@ |
|
|
|
window.location.href = '/muthalvarpadaippagam'; |
|
|
|
}); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
$(document).on('click', '#backBtn', function () { |
|
|
|
window.location.href = '/muthalvarpadaippagam/home'; |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
fetch('/muthalvarpadaippagam/book/api/marquee') |
|
|
|
@ -563,19 +679,21 @@ |
|
|
|
|
|
|
|
|
|
|
|
// Extract query parameters from the URL |
|
|
|
const urlParams = new URLSearchParams(window.location.search); |
|
|
|
const catId = urlParams.get('categoryId'); |
|
|
|
const buildId = urlParams.get('buildingId'); |
|
|
|
let subId = urlParams.get('subId'); |
|
|
|
// const urlParams = new URLSearchParams(window.location.search); |
|
|
|
// const catId = urlParams.get('categoryId'); |
|
|
|
// const buildId = urlParams.get('buildingId'); |
|
|
|
// let subId = urlParams.get('subId'); |
|
|
|
|
|
|
|
// console.log("Category ID:", catId); |
|
|
|
// console.log("Building ID:", buildId); |
|
|
|
// console.log("Sub ID:", subId); |
|
|
|
|
|
|
|
// Optional: fallback if parameters missing |
|
|
|
if (!buildId) { |
|
|
|
alert("Invalid building ID. Please go back and try again."); |
|
|
|
} |
|
|
|
|
|
|
|
const buildId = document.getElementById("#buildingId") |
|
|
|
const catId = document.getElementById("#categoryId") |
|
|
|
let subId = document.getElementById("#subId") |
|
|
|
|
|
|
|
|
|
|
|
let slots = []; |
|
|
|
let timeSlots = []; |
|
|
|
@ -777,6 +895,9 @@ |
|
|
|
let name = $('#personName').val(); |
|
|
|
let phone = $('#personPhone').val(); |
|
|
|
let fromDate = $('#selectDate').val(); // Ensure this is a different element |
|
|
|
let subId = $('input[name="booking_type"]:checked').val(); |
|
|
|
let buildId = $('#buildingId').val(); |
|
|
|
let catId = $('#categoryId').val(); |
|
|
|
let toDate = fromDate; // Ensure this is a different element |
|
|
|
if (subId == 4) { |
|
|
|
//toDate = convertDateFormat(toDate); |
|
|
|
@ -980,4 +1101,5 @@ function showTourPopup1(link) { |
|
|
|
</script> |
|
|
|
</div> |
|
|
|
</body> |
|
|
|
|
|
|
|
</html> |