Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="id">
- <head>
- <title>Bantal Guling Guest House</title>
- <meta charset="utf-8" />
- <meta http-equiv="X-UA-Compatible" content="IE=edge" />
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
- <link rel="shortcut icon" href="/hotel/favicon.png" />
- <script src="/hotel/js/jquery-1.8.3.min.js"></script>
- <script src="/hotel/js/plugins.validInput.js"></script>
- <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
- <link rel="stylesheet" href="http://192.168.1.132/hotel/css/bootstrap.min.css">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css">
- <link rel="stylesheet" href="http://192.168.1.132/hotel/css/AdminLTE.min.css">
- <link rel="stylesheet" href="http://192.168.1.132/hotel/css/skins/_all-skins.min.css">
- <link rel="stylesheet" href="http://192.168.1.132/hotel/css/datepicker3.css">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.css">
- <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
- <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
- <!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <![endif]-->
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
- <script type="text/javascript">
- $('.add-group').live('click',function(){
- var idx = $(this).parents('.group').index();
- var pidcol = $(this).parents('td').find('td').find('.parentidcol').val();
- var cloneGroup = $(this).parents('.group').clone();
- var cloneCount = 1;
- cloneGroup.find('input:text,input:hidden,input[type="number"],select,textarea').val('');
- cloneGroup.find('input:radio,input:checkbox').attr('checked',false);
- cloneGroup.find('[name][data-name]').each(function(i, elem){
- var newName = $(this).attr('data-name');
- if ($.browser.msie === true){
- $(elem).replaceWith(document.createElement(
- this.outerHTML.replace(/name=\w+/ig, 'name='+newName)
- ));
- } else {
- $(elem).attr('name',newName);
- }
- });
- //cloneGroup.find('.item').parents('.item-wrap').find('.item').not(':last').remove();
- $(this).parents('.group-wrap').append(cloneGroup);
- $(this).removeClass('add-group').addClass('remove-group').text(' [x] Hapus');
- //$(this).parents('.group-wrap').find('.group:last').find('.item-wrap').find('.item').not(':last').remove();
- // remove multiple item
- $.each($(this).parents('.group-wrap').find('.group:last').find('.item-wrap'), function(a,b){
- $(b).find('.item').not(':last').remove();
- //$(this).attr('value',$(this).attr('data-value-'+lang));
- /*$.each($(b).find('.item'), function(c,d){
- alert($(d).html());
- });*/
- });
- });
- $('.remove-group').live('click',function(){
- var tanya = confirm('Are you sure to remove this group item now?');
- if(tanya)
- $(this).parents('.group').remove();
- });
- </script>
- <style type="text/css" media="screen">
- .tgl{font-weight:600;float: left;
- border-left: 1px solid;
- border-bottom: 1px solid;
- border-top: 1px solid;
- min-height: 35px;
- padding: 7px 0;
- text-align: center;border:0;}
- </style>
- </head>
- <body class="hold-transition fixed skin-blue sidebar-mini">
- <div class="wrapper">
- <header class="main-header">
- <a href="http://192.168.1.132/hotel/" class="logo">
- <span class="logo-mini"><b>B</b>G</span>
- <span>
- <img src="/hotel/images/logo.png" alt="User Image" style="
- width: 85px;
- ">
- </span>
- </a>
- <nav class="navbar navbar-static-top">
- <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
- <span class="sr-only">Toggle navigation</span>
- </a>
- <div class="navbar-custom-menu">
- <ul class="nav navbar-nav">
- <li class="dropdown user user-menu">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown">
- <span><i class="fa fa-user"></i> Admin1</span>
- </a>
- <ul class="dropdown-menu">
- <li class="user-header">
- <img src="/hotel/images/favicon.png" class="img-circle" alt="Logo">
- </li>
- <li class="user-footer">
- <div class="pull-right">
- <a href="http://192.168.1.132/hotel/logout " class="btn btn-default btn-flat"><i class="fa fa-sign-out"></i> Sign out</a>
- </div>
- </li>
- </ul>
- </li>
- </ul>
- </div>
- </nav>
- </header>
- <aside class="main-sidebar">
- <section class="sidebar">
- <div class="user-panel">
- <div class="pull-left info">
- <p>Property : </p>
- </div>
- </div>
- <ul class="sidebar-menu" data-widget="tree">
- <li class="header">MAIN NAVIGATION</li>
- <li class='active'>
- <a href="/hotel/calendar">
- <i class="fa fa-calendar"></i> <span>Calender</span>
- </a>
- </li>
- <li >
- <a href="/hotel/reservations">
- <i class="fa fa-table"></i> <span>Reservations</span>
- </a>
- </li>
- <li >
- <a href="/hotel/inventory">
- <i class="fa fa-table"></i> <span>Inventory</span>
- </a>
- </li>
- <li class="treeview">
- <a href="#">
- <i class="fa fa-cogs"></i> <span>Setup</span>
- <span class="pull-right-container">
- <i class="fa fa-angle-left pull-right"></i>
- </span>
- </a>
- <ul class="treeview-menu"">
- <li ><a href="/hotel/room-group"><i class="fa fa-circle-o"></i> Room Group</a></li>
- <li ><a href="/hotel/rate-plan"><i class="fa fa-circle-o"></i> Rate Plan</a></li>
- <li ><a href="/hotel/room"><i class="fa fa-circle-o"></i> Room</a></li>
- <li ><a href="/hotel/property"><i class="fa fa-circle-o"></i> Property</a></li>
- <li ><a href="/hotel/extra"><i class="fa fa-circle-o"></i> Extra</a></li>
- <li ><a href="/hotel/referal"><i class="fa fa-circle-o"></i> Referal</a></li>
- <li ><a href="/hotel/user"><i class="fa fa-circle-o"></i> User</a></li>
- </ul>
- </li>
- <li class="treeview">
- <a href="#">
- <i class="fa fa-file-archive-o"></i> <span>Report</span>
- <span class="pull-right-container">
- <i class="fa fa-angle-left pull-right"></i>
- </span>
- </a>
- <ul class="treeview-menu">
- <li><a href="/hotel/report/revenue-summry"><i class="fa fa-circle-o"></i> Revenue Summry</a></li>
- <li><a href="/hotel/report/revenue-breakdown"><i class="fa fa-circle-o"></i> Revenue Breakdown</a></li>
- <li><a href="/hotel/report/checkin"><i class="fa fa-circle-o"></i> Check In</a></li>
- <li><a href="/hotel/report/payments"><i class="fa fa-circle-o"></i> Payments</a></li>
- <li><a href="/hotel/report/extras"><i class="fa fa-circle-o"></i> Extras</a></li>
- <li><a href="/hotel/report/house-keeping"><i class="fa fa-circle-o"></i> House Keeping</a></li>
- <li><a href="/hotel/report/statistics"><i class="fa fa-circle-o"></i> Statistics</a></li>
- <li><a href="/hotel/report/daily-transactions"><i class="fa fa-circle-o"></i> Daily Transactions</a></li>
- <li><a href="/hotel/report/guests"><i class="fa fa-circle-o"></i> Guest</a></li>
- </ul>
- </li>
- </ul>
- </section>
- </aside>
- <div class="content-wrapper">
- <section class="content-header">
- <h1>Calendar</h1>
- <ol class="breadcrumb">
- <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
- <li class="active">Calendar</li>
- </ol>
- </section>
- <section class="content">
- <div class="row">
- <div class="col-xs-12">
- <div class="box">
- <div class="box-header">
- <div class="box-title">
- </div>
- <div class="box-header">
- <div class="table-responsive">
- <table class="table table-bordered table-stripped" style="width:auto;min-width:auto">
- <thead>
- <tr>
- <th colspan="33" style="border:1px solid #fff">
- <!-- September
- 2017 -->
- <div class="row">
- <div class="col-md-6">
- <a class="btn open-AddBookDialog btn-cere" data-backdrop="static" data-keyboard="false" data-toggle="modal" href="#addBookDialog"><i class="fa fa-briefcase"></i> Create Reservation</a>
- </div>
- <div class="col-md-6">
- <div class="row">
- <a href="#" class="pull-left" style="border-radius:0;border-right:1px solid #ccc"><button class="btn btn-fida"><i class="fa fa-backward"></i> Week</button></a>
- <a href="#" class="pull-left" style="margin-right:5px"><button class="btn btn-fida"><i class="fa fa-caret-left"></i> Day</button></a>
- <div class="input-group col-md-5 pull-left" style="margin-right:5px">
- <input type="text" class="form-control datepicker" value="09/20/2017">
- <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
- </div>
- <a href="#" class="pull-left" style="border-radius:0;border-right:1px solid #ccc"><button class="btn btn-fida">Day <i class="fa fa-caret-right"></i></button></a>
- <a href="#" class="pull-left"><button class="btn btn-fida">Week <i class="fa fa-forward"></i></button></a>
- <!--<a href="" class="btn bg-navy pull-left col-md-2" style="margin-right:2px"><i class="fa fa-backward"></i> Week</a>
- <a href="" class="btn bg-navy pull-left col-md-2" style="margin-right:2px"><i class="fa fa-caret-left"></i> Day</a>
- <a href="" class="btn bg-navy pull-left col-md-2" style="margin-right:2px"><i class="fa fa-caret-right"></i> Day</a>
- <a href="" class="btn bg-navy pull-left col-md-2" style="margin-right:2px"><i class="fa fa-forward"></i> Week</a> -->
- </div>
- </div>
- </div>
- </th>
- </tr>
- <tr class="tr-cal">
- <th style="border:0;vertical-align:middle">Room</th>
- <th style="border:0;vertical-align:middle">Capacity</th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Fri
- </font><br/>
- <font style="font-size:18px">1
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Sat
- </font><br/>
- <font style="font-size:18px">2
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Sun
- </font><br/>
- <font style="font-size:18px">3
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Mon
- </font><br/>
- <font style="font-size:18px">4
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Tue
- </font><br/>
- <font style="font-size:18px">5
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Wed
- </font><br/>
- <font style="font-size:18px">6
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Thu
- </font><br/>
- <font style="font-size:18px">7
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Fri
- </font><br/>
- <font style="font-size:18px">8
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Sat
- </font><br/>
- <font style="font-size:18px">9
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Sun
- </font><br/>
- <font style="font-size:18px">10
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Mon
- </font><br/>
- <font style="font-size:18px">11
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Tue
- </font><br/>
- <font style="font-size:18px">12
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Wed
- </font><br/>
- <font style="font-size:18px">13
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Thu
- </font><br/>
- <font style="font-size:18px">14
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Fri
- </font><br/>
- <font style="font-size:18px">15
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Sat
- </font><br/>
- <font style="font-size:18px">16
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Sun
- </font><br/>
- <font style="font-size:18px">17
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Mon
- </font><br/>
- <font style="font-size:18px">18
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Tue
- </font><br/>
- <font style="font-size:18px">19
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Wed
- </font><br/>
- <font style="font-size:18px">20
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Thu
- </font><br/>
- <font style="font-size:18px">21
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Fri
- </font><br/>
- <font style="font-size:18px">22
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Sat
- </font><br/>
- <font style="font-size:18px">23
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Sun
- </font><br/>
- <font style="font-size:18px">24
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Mon
- </font><br/>
- <font style="font-size:18px">25
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Tue
- </font><br/>
- <font style="font-size:18px">26
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Wed
- </font><br/>
- <font style="font-size:18px">27
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Thu
- </font><br/>
- <font style="font-size:18px">28
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Fri
- </font><br/>
- <font style="font-size:18px">29
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- <th class="tgl text-center" style="border:0;width:30px;">
- <p style="line-height:15px">
- <font style="font-weight:600">Sat
- </font><br/>
- <font style="font-size:18px">30
- </font><br/>
- <font style="font-weight:100">Sep</font>
- </p> </th>
- </tr>
- </thead>
- <tbody class="tahu">
- <tr>
- <td colspan="30" style="padding:0 5px;font-weight:600;background:#e9ebee;border-bottom:2px solid orange;border-top:2px solid #aaa;" class="">Delux</td>
- </tr>
- <tr>
- <td class="room" style="min-height:35px;padding:0 5px;vertical-align:middle">Diamon A</td>
- <td class="capacity" style="min-height:35px;padding:0 5px;vertical-align:middle">2 Beds</td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="01-09-2017" data-date2="02-09-2017" data-id="checkin8" data-id2="checkout1" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="02-09-2017" data-date2="03-09-2017" data-id="checkin8" data-id2="checkout2" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="03-09-2017" data-date2="04-09-2017" data-id="checkin8" data-id2="checkout3" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="04-09-2017" data-date2="05-09-2017" data-id="checkin8" data-id2="checkout4" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="05-09-2017" data-date2="06-09-2017" data-id="checkin8" data-id2="checkout5" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="06-09-2017" data-date2="07-09-2017" data-id="checkin8" data-id2="checkout6" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="07-09-2017" data-date2="08-09-2017" data-id="checkin8" data-id2="checkout7" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="08-09-2017" data-date2="09-09-2017" data-id="checkin8" data-id2="checkout8" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="09-09-2017" data-date2="10-09-2017" data-id="checkin8" data-id2="checkout9" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="10-09-2017" data-date2="11-09-2017" data-id="checkin8" data-id2="checkout10" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="11-09-2017" data-date2="12-09-2017" data-id="checkin8" data-id2="checkout11" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="12-09-2017" data-date2="13-09-2017" data-id="checkin8" data-id2="checkout12" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="13-09-2017" data-date2="14-09-2017" data-id="checkin8" data-id2="checkout13" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="14-09-2017" data-date2="15-09-2017" data-id="checkin8" data-id2="checkout14" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="15-09-2017" data-date2="16-09-2017" data-id="checkin8" data-id2="checkout15" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="16-09-2017" data-date2="17-09-2017" data-id="checkin8" data-id2="checkout16" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="17-09-2017" data-date2="18-09-2017" data-id="checkin8" data-id2="checkout17" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="18-09-2017" data-date2="19-09-2017" data-id="checkin8" data-id2="checkout18" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="19-09-2017" data-date2="20-09-2017" data-id="checkin8" data-id2="checkout19" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="20-09-2017" data-date2="21-09-2017" data-id="checkin8" data-id2="checkout20" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="21-09-2017" data-date2="22-09-2017" data-id="checkin8" data-id2="checkout21" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="22-09-2017" data-date2="23-09-2017" data-id="checkin8" data-id2="checkout22" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- <div class="btn btn-danger draggable resizable kk" style="overflow:hidden;width:55px;border-radius:0;z-index:999;color:#333;font-weight:600;margin-left:-7px;min-height:34px;max-height:34px" title="">
- <i style="
- float: right;
- position: absolute;
- top: 0;
- right: 0;
- background:linear-gradient(to bottom left, #f00 0%, #f00 50%, transparent 55%);
- width:10px;
- height:10px;
- "></i> ari yulianto</div>
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="23-09-2017" data-date2="24-09-2017" data-id="checkin8" data-id2="checkout23" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="24-09-2017" data-date2="25-09-2017" data-id="checkin8" data-id2="checkout24" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="25-09-2017" data-date2="26-09-2017" data-id="checkin8" data-id2="checkout25" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- <div class="btn btn-success draggable resizable kk" style="overflow:hidden;width:55px;border-radius:0;z-index:999;color:#333;font-weight:600;margin-left:-7px;min-height:34px;max-height:34px" title="">
- <i style="
- float: right;
- position: absolute;
- top: 0;
- right: 0;
- background:linear-gradient(to bottom left, #f00 0%, #f00 50%, transparent 55%);
- width:10px;
- height:10px;
- "></i> Rizka Noviana</div>
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="26-09-2017" data-date2="27-09-2017" data-id="checkin8" data-id2="checkout26" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="27-09-2017" data-date2="28-09-2017" data-id="checkin8" data-id2="checkout27" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="28-09-2017" data-date2="29-09-2017" data-id="checkin8" data-id2="checkout28" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="29-09-2017" data-date2="30-09-2017" data-id="checkin8" data-id2="checkout29" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;border-right:1px solid;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="30-09-2017" data-date2="01-10-2017" data-id="checkin8" data-id2="checkout30" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- </tr>
- <tr>
- <td colspan="30" style="padding:0 5px;font-weight:600;background:#e9ebee;border-bottom:2px solid orange;border-top:2px solid #aaa;" class="">Primary</td>
- </tr>
- <tr>
- <td class="room" style="min-height:35px;padding:0 5px;vertical-align:middle">Room H</td>
- <td class="capacity" style="min-height:35px;padding:0 5px;vertical-align:middle">2 Beds</td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="01-09-2017" data-date2="02-09-2017" data-id="checkin10" data-id2="checkout1" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="02-09-2017" data-date2="03-09-2017" data-id="checkin10" data-id2="checkout2" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="03-09-2017" data-date2="04-09-2017" data-id="checkin10" data-id2="checkout3" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="04-09-2017" data-date2="05-09-2017" data-id="checkin10" data-id2="checkout4" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="05-09-2017" data-date2="06-09-2017" data-id="checkin10" data-id2="checkout5" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="06-09-2017" data-date2="07-09-2017" data-id="checkin10" data-id2="checkout6" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="07-09-2017" data-date2="08-09-2017" data-id="checkin10" data-id2="checkout7" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="08-09-2017" data-date2="09-09-2017" data-id="checkin10" data-id2="checkout8" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="09-09-2017" data-date2="10-09-2017" data-id="checkin10" data-id2="checkout9" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="10-09-2017" data-date2="11-09-2017" data-id="checkin10" data-id2="checkout10" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="11-09-2017" data-date2="12-09-2017" data-id="checkin10" data-id2="checkout11" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="12-09-2017" data-date2="13-09-2017" data-id="checkin10" data-id2="checkout12" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="13-09-2017" data-date2="14-09-2017" data-id="checkin10" data-id2="checkout13" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="14-09-2017" data-date2="15-09-2017" data-id="checkin10" data-id2="checkout14" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="15-09-2017" data-date2="16-09-2017" data-id="checkin10" data-id2="checkout15" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="16-09-2017" data-date2="17-09-2017" data-id="checkin10" data-id2="checkout16" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="17-09-2017" data-date2="18-09-2017" data-id="checkin10" data-id2="checkout17" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="18-09-2017" data-date2="19-09-2017" data-id="checkin10" data-id2="checkout18" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="19-09-2017" data-date2="20-09-2017" data-id="checkin10" data-id2="checkout19" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="20-09-2017" data-date2="21-09-2017" data-id="checkin10" data-id2="checkout20" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="21-09-2017" data-date2="22-09-2017" data-id="checkin10" data-id2="checkout21" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="22-09-2017" data-date2="23-09-2017" data-id="checkin10" data-id2="checkout22" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="23-09-2017" data-date2="24-09-2017" data-id="checkin10" data-id2="checkout23" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="24-09-2017" data-date2="25-09-2017" data-id="checkin10" data-id2="checkout24" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="25-09-2017" data-date2="26-09-2017" data-id="checkin10" data-id2="checkout25" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- <div class="btn btn-success draggable resizable kk" style="overflow:hidden;width:25px;border-radius:0;z-index:999;color:#333;font-weight:600;margin-left:-7px;min-height:34px;max-height:34px" title="">
- <i style="
- float: right;
- position: absolute;
- top: 0;
- right: 0;
- background:linear-gradient(to bottom left, #f00 0%, #f00 50%, transparent 55%);
- width:10px;
- height:10px;
- "></i> Rizka Noviana</div>
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="26-09-2017" data-date2="27-09-2017" data-id="checkin10" data-id2="checkout26" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="27-09-2017" data-date2="28-09-2017" data-id="checkin10" data-id2="checkout27" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="28-09-2017" data-date2="29-09-2017" data-id="checkin10" data-id2="checkout28" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- <td style="width:30px;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="29-09-2017" data-date2="30-09-2017" data-id="checkin10" data-id2="checkout29" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- <div class="btn btn-danger draggable resizable kk" style="overflow:hidden;width:25px;border-radius:0;z-index:999;color:#333;font-weight:600;margin-left:-7px;min-height:34px;max-height:34px" title="">
- <i style="
- float: right;
- position: absolute;
- top: 0;
- right: 0;
- background:linear-gradient(to bottom left, #f00 0%, #f00 50%, transparent 55%);
- width:10px;
- height:10px;
- "></i> Rizka Noviana</div>
- </td>
- <td style="width:30px;border-right:1px solid;cursor:pointer;float:left;height:35px;padding:0 0 0 8px" data-room="Booking Room " data-date="30-09-2017" data-date2="01-10-2017" data-id="checkin10" data-id2="checkout30" data-toggle="modal" data-backdrop="static" data-keyboard="false" href="#addBookDialog" class="book_tgl open-AddBookDialog auto_grid">
- </td>
- </tr>
- </tbody>
- </table>
- <div id="result"></div>
- </div>
- </div>
- </div></div>
- </div>
- </div>
- </section>
- </div>
- <div class="modal fade" tabindex="-1" role="dialog" id="addBookDialog">
- <div class="modal-dialog" role="document" style="width:90%">
- <div class="modal-content">
- <form method="post" action="">
- <div class="modal-header">
- <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
- <h4 class="modal-title"><strong id="book_name"></strong></h4>
- </div>
- <div class="modal-body box box-primary">
- <div class="row" style="padding:0 15px">
- <div class="col-sm-12">
- <div class="row">
- <div class="col-sm-2">
- <div class="form-group">
- <label>Checkin</label>
- <input type="text" name="checkin" class="form-control datepicker" id="book_date" value="" readonly required>
- </div>
- </div>
- <div class="col-sm-2">
- <div class="form-group">
- <label>Checkout</label>
- <input type="text" name="checkout" class="form-control datepicker2" id="book_date2" value="" required>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="row" style="padding:0 15px">
- <div class="col-sm-12">
- <div class="row">
- <div class="col-sm-2">
- <div class="form-group">
- <label>Room Type</label>
- <select class="form-control" name="rtype" onChange="getRoom(this.value);" required>
- <option value="" disabled readonly selected>-- Room Type --</option>
- <option value="1">Delux</option><option value="2">Primary</option> </select>
- </div>
- </div>
- <div class="col-sm-2">
- <div class="form-group">
- <label>Room</label>
- <select class="form-control" id="rroom" name="room" required>
- <option value="" selected disabled readonly>-- Room --</option>
- </select>
- </div>
- </div>
- <div class="col-sm-2">
- <div class="form-group">
- <label>Rate Plan</label>
- <div class="rplan">
- <select class="form-control" id="rplan" name="rplan" required>
- <option value="" selected disabled readonly>-- Rate plan --</option>
- </select>
- </div>
- </div>
- </div>
- <div class="col-sm-2">
- <div class="form-group">
- <label>Adult</label>
- <select name="dewasa" class="form-control" required>
- <option value="0" selected readonly>- Adult -</option>
- <option value="1">1 Adult</option>
- <option value="2">2 Adult</option>
- <option value="2">3 Adult</option>
- <option value="2">4 Adult</option>
- <option value="2">5 Adult</option>
- </select>
- </div>
- </div><div class="col-sm-2">
- <div class="form-group">
- <label>Children</label>
- <select name="jumlah_anak" class="form-control">
- <option value="0" selected readonly>- Children -</option>
- <option value="1">1 Children</option>
- <option value="2">2 Children</option>
- <option value="3">3 Children</option>
- <option value="4">4 Children</option>
- <option value="5">5 Children</option>
- </select>
- </div>
- </div><div class="col-sm-2">
- <div class="form-group">
- <label>Infants</label>
- <select name="bayi" class="form-control">
- <option value="0" selected readonly>- Infants -</option>
- <option value="1">1 Infants</option>
- <option value="2">2 Infants</option>
- <option value="3">3 Infants</option>
- <option value="4">4 Infants</option>
- <option value="5">5 Infants</option>
- </select>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="row" style="padding:0 15px">
- <div class="col-sm-3">
- <div class="form-group">
- <label>First Name</label>
- <input class="form-control" placeholder="First Name..." name="nama_depan" value="" required>
- </div>
- </div>
- <div class="col-sm-3">
- <div class="form-group">
- <label>Last Name</label>
- <input class="form-control" placeholder="Last Name..." name="nama_akhir" value="" required>
- </div>
- </div>
- <div class="col-sm-3">
- <div class="form-group">
- <label>Phone</label>
- <input type="number" placeholder="Phone..." name="telepon" class="form-control" required>
- </div>
- </div>
- <div class="col-sm-3">
- <div class="form-group">
- <label>Email</label>
- <input type="email" placeholder="Email..." name="email" class="form-control" required>
- </div>
- </div>
- </div>
- <div class="row" style="padding:0 15px">
- <div class="col-sm-12">
- <div class="form-group"><label>Source</label>
- <div class="row">
- <div class="col-sm-2">
- <select name="bookingsource" class="form-control" required>
- <option value="" selected disabled readonly>- Source -</option>
- <option value="1">Walk-in</option><option value="2">Pegi-pegi</option><option value="3">Agoda</option><option value="4">Traveloka</option><option value="5">Airyroom</option><option value="6">Jinggacloud</option> </select>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="row" style="padding:0 15px">
- <div class="col-sm-12">
- <div class="form-group"><label>Guest Comment</label>
- <div class="row">
- <div class="col-sm-12">
- <textarea class="form-control" placeholder="Guest Comment" name="guestcomment" style="resize:none"></textarea>
- </div>
- </div>
- </div>
- </div>
- <div class="col-sm-12">
- <div class="form-group"><label>Notes</label>
- <div class="row">
- <div class="col-sm-12">
- <textarea class="form-control" placeholder="Notess" name="notes" style="resize:none"></textarea>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="modal-footer">
- <input type="hidden" name="id" readonly id="book_id" value="" required>
- <input type="submit" class="btn btn-primary" name="btn_book" value="Booking">
- </div>
- </form>
- </div>
- </div>
- </div><footer class="main-footer">
- <div class="pull-right hidden-xs">
- </div>
- <strong>Copyright © 2017 <a href="http://192.168.1.132/hotel/" target="_blank">Bantal Guling Guest House</a>.</strong> All rights
- reserved.
- </footer>
- <script src="plugins/jQuery/jquery-3.1.1.min.js"></script>
- <script src="http://192.168.1.132/hotel/js/bootstrap.min.js"></script>
- <script src="http://192.168.1.132/hotel/js/adminlte.js"></script>
- <script src="http://192.168.1.132/hotel/js/demo.js"></script>
- <script src="http://192.168.1.132/hotel/js/bootstrap-datepicker.js"></script>
- <script src="http://code.jquery.com/ui/1.12.1/jquery-ui.min.js"></script>
- <script type="text/javascript">
- function myFunction(){var t=$(".clonedInput").length,a=document.getElementById("chanx_"+t).value.split("|");a[1]?(document.getElementById("name2_"+t).readOnly=!0,document.getElementById("name2_"+t).value=a[1],$(".otherz_"+t).hide()):(document.getElementById("name2_"+t).readOnly=!1,document.getElementById("name2_"+t).value="0",$(".otherz_"+t).show())}function myFunction1(){var t=$(".incl_clone").length;document.getElementById("incl_input1_"+t).value>0?$(".text").hide():$(".text").show()}function getRoom(t){$.ajax({type:"POST",url:"/hotel/calendar/getroom.json",data:"rtype="+t,success:function(a){$("#rroom").html(""),$.each(a,function(t,a){$("#rroom").append('<option value="'+t+'">'+a+"</option>")}),$.ajax({type:"POST",url:"/hotel/calendar/getplan.json",data:"rtype="+t,success:function(t){$("#rplan").html(""),$.each(t,function(t,a){$("#rplan").append('<option value="'+t+'">'+a+"</option>")})}})}})}$(document).on("click",".open-AddBookDialog",function(){var t=$(this).data("date"),a=$(this).data("date2"),o=$(this).data("room"),e=$(this).data("id");t?$(".modal-body #book_date").val(t):$(".modal-body #book_date").attr("readonly",!1),$(".modal-body #book_date2").val(a),o?$(".modal-header #book_name").html(o):$(".modal-header #book_name").html("<i class='fa fa-briefcase'></i> Create Reservation"),$(".modal-footer #book_id").val(e)}),$(document).on("click",".updates",function(){var t=$(this).data("date"),a=$(this).data("date2"),o=$(this).data("room"),e=$(this).data("id");for(mydewasa=$(this).data("dewasa"),myanak=$(this).data("anak"),mybayi=$(this).data("bayi"),mydepan=$(this).data("depan"),myakhir=$(this).data("akhir"),mytelepon=$(this).data("telepon"),myemail=$(this).data("email"),myCard=$(this).data("card"),mySur=$(this).data("sur"),idroom=$(this).data("idroom"),idgrouproom=$(this).data("idgrouproom"),idrate=$(this).data("idrate"),invoice=$(this).data("invoice"),mystatus=$(this).data("status"),mytotalroom=$(this).data("totalroom"),myidpayment=$(this).data("idpayment"),mytotalextra=$(this).data("idpayment_extra"),mytotalpayment=$(this).data("totalpayment"),mypercentaxes=$(this).data("percentaxes"),myguestcomment=$(this).data("guestcomment"),mynotes=$(this).data("notes"),bookingsource=$(this).data("source"),count_extra=$(this).data("count_extra"),ci=1;ci<=count_extra;ci++)$("#extra #extra_show").show(),$("#extra_show #extra_data").append("<tr><td>"+ci+'</td><td><input type="text" value="'+$(this).data("extra_name"+ci)+'" class="form-control" disabled readonly></td><td><input type="text" value="'+$(this).data("extra_qty"+ci)+'" class="form-control" disabled readonly></td><td><input type="text" value="'+$(this).data("extra_total"+ci)+'" class="form-control" disabled readonly></td><td><i class="fa fa-trash-o"></i></td></tr>');for(countGuest=mydewasa+myanak+mybayi,cg=1;cg<=countGuest;cg++)$(".modal-body #cg"+cg).show(),$("#cg"+cg+" #gln"+cg).val($(this).data("guest_firstname"+cg)),$("#cg"+cg+" #gfn"+cg).val($(this).data("guest_lastname"+cg)),$("#cg"+cg+" #gem"+cg).val($(this).data("guest_email"+cg)),$("#cg"+cg+" #gph"+cg).val($(this).data("guest_phone"+cg));2==myCard?$(".modal-body #surcharges2").show():$(".modal-body #surcharges2").hide(),0==myCard?($(".modal-body #payment_card").html("Cash"),$(".modal-body #payment_submit").hide()):1==myCard?($(".modal-body #payment_card").html("Direct Bank Transfer"),$(".modal-body #payment_submit").hide()):($(".modal-body #payment_card").html('<select class="form-control" name="card_type" required><option disabled selected>-- Select Payment Type --</option><option value="0">Cash</option><option value="1">Direct Bank Transfer</option><option value="2">Credit Card</option><option value="3">OTA</option></select>'),$(".modal-body #payment_submit").show()),$(".modal-body .payment_amount").html("Rp "+mytotalpayment),$(".modal-body .payment_bid").val(e),$(".modal-body #payment_sur").html("Rp "+mySur),$(".modal-body #book_date").val(t),$(".modal-body #book_date2").val(a),$(".modal-body #book_adult").val(mydewasa),myanak>0?$(".modal-body #book_anak").val(myanak):$(".modal-body #book_anak").val(),mybayi>0?$(".modal-body #book_bayi").val(mybayi):$(".modal-body #book_bayi").val(),$(".modal-body #book_depan").val(mydepan),$(".modal-body #book_akhir").val(myakhir),$(".modal-body #book_telepon").val(mytelepon),$(".modal-body #book_email").val(myemail),myguestcomment?$(".modal-body .guestcomment").val(myguestcomment):$(".modal-body .guestcomment").val("No guest comment."),mynotes?$(".modal-body .notes").val(mynotes):$(".modal-body .notes").val("No note."),$(".modal-body #bookingsource").val(bookingsource),$(".modal-body .idroom").val(idroom),$(".modal-body #idgrouproom").val(idgrouproom),$(".modal-body .idrate").val(idrate),$(".modal-header #book_name").html(o),$(".modal-footer #book_id").val(e),$(".modal-footer #guest_book_id").val(e),$(".modal-body #book_id2").val(e),$(".modal-footer #book_status").val(mystatus),$("#fact #totalroom").html("Rp "+mytotalroom),$("#fact #totalroominput").val(mytotalroom),$("#fact #totalextra").html("Rp "+mytotalextra),$("#fact #totalextrainput").val(mytotalextra),$("#fact #totalpayment").html("Rp "+mytotalpayment),$("#fact #totalpaymentinput").val(mytotalpayment),$("#fact #percentaxes").html("Rp "+mypercentaxes),$("#fact #percentaxesinput").val(mypercentaxes),$("#fact #idpayment").val(myidpayment),$(".modal-footer .payment_extras").val(myidpayment),invoice?($(".modal-body #invoice").html('<strong style="font-size:18pt">'+invoice+"</strong>"),$(".modal-body #invoice_info").html("Invoice number is ready")):($(".modal-body #invoice").html('<input type="submit" name="btn_generate" class="btn btn-primary" value="Generate Invoice">'),$(".modal-body #invoice_info").html("You have not generated an invoice yet."))}),$(function(){$(".draggable").draggable({containment:".tahu",cursor:"move",snap:".auto_grid",snapMode:"inner"}).resizable({snap:".auto_grid",snapMode:"inner",grid:[30,10],helper:"ui-resizable-helper",animate:!0,animateEasing:"easeOutBounce",handles:"e",containment:".tahu",stop:function(t,a){console.log("Simpan hasil resize ?")}}),$(".tahu").droppable({accept:".draggable",drop:function(t,a){alert("Simpan di sini ?"),console.log("Simpan hasil drop")},tolerance:"pointer"})}),$(function(){$(".draggable").droppable({tolerance:"touch",hoverClass:"DropTargetValid",drop:function(t,a){alert("Data sudah ada, cari room dan tanggal yang kosong ?");$(this).data("id");a.draggable.draggable("option","revert",!0),a.helper.data("dropped",!0),console.log($(this).data("id"))}}),$("#tahu").click(function(){$("#tahu").scroll()}),$(".alert-notif").fadeTo(3e3,500).slideUp(500,function(){$(".alert-notif").slideUp(500)}),$(window).on("load",function(){$("#modal").modal("show")})}),$(document).click(function(){$("#w").hide("fast")}),$("#w").click(function(t){t.stopPropagation()}),$(document).ready(function(){1==$(".incl_clone").length&&$("#incl_btnDel").attr("disabled","disabled"),$("#incl_btnAdd").click(function(){var t=$(".incl_clone").length,a=t+1,o=$("#incl_clone1").clone().attr("id","incl_clone"+a);o.find("#incl_sel_1 select").attr("id","incl_input1_"+a).attr("id","chanx_"+a).attr("data-id",a),o.find("#incl_it_1 input").attr("id","incl_input2_"+a).val("1"),o.find("#incl_qty_1 input").attr("id","incl_input3_"+a).val("1"),o.find("#incl_tot_1 input").attr("id","incl_input4_"+a).val("0"),o.find(".text #incl_input5_"+a).attr("id","incl_input5_"+a),$("#incl_clone"+t).after(o),$("#incl_btnDel").attr("disabled",!1),5==a&&$("#incl_btnAdd").attr("disabled","disabled")}),$("#incl_btnDel").click(function(){var t=$(".incl_clone").length;$("#incl_clone"+t).remove(),$("#incl_btnAdd").attr("disabled",!1),t-1==1&&$("#incl_btnDel").attr("disabled","disabled")}),1==$(".clonedInput").length&&$("#btnDel").attr("disabled","disabled"),$("#btnAdd").click(function(){var t=$(".clonedInput").length,a=t+1,o=$("#input1").clone().attr("id","input"+a);o.find("#input_sel_1 select").attr("id","name1_"+a).attr("id","chanx_"+a).attr("data-id",a),o.find("#input_it_1 input").attr("id","name2_"+a).val("1"),o.find("#input_qty_1 input").attr("id","name3_"+a).val("1"),o.find("#input_tot_1 input").attr("id","name4_"+a).val("0"),o.find(".otherz_1 #name5_"+a).attr("id","name5_"+a),$("#input"+t).after(o),$("#btnDel").attr("disabled",!1),5==a&&$("#btnAdd").attr("disabled","disabled")}),$("#btnDel").click(function(){var t=$(".clonedInput").length;$("#input"+t).remove(),$("#btnAdd").attr("disabled",!1),t-1==1&&$("#btnDel").attr("disabled","disabled")})}),$(".datepicker").datepicker({autoclose:!0}),$(".datepicker2").datepicker({autoclose:!0}),$("#updates").on("hidden.bs.modal",function(){location.reload()});/*$("form").submit(function(event){event.preventDefault();});$('#updates').on('show.bs.modal', function(){backdrop:'static',keyboard:false,})$('#addBookDialog').on('hidden.bs.modal',function(){location.reload();})*/
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement