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/manage-markup.phtml
    
    <script type="text/javascript" src="<?php echo $this->baseUrl('public/assets/js/lib/jquery-1.11.min.js'); ?>"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl('public/js/functions.js'); ?>"></script>


                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                    <h4 class="modal-title" id="myModalLabel">Mark Up / Commission Settings ( <?php echo $this->arrMPInventoryAccomList[0]['HotelName']; ?> - <?php echo $this->arrMPInventoryAccomList[0]['CityName']; ?>)</h4>
                </div>
    
                <div class="modal-body">
                    <div class="col-md-6">
                    <div class="form-group">
                        <label>Mark Up Setting</label>
                        <div class="col-md-12 no-padding">
                        <label class="radio inlinebl standard" onclick="viewGrid('S');">
                            <div class="iradio_flat" style="position: relative;">
                            <input type="radio" <?php if($this->popupType=="S") { echo "checked"; } ?> class="icheck-black" value="S" id="optionsRadios2" name="optMarkupSettings" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>
                            Standard 
                        </label>&nbsp;&nbsp;
                        <label class="radio inlinebl customize" onclick="viewGrid('C');">
                            <div class="iradio_flat" style="position: relative;">
                            <input type="radio" <?php if($this->popupType=="C") { echo "checked"; } ?> class="icheck-black" value="C" id="optionsRadios2" name="optMarkupSettings" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"><ins class="iCheck-helper" style="position: absolute; top: -20%; left: -20%; display: block; width: 140%; height: 140%; margin: 0px; padding: 0px; background: rgb(255, 255, 255) none repeat scroll 0% 0%; border: 0px none; opacity: 0;"></ins></div>
                            Customize
                        </label>
                         </div>              
                    </div>
                    </div>
                    
                    
                    <div class="col-md-6" id="markup-type-block" style="display:none">
                    <div class="form-group">
                        <label>Mark Up Type</label>
                        
                        
                        <select id="markup-type" name="markup-type" class="form-control" placeholder="Select" onchange="viewDataGrid();" <?php if( $this->InventoryAllocationExists ) echo "readonly"; ?>>
<!--                            <option value="0">Select</option>-->
                            <option value="<?php echo FIXED_AMOUNT_MARKUP_ID ; ?>" <?php if($this->InventoryAllocationExistsOf == FIXED_AMOUNT_MARKUP_ID) echo "selected"; ?> ) >Fixed Amount</option>
                            <option value="<?php echo FIXED_PERCENTAGE_MARKUP_ID ; ?>" <?php if($this->InventoryAllocationExistsOf == FIXED_PERCENTAGE_MARKUP_ID) echo "selected"; ?>>Fixed %</option>
                        </select>                       
                    </div>
                    </div>
                    
<!--                    <div class="error-message-box" id="markup-setting-error-messages" style="display:none">Errors</div>-->
                    
                    <?php
//                    echo "<pre>";
//                    print_r($this->arrHotelInventoryList);
//                    exit;
                    
                    $arrMarketPlaces = Zend_Controller_Action_HelperBroker::getStaticHelper('B2B')->getMarketPlaces();
                    $arrPermissions  = Zend_Controller_Action_HelperBroker::getStaticHelper('B2B')->getPermissions(); 
                    ?>
                    
                    <input type="hidden" name="hidden_InvnItemSysId" id="hidden_InvnItemSysId" value="<?php echo $this->InvnItemSysId; ?>"
                    
                    <div class="col-md-6 no-padding standardtab" id='standardtab-fixed-amount'>
                        <div id="markup-table-loader" style="display: none; float:left" class="please-wait">Please wait...</div>
                  	<div class="panel-body table-responsive no-padding no-border" id="markup-settings-grid-content">
                                 
                        </div>
                  </div>

                    
                <div class="clear"></div>
                
<!--                <input type="hidden" id="hidden_doccupancy" name="hidden_doccupancy" value="<?php echo $this->arrHotelInventoryList['DOccupCost']; ?>">
                <input type="hidden" id="hidden_soccupancy" name="hidden_soccupancy" value="<?php echo $this->arrHotelInventoryList['SOccupCost']; ?>">
                <input type="hidden" id="hidden_extrabed" name="hidden_extrabed" value="<?php echo $this->arrHotelInventoryList['ExtraBedCost']; ?>">
                <input type="hidden" id="hidden_extra_withoutbed" name="hidden_extra_withoutbed" value="<?php echo $this->arrHotelInventoryList['ExtraWOBedCost']; ?>">-->
    
    <script type="text/javascript">
        
        $().ready(function() {
           viewGrid('<?php echo $this->popupType ; ?>');
        });
        
        
        function viewDataGrid() {
            var MarkupSetting = $('input[name="optMarkupSettings"]:checked').val();
            var RateType = $('input[name="rateType"]:checked').val();
            viewGrid(MarkupSetting,RateType);
        }
        
        function viewByRateType(RateType) {
            var InvnItemSysId     = '<?php echo $this->InvnItemSysId ; ?>';
            var MarkupType        = $("#markup-type").val();
            var MarkupSetting = $('input[name="optMarkupSettings"]:checked').val();
            var key     = '<?php echo $this->key ; ?>';
            var popupType     = '<?php echo $this->popupType ; ?>';
            viewMarkupSettingGrid(InvnItemSysId, MarkupType, MarkupSetting, RateType, key, popupType);
        }
        
        function viewGrid(MarkupSetting,RateType) {
            if(MarkupSetting == 'S') {
                $("#markup-type-block").css("display","none");
            }else {
                $("#markup-type-block").css("display","block");
            }
            
            var MarkupType        = $("#markup-type").val();
           // var MarkupSetting     = $('input[name="optMarkupSettings"]:checked').val();
            var InvnItemSysId     = '<?php echo $this->InvnItemSysId ; ?>';
            var key     = '<?php echo $this->key ; ?>';
            var popupType     = '<?php echo $this->popupType ; ?>';
            viewMarkupSettingGrid(InvnItemSysId, MarkupType, MarkupSetting, RateType, key, popupType);
        }
        
    </script>

    <!--Layout Script start -->
    <script src="<?php echo $this->baseUrl('public/assets/js/lib/jqueryui.js'); ?>"></script>
    <script type="text/javascript" src="<?php echo $this->baseUrl('public/assets/js/bootstrap.min.js'); ?>"></script>
    
    <!--switchery Script Start -->
    <script src="<?php echo $this->baseUrl('public/assets/js/switchery.min.js'); ?>"></script>
    <!--switchery Script End -->

    <!--bootstrap switch Button Script Start-->
    <script src="<?php echo $this->baseUrl('public/assets/js/bootstrap-switch.js'); ?>"></script>
    <!--bootstrap switch Button Script End-->

    <!--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-->
    
    <!-- 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