
		 	<link href="<?php echo base_url(); ?>assets/keyboard/jQKeyboard.css" rel='stylesheet' type='text/css' />

	 <script src="<?php echo base_url(); ?>assets/keyboard/jquery-2.1.4.min.js"></script>

			 <script src="<?php echo base_url(); ?>assets/keyboard/jQKeyboard.js"></script>

		
		
		
		
		
		<style type="text/css">
            #jQKeyboardContainer
            {
                margin-left: 336px !important;
            }
        </style>
		
		
        <script type="text/javascript">
            $(function(){
                var keyboard = {
                    'layout': [
                        // alphanumeric keyboard type
                        // text displayed on keyboard button, keyboard value, keycode, column span, new row
                        [
                            [
                                ['`', '`', 192, 0, true], ['1', '1', 49, 0, false], ['2', '2', 50, 0, false], ['3', '3', 51, 0, false], ['4', '4', 52, 0, false], ['5', '5', 53, 0, false], ['6', '6', 54, 0, false], 
                                ['7', '7', 55, 0, false], ['8', '8', 56, 0, false], ['9', '9', 57, 0, false], ['0', '0', 48, 0, false], ['-', '-', 189, 0, false], ['=', '=', 187, 0, false],
                                ['q', 'q', 81, 0, true], ['w', 'w', 87, 0, false], ['e', 'e', 69, 0, false], ['r', 'r', 82, 0, false], ['t', 't', 84, 0, false], ['y', 'y', 89, 0, false], ['u', 'u', 85, 0, false], 
                                ['i', 'i', 73, 0, false], ['o', 'o', 79, 0, false], ['p', 'p', 80, 0, false], ['[', '[', 219, 0, false], [']', ']', 221, 0, false], ['&#92;', '\\', 220, 0, false],
                                ['a', 'a', 65, 0, true], ['s', 's', 83, 0, false], ['d', 'd', 68, 0, false], ['f', 'f', 70, 0, false], ['g', 'g', 71, 0, false], ['h', 'h', 72, 0, false], ['j', 'j', 74, 0, false], 
                                ['k', 'k', 75, 0, false], ['l', 'l', 76, 0, false], [';', ';', 186, 0, false], ['&#39;', '\'', 222, 0, false], ['Enter', '13', 13, 3, false],
                                ['Shift', '16', 16, 2, true], ['z', 'z', 90, 0, false], ['x', 'x', 88, 0, false], ['c', 'c', 67, 0, false], ['v', 'v', 86, 0, false], ['b', 'b', 66, 0, false], ['n', 'n', 78, 0, false], 
                                ['m', 'm', 77, 0, false], [',', ',', 188, 0, false], ['.', '.', 190, 0, false], ['/', '/', 191, 0, false], ['Shift', '16', 16, 2, false],
                                ['Bksp', '8', 8, 3, true], ['Space', '32', 32, 12, false], ['Clear', '46', 46, 3, false], ['Cancel', '27', 27, 3, false]
                            ]
                        ]
                    ]
                }
                $('input.jQKeyboard').initKeypad({'keyboardLayout': keyboard});
            });
        </script>



  <div class="container-fluid">
 <div class="row">


  <div class="col-md-12">
   
		
		
		
		
		
		
		   <div class="panel panel-primary" data-collapsed="0">
        	<div class="panel-heading">
            	<div class="panel-title"  id="redcolor">
            		<i class="entypo-plus-circled"></i>
				Get your receipts or invoice 
            	</div>
            </div>
			<div class="panel-body">
			<h1>
 

	</h1>



<p>
    <div class="modal-body">
      
	  	

				<?PHP
//$session_data = $this->session->userdata('logged_in');

 $mydate=date("Y-m-d H:59:59");
				echo $this->session->flashdata('msg'); 
		
                 echo form_open('getallreceipts' , array('class' => 'form-horizontal form-groups-bordered validate', 'enctype' => 'multipart/form-data'));
				 if(validation_errors()):?>
<div class='alert alert-danger text-center'><?php echo validation_errors(); ?></div>
<?php endif;?>


 <div class="form-group">
    <label for="inputtype" class="col-sm-2 control-label">Select receipt type?</label>
    <div class="col-sm-10">
	<select class="form-control" name="type"  id="type" required>
	
	<option  value=""  >---Select receipt type-</option>
			<option  value="receipt" selected >--I want receipts-</option>

	<option value="invoice"  >--I want invoice-</option>


</select>
		

	</div>
  </div>

  
	

		<div class="form-group">
    <label for="inputrefnumber" class="col-sm-2 control-label">REF Number</label>
    <div class="col-sm-10">
	
		  		<input type="text" name="refnumber" value="<?php echo set_value('refnumber'); ?>" class="form-control"  placeholder="Enter Refrence Number ">
		 
				
		<span class="text-danger"> <?php echo form_error('refnumber'); ?>
		
		</span>
	</div>
  </div>
	 <div class="form-group">

    <div class="col-sm-offset-2 col-sm-10">
     
	         <button type="submit"  value="receipts" name="btn_Viewreceiptsinvoice" class="btn btn-primary">View  </button>

    </div>
  </div>
  
  
  
  
  
  					<?php echo form_close();?>
			</div>
</p>
   
   </div>
			
			
		
  
</div>
</div>

</div>