<?php
include('common/header.php');
?>
		<div class="">
			<div class="col-xm-12">
				<div class="widget-box light-border">
					<div class="widget-header header-color-grey">
						<h4 class="smaller">
							Search
						</h4>
					</div>
					
					<div class="widget-body">
						<div class="widget-main">
						  <div class="row">
							<div class="col-sm-12">
							<form class="form-horizontal" role="form">
							<div class="">
							<!-- PAGE CONTENT BEGINS -->
								<!--<div class="form-group">  
									<label class="col-sm-5 control-label" for="form-field-2"><?php echo 'Dealer Company';?></label>
									<div class="col-sm-7">	
										<?php	
											$dealer_data=array( '' => 'Select Dealer Company',
																	 'DLR001'=> 'Gurudev Corporation',
																	 'DLR002'=> 'Mehta Pvt LTD'
																	);
											$js1 = 'id="dealer_id" onChange=""';
											echo form_dropdown('dealer_id', $dealer_data, '', $js1);
											echo form_error('dealer_id');
										?>
									</div>
								</div>
								<div class="space-4"></div>	-->	
								<div class="form-group">  
									<label class="col-sm-5 control-label" for="form-field-2"><?php echo 'Client';?></label>
									<div class="col-sm-7">	
										<?php	
											$dealer_data=array( '' => 'Select Client',
																	 'C001'=> 'Kritika Corporation',
																	 'C002'=> 'Marvels Pvt LTD'
																	);
											$js1 = 'id="client_id" onChange=""';
											echo form_dropdown('client_id', $dealer_data, '', $js1);
											echo form_error('client_id');
										?>
									</div>
								</div>
								<div class="space-4"></div>
								<!--<div class="form-group">  
									<label class="col-sm-5 control-label" for="form-field-2"><?php echo "Location";?></label>
									<div class="col-sm-7">	
										<?php	
											$location_data=array('' => 'Select Location',
															   'L101'=> 'Mulund',
															   'L102'=> 'Thane'
															   );
											$ls = 'id="city_id" onChange=""';
											echo form_dropdown('city_id',$location_data, '',$ls);
											echo form_error('city_id');
										?>
									</div>
								</div>
								<div class="space-4"></div>
								<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2"><?php echo 'Period From Date';?></label>
										<div class="col-sm-7">	
											<?php	
												$period_data=array('name'=>'period_from_date',
																		 'id'=>'period_from_date',
																		 'maxlength'=>'10',
																		 'placeholder'=>'Period From Date',
																		 'value'=> ''
																		);
												echo form_input($period_data,'');
												echo form_error('period_from_date');
											?>
										</div>
									</div>
									<div class="space-4"></div>
									<div class="form-group">  
										<label class="col-sm-5 control-label" for="form-field-2"><?php echo 'Period To Date';?></label>
										<div class="col-sm-7">	
											<?php	
												$period_data=array('name'=>'period_to_date',
																		 'id'=>'period_to_date',
																		 'maxlength'=>'10',
																		 'placeholder'=>'Period To Date',
																		 'value'=> ''
																		);
												echo form_input($period_data,'');
												echo form_error('period_to_date');
											?>
										</div>
									</div>
									<div class="space-4"></div>-->	
								</div>
							</form>	
						</div>
						</div>
					   </div>	
					</div>
				</div>
			</div>
      	<!-- /.col -->
		</div>
		<div class="clearfix form-actions">
			<div class="col-md-offset-5 col-md-5">
				<button class="btn btn-info" type="button" onclick="javascript:window.location='<?php echo base_url();?>index.php/admin/receipt/list_invoices'">
					Search
				</button>
			</div>
		</div>
		<div class="space-4"></div>
		<!-- /.page-row -->
        <!-- /.page-content --> 
      </div>
      <!-- /.main-content --> 
      
    </div>
    <!-- /#ace-settings-container --> 
  </div>
  
  <!-- /.main-container-inner --> 
<script type="text/javascript">
$(document).ready(function() {
    $('form:first *:input[type!=hidden]:first').focus();
	
	$("#period_from_date").datepicker({
		changeMonth: true,
		changeYear: true,
		showOn: "button",
			  buttonImage: "<?php echo ASSETS_PATH;?>images/calendar.jpg",
			  buttonImageOnly: true,
			  buttonText: "Select date",
		dateFormat:'dd/mm/yy'	
	});
	$("#period_to_date").datepicker({
		changeMonth: true,
		changeYear: true,
		showOn: "button",
			  buttonImage: "<?php echo ASSETS_PATH;?>images/calendar.jpg",
			  buttonImageOnly: true,
			  buttonText: "Select date",
		dateFormat:'dd/mm/yy'	
	});
});
</script>
<?php
	include('common/footer.php');
?>