<div class="col-md-12 ">
<h3>Customer Wise Report</h3>

	<form class="form-horizontal"method="post" action="<?php echo base_url();?>reports_ctrl/get_reports">
		<div class="col-md-12 div_cls">
			<div class="form-group col-md-3">			
				<label> &nbsp;</label>
				<div class="col-lg-12">
					<input type="hidden" name="view_type_val" value="1">
					
					<select class="form-control" name="s_type" required>
						<option value="">--Select Type--</option>						
						<option value="Loading">Loading</option>						
						<option value="Unloading">Unloading</option>						
					</select>
				</div> 
			</div>
			<div class="form-group col-md-3">			
				<label> &nbsp;</label>
				<div class="col-lg-12">
					<select class="form-control" name="cl_id" >
						<option value="">--Select customer--</option>
						<?php
							foreach($cl_list as $cl_row){
							?>
						<option value="<?php echo $cl_row['cl_id']; ?>"><?php echo $cl_row['cl_name']; ?></option>
						<?php
							}
							?>
					</select>
				</div>
			</div>

			<div class="form-group col-md-3" > 				
				<label> From</label>
				<div class="col-lg-12">
					<input type="date" class="form-control" placeholder="Token No" name="f_date">
				</div>
			</div>
			<div class="form-group col-md-3" >
				<label> To</label>
				<div class="col-lg-12">
					<input type="date" class="form-control" placeholder="Token No" name="t_date">
				</div>
			</div>
			<div class="form-group col-md-1">		
				<label> &nbsp;</label>
				<div class="col-lg-offset-10 col-lg-2">
					<button type="submit" class="btn btn-success pull-right">Execute</button>
				</div>
			</div>
		</div>
	</form>
</div>