<div class="breadcrumbs">
            <div class="breadcrumbs-inner">
                <div class="row m-0">
                    <div class="col-sm-4">
                        <div class="page-header float-left">
                            <div class="page-title">
                                <h1>Product Return</h1>
                            </div>
                        </div>
                    </div>
                    <!--div class="col-sm-8">
                        <div class="page-header float-right">
                            <div class="page-title">
                                <ol class="breadcrumb text-right">
                                    <li><a href="#">Dashboard</a></li>
                                    <li><a href="#">Forms</a></li>
                                    <li class="active">Basic</li>
                                </ol>
                            </div>
                        </div>
                    </div-->
                </div>
            </div>
        </div>
       
                <style>
.content{position: relative;}
.overlay{position: absolute;left: 0; top: 0; right: 0; bottom: 0;z-index: 2;background-color: rgba(255,255,255,0.8);position: fixed;   overflow-y: scroll;}
.overlay-content {
    position: absolute;
    transform: translateY(-50%);
     -webkit-transform: translateY(-50%);
     -ms-transform: translateY(-50%);
    top: 50%;
    left: 15%;
    right: 0;
    text-align: center;
    color: #555; 
    position: fixed; 
   overflow-y: scroll;
}

</style>  

<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/lib/chosen/chosen.min.css">
<link rel="stylesheet" href="<?php echo base_url(); ?>assets/css/jquery-datepicker.css">
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.0/themes/base/jquery-ui.css">   
                                                                
    
  
                <div class="content">
            <div class="animated fadeIn">
       <div class="overlay" style="display:block" id="load"><div class="overlay-content"><img src="<?php echo base_url(); ?>assets/images/loader.gif" alt="Loading..." style="width: 60px;"/></div></div>       

                <div class="row">
                           <?php echo validation_errors(); ?>
           
                   <div class="container">
                       
                        <form id="frm1" action="<?php echo site_url('pro_rtn_pdf');?>" method="post" target="_blank">
                        
                                
                            <div class="row">

                                            
                                                    
                                                     <div class="col-sm-4">  
                                                       Item
                                                        <select class="standardSelect form-control" id="item" data-placeholder="Choose a cat..." name="item">
							                <option value="0"> Select Item</option>
                                                         <?php 
                                                         foreach ($item_list as $itm) {            
                                                          ?>
							                <option value="<?php echo $itm->item_id; ?>"><?php echo $itm->cat_shortcode.'-'.$itm->brand_shordcode.'-'.$itm->item_catcount.'-'.$itm->itm_name; ?></option>
                                                          <?php }?>                                                           
                                                        </select>                          
                                                    </div>
                                                    
                                                        <div class="col-sm-4">  
                                                      Reason
                                                        <select class="standardSelect form-control" id="resn" data-placeholder="Choose a cat..." name="resn">
							                <option value="0"> Select Reason</option>
                                                         <?php 
                                                         foreach ($reson_list as $ren) {            
                                                          ?>
							                <option value="<?php echo $ren->ret_reason_id; ?>"><?php echo $ren->ret_reason; ?></option>
                                                          <?php }?>                                                           
                                                        </select>                          
                                                    </div>
                                                    
                                                  
                                                    
                                     
                            </div>  
                            
                            <div class="row">
                                  <div class="col-sm-3">  
                                                       From Date
                                                       <input type="text" style="text-align: right;" class="col-xs-12 col-sm-12 input-sm form-control-sm form-control datepicker" name="frm_date" id="frm_date">                         
                                            </div>
                                                    
                                                    <div class="col-sm-3">  
                                                       To Date
                                                       <input type="text" style="text-align: right;" class="col-xs-12 col-sm-12 input-sm form-control-sm form-control datepicker" name="to_date" id="to_date">                         
                                                    </div>
                                   <div class="col-sm-3">   
                                                <br>
                                                 <?php
                                                if($this->session->userdata['login_data']['userlevel']!=15 && $this->session->userdata['login_data']['userlevel']!=20){?>
                                                        
                                                           <button type="submit" class="btn btn-secondary btn-sm" id="update_data">Print</button>  
                                                            
                                                       <?php } ?>
                                                
                                                                
                                        </div>
                                </div> 
                                
                     
                    </form> 
            </div>
            </div>
            </div>
            </div>
            
            <div class="clearfix"></div>

<script src="<?php echo base_url(); ?>assets/js/jquery.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<script src="<?php echo base_url(); ?>assets/js/jquery-ui.js"></script>
<script src="<?php echo base_url(); ?>assets/js/lib/chosen/chosen.jquery.min.js"></script>


<script>

    $(document).ready(function(){
        //show_data(); 
        //getPagination('#table-id');
        document.getElementById("load").style.display = "none";
    });
    
    $( ".datepicker" ).datepicker();
    $( ".datepicker" ).datepicker( "option", "dateFormat", "yy-mm-dd");
    
  

        
            jQuery(document).ready(function() {
        jQuery(".standardSelect").chosen({
            disable_search_threshold: 5,
            no_results_text: "Oops, nothing found!",
            width: "100%"
        });
    });  
        

</script>    
    
    
    