%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
$(document).ready(function() { $('#hostel_name').change(function () { var hostel_name = $(this).val(); $("#loading").show(); if (hostel_name) { $.ajax({ url : $('body').attr('data-base-url') + 'home/gethostelcategory', method: 'post', data : { id: $(this).attr('data-src'), hostel_name: hostel_name } }).done(function(response) { $("#loading").hide(); $('#hostel_category').html(''); $('#view_pricelist').html(''); $('#hostel_category').append($('<option>').text(' -- Select Category -- ').attr('value', '')); $.each(response,function(i,value){ $('#hostel_category').append($('<option>').text(value).attr('value', i)); }); }); } else { $('#hostel_category').html(''); $('#hostel_category').append($('<option>').text(' -- Select Category -- ').attr('value', '')); $('#next-steps').html(''); $('#view_pricelist').html(''); $("#loading").hide(); } }); /* $('.' + settings.seatCss).click(function () { if ($(this).hasClass(settings.selectedSeatCss)){ alert('This seat is already reserved'); } else{ $(this).toggleClass(settings.selectingSeatCss); } }); */ $('#btnShow').click(function () { var str = []; $.each($('#place li.' + settings.selectedSeatCss + ' a, #place li.'+ settings.selectingSeatCss + ' a'), function (index, value) { str.push($(this).attr('title')); }); alert(str.join(',')); }) $('#btnShowNew').click(function () { var str = [], item; $.each($('#place li.' + settings.selectingSeatCss + ' a'), function (index, value) { item = $(this).attr('title'); str.push(item); }); alert(str.join(',')); }) $("#login").click(function () { $("#loading").show(); if($('#system_id').val() == '' ){ $("#loading").hide(); } }); $('#hostel_category').change(function () { var hostel_category = $(this).val(); var hostel_name = $('#hostel_name').val(); if (hostel_category) { $("#loading").show(); $.ajax({ url : $('body').attr('data-base-url') + 'home/gethostelfeededtails', method: 'post', data : { id: $(this).attr('data-src'), hostel_category: hostel_category, hostel_name: hostel_name } }).done(function(response) { $("#loading").hide(); $('#next-steps').html(''); $('#view_pricelist').html(''); $('#view_pricelist').html(response); return false; }); } }); }); function selecthostelroom() { var floor_name = $('#floor_number').val(); var hostel_category = $('#hostel_category').val(); var hostel_name = $('#hostel_name').val(); $("#loading").show(); if (hostel_category) { $.ajax({ url : $('body').attr('data-base-url') + 'home/getavailablerooms', method: 'post', data : { id: $(this).attr('data-src'), floor_name: floor_name, hostel_category: hostel_category, hostel_name: hostel_name } }).done(function(response) { $("#loading").hide(); $('#room_number').html(''); $('#occi_rooms').html(''); $('#room_number').append($('<option>').text(' -- Select Room -- ').attr('value', '')); $.each(response,function(i,value){ $('#room_number').append($('<option>').text(value).attr('value', i)); }); }); } } function getavailrooms() { var room_number = $('#room_number').val(); var hostel_name = $('#hostel_name').val(); if (hostel_name) { $("#loading").show(); $.ajax({ url : $('body').attr('data-base-url') + 'home/gettotalavailablerooms', method: 'post', data : { id: $(this).attr('data-src'), room_number: room_number, hostel_name: hostel_name } }).done(function(response) { $("#loading").hide(); $('#occi_rooms').html(''); $('#occi_rooms').html(response); return false; }); } }