403Webshell
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/hotel/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/b2bzend/application/views/scripts/hotel/individual-hotel-rate-rules.phtml
<form name="frmIndividualHotelAddRooms" id="frmIndividualHotelAddRooms" method="POST">
    
<div class="tab-content tab-border">
                                        <div class="tab-pane fade in active" id="raterule">
                                            
                                        
                                        <div class="col-md-12 no-padding no-margin">
                                        
                                        
                                        <div class="alert alert-info col-md-12">
                                            
                                            	<div class="col-md-5">
                                                <div class="form-group form-group1 no-margin">
                                                <label class="col-md-3 no-padding" style="line-height:32px;">Mark Up Type : </label>
                                                
                                                <div class="col-md-9">
                                                <select id="markup-type" name="markup-type" class="form-control" placeholder="Select" style="white-space:nowrap; overflow:hidden;">
                                                    <option value="0">Select Mark Up</option>
                                                    <option value="<?php echo FIXED_AMOUNT_MARKUP_ID; ?>">Fixed Amount</option>
                                                    <option value="<?php echo FIXED_PERCENTAGE_MARKUP_ID; ?>">Fixed %</option>
                                                 </select>
                                              </div>  
                                                </div>
                                                </div>
                                                
                                            <div class="clear"></div></div>
                                        
                                        
                                        <div class="col-md-12 no-padding no-margin">
                                        
                                        
                                        <div class="panel panel-primary">
                                            <div class="panel-heading">
                                                <h3 class="panel-title">Individual Rates</h3>
                                            </div>
                                            <div class="panel-body whbg">
                                                <div class="panel-body table-responsive no-padding">
                                                <table  class="table table-bordered no-margin">
                                      <tr>
                                        <th class="alert alert-info"><strong>Category</strong></th>
                                          <th class="alert alert-success"><strong>Add on Mark Up</strong></th>
                                          <th class="alert alert-info">Action</th>
                                      </tr>
                                      
                                      <tr>
                                          <td>
                                            <select id="individual-rates-category" name="individual-rates-category[]" multiple class="demo-default" placeholder="Select Category...">
                                                <option value="">Select Category...</option>
                                                <option value="AL">Staff</option>
                                                <option value="AK">TB Network</option>
                                                <option value="AZ">Agent Categeory A</option>
                                                <option value="AR">Agent Categeory B</option>
                                            </select>
                                          </td>
                                          
                                          <td><input type="text" id="markup-value" name="markup-value" class="form-control whbg pull-left" value="0" style="width:50%;">&nbsp;%</td>
                                         
                                          <td><a class="btn btn-success btn-sm" href="javascript:void(0)" onclick="addIndividualHotelRateRules('<?php echo $this->intAccomSysId; ?>')"><i class="fa fa-fw fa-arrows"></i> Add</a></td>
                                      </tr>
                                      <tr>
                                          <td><span>Staff, TB Network, Agent Categeory A</span></td>
                                          <td><span>0%</span></td>

                                          <td><button title="" data-placement="top" data-toggle="tooltip" class="btn btn-xs btn-warning tooltipLink editbtn" data-original-title="Edit" ><i class="fa fa-pencil-square-o"></i></button>
                                          <button title="" data-placement="top" data-toggle="tooltip" class="btn btn-xs btn-danger tooltipLink" data-original-title="Delete"><i class="fa fa-trash-o"></i></button></td>
                                      </tr>
                                      
                                      <tr>
                                          <td><span>Staff, TB Network, Agent Categeory B</span></td>
                                          <td><span>+10%</span></td>

                                          <td><button title="" data-placement="top" data-toggle="tooltip" class="btn btn-xs btn-warning tooltipLink editbtn" data-original-title="Edit" ><i class="fa fa-pencil-square-o"></i></button>
                                          <button title="" data-placement="top" data-toggle="tooltip" class="btn btn-xs btn-danger tooltipLink" data-original-title="Delete"><i class="fa fa-trash-o"></i></button></td>
                                      </tr>
                                      
                                      <tr>
                                          <td><span>Staff, TB Network</span></td>
                                          <td><span>-10%</span></td>
                                          <td><button title="" data-placement="top" data-toggle="tooltip" class="btn btn-xs btn-warning tooltipLink editbtn" data-original-title="Edit" ><i class="fa fa-pencil-square-o"></i></button>
                                          <button title="" data-placement="top" data-toggle="tooltip" class="btn btn-xs btn-danger tooltipLink" data-original-title="Delete"><i class="fa fa-trash-o"></i></button></td>
                                      </tr>
                                      
                                      
                                      
                                     
                                      </table>
                                      </div>
                                            </div>
                                        </div>
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                      
                                      </div>
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                        
                                      
                                      </div>
            
            							
            
                                        <div class="clear"></div></div>
</div>
    
</form>

<script type="text/javascript">
    
    function addIndividualHotelRateRules(intAccomSysId) {
        var data = $('#frmIndividualHotelAddRooms').serialize();

        $.ajax({
            url  : '/hotel/add-individual-hotel-rate-rules',
            data : data + "&intAccomSysId=" + intAccomSysId,
            type : 'POST',
            dataType : 'json',
            error : function() {
                
            },
            beforeSend : function() {
                
            },
            success : function(response) {

                if(response.success) {
                    
                   
                }else {
                    alert(response.msg);
                    return false;
                }
            }
        });
        
        return true;
        
    }

</script>



<!--selectize Library start-->
<script src="<?php echo $this->baseUrl('public/assets/js/selectize.min.js'); ?>"></script>
<!--selectize Library End-->

<!--Select & Tag demo start-->
<script src="<?php echo $this->baseUrl('public/assets/js/pages/selectTag.js'); ?>"></script>
<!--Select & Tag demo end-->


    <!-- MiniColors Library Script Start -->
<script src="<?php echo $this->baseUrl('public/assets/js/jquery.minicolors.min.js'); ?>"></script>
<!-- MiniColors Library Script Start -->
<!-- Date & Time Picker Library Script Start -->
<script src="<?php echo $this->baseUrl('public/assets/js/jquery.datetimepicker.js'); ?>"></script>
<!-- Date & Time Picker Library Script End -->

<!--Demo for Date, Time Color Picker Script Start -->
<script src="<?php echo $this->baseUrl('public/assets/js/pages/pickerTool.js'); ?>"></script>
<!--Demo for Date, Time Color Picker Script End -->


    <!-- Script For Icheck -->
<script src="<?php echo $this->baseUrl('public/assets/js/icheck.min.js'); ?>"></script>
<!-- Script For Icheck -->


<!--Advance Radio and checkbox demo start-->
<script src="<?php echo $this->baseUrl('public/assets/js/pages/checkboxRadio.js'); ?>"></script>
<!--Advance Radio and checkbox demo start-->

Youez - 2016 - github.com/yon3zu
LinuXploit