| Server IP : 103.234.187.230 / Your IP : 216.73.216.216 Web Server : Apache System : Linux lserver42043-ind.megavelocity.net 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64 User : apache ( 48) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/b2bzend/application/views/scripts/activities/ |
Upload File : |
<div class="panel-body bulkTab">
<div class="col-md-12 no-padding">
<div class="panel-body table-responsivenew no-padding no-border">
<form id="frmAddHotelInventory" name="frmAddHotelInventory" type="post" >
<table class="table table-bordered no-margin" id="hotel-inventory-grid">
<tr class="alert alert-success">
<th><strong>Hotel Name<span class="red">*</span></strong></th>
<th><strong>Room Name<span class="red">*</span></strong></th>
<th>Room Type<span class="red">*</span></th>
<th><strong>Meal Plan<span class="red">*</span></strong></th>
<th><strong>From<span class="red">*</span></strong></th>
<th><strong>To<span class="red">*</span></strong></th>
<th><strong>Daily Room Limit<span class="red">*</span></strong></th>
<th>Permission<span class="red">*</span></th>
<th><strong>Currency<span class="red">*</span></strong></th>
<th colspan="4" class="text-center"><strong>Cost<span class="red">*</span></strong> <button title="" data-placement="top" data-toggle="tooltip" class="btn btn-default btn-round btn-xs tooltipLink" data-original-title="Please Enter Cost"><i class="fa fa-question"></i></button></th>
<th><strong>Supplier</strong></th>
<th><strong>Mark Up</strong></th>
<th><strong>Action</strong></th>
</tr>
<tr class="alert alert-info">
<td colspan="9"> </td>
<td class="text-center small"><strong>Double occupancy</strong></td>
<td class="text-center small"><strong>Single occupancy</strong></td>
<td class="text-center small"><strong>Extra with bed</strong></td>
<td class="text-center small"><strong>Extra W/O bed</strong></td>
<td colspan="3"> </td>
</tr>
<tr>
<td>
<select id="hotel_id" name="hotel_id" class="demo-default select-country" placeholder="Select" style="width:125px;">
<option value="0">Select</option>
<?php if(!empty($this->arrHotels) ) {
foreach($this->arrHotels as $hotel) { ?>
<option value="<?php echo $hotel['AccomSysId']; ?>"><?php echo $hotel['Title']; ?></option>
<?php
}
}
?>
</select>
</td>
<td><input type="text" class="form-control whbg" style="width:120px;" name="room_name" id="room_name"></td>
<td>
<select id="room_type" name="room_type" class="demo-default select-country" placeholder="Select" style="width:125px;">
<option value="0">Select</option>
<?php if(!empty($this->arrHotelRoomTypes) ) {
foreach($this->arrHotelRoomTypes as $room) { ?>
<option value="<?php echo $room['RoomType']; ?>"><?php echo $room['Title']; ?></option>
<?php
}
}
?>
</select>
</td>
<td><select id="meal_plan" name="meal_plan" class="demo-default select-country" placeholder="Select" style="width:125px;">
<option value="0">Select</option>
<?php if(!empty($this->arrHotelMeals) ) {
foreach($this->arrHotelMeals as $meal) { ?>
<option value="<?php echo $meal['MealTypeId']; ?>"><?php echo $meal['Title']; ?></option>
<?php
}
}
?>
</select></td>
<td><input id="from_dt" name="from_dt" class="form-control datePickerOnly ratetxtwidth70" type="text"/></td>
<td><input id="to_dt" name="to_dt" class="form-control datePickerOnly ratetxtwidth70" type="text"/></td>
<td><input id="daily_room_limit" name="daily_room_limit" type="text" class="form-control whbg" style="width:60px;"></td>
<td><select id="permission" name="permission" class="demo-default select-country" placeholder="Select" style="width:110px;">
<option value="">Select</option>
<option value="1">Allow</option>
<option value="0" selected>Not Allowed</option>
</select>
</td>
<td><select id="currency_type" name="currency_type" class="demo-default select-country" placeholder="Select" style="width:110px;">
<option value="">Select</option>
<?php if(!empty($this->arrCurrencyTypes) ) {
foreach($this->arrCurrencyTypes as $currency) { ?>
<option value="<?php echo $currency['CurrencyType']; ?>" <?php if($currency['CurrencyType'] == '1') echo "selected"; ?>><?php echo $currency['Symbol']; ?></option>
<?php
}
}
?>
</select></td>
<td class="text-center"><input id="cost_double_occupancy" name="cost_double_occupancy" type="text" class="form-control whbg ratetxtwidth75"></td>
<td class="text-center"><input id="cost_single_occupancy" name="cost_single_occupancy" type="text" class="form-control whbg ratetxtwidth75"></td>
<td class="text-center"><input id="cost_extra_with_bed" name="cost_extra_with_bed" type="text" class="form-control whbg ratetxtwidth75"></td>
<td class="text-center"><input id="cost_extra_without_bed" name="cost_extra_without_bed" type="text" class="form-control whbg ratetxtwidth75"></td>
<td>
<select id="supplier_type" name="supplier_type" class="demo-default select-country" placeholder="Select" style="width:110px;">
<option value="0">Select</option>
<?php
if(!empty($this->arrSupplierTypes) ) {
foreach($this->arrSupplierTypes as $type) { ?>
<option value="<?php echo $type['SupplierTypeSysId']; ?>"><?php echo $type['Title']; ?></option>
<?php
}
}
?>
</select>
</td>
<td>
<a id="manage-markup" style="cursor:pointer" data-toggle="modal" onclick="return manageMarkUp('<?php echo $this->baseUrl('hotel/manage-markup'); ?>')">Manage</a>
</td>
<td>
<a class="btn btn-success btn-sm" href="javascript:void(0);" onclick="addHotelInventory();"><i class="fa fa-fw fa-arrows"></i></a></td>
</tr>
</table>
</form>
</div>
</div>
<div class="col-md-12 no-padding no-margin">
<div class="panel-footer text-right">
<button type="submit" class="btn btn-success">Save</button>
</div>
</div>
</div>