<div class="col-lg-10 col-lg-offset-1">
	<div class="col-lg-12">
		<form class="form-horizontal" method="post" action="<?php echo base_url();?>avso_o_ctrl/submit_vehicle_slip_authorizing/<?php if(isset($lul_data['lul_id'])){ echo $lul_data['lul_id'];}?>">
			<section class="panel">
				<header class="panel-heading" style="min-height:120px">
					<div class="col-lg-3"> <span>Date : <?php if(isset($lul_data['lul_date'])){ echo $lul_data['lul_date'];}?> </span> </div>
					<div class="col-lg-6">
						<h4 class="text-center"><i class="fa fa-truck truck_icon"></i><br/> <b>ETC Cargo Limited - Vehicle Slip Authorize Form(<?php echo $lul_data['lul_type'];?>)</b></h4>
					</div>
					<div class="col-lg-3"><span>Tocken No : <?php if(isset($lul_data['lul_token_no'])){ echo $lul_data['lul_token_no'];} ?></span></div>
				</header>
				<div class="clear"></div>
				<div class="panel-body">
					<div class="col-lg-12">
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4">Customer Name</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['cl_name']; ?>" readonly>
							</div>
						</div>
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4">W/Bridge Ticket No</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['lul_W_Bridge_Ticket_No']; ?>" readonly>
							</div>
						</div>
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4">Truck No</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['lul_truck_no'];?>" readonly>
							</div>
						</div>

						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4 ">Trailer No</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['lul_trailer_no'];?>" readonly>
							</div>
						</div>
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4 ">No of Bags</label>
							<div class="col-lg-8">
								<input type="text" class="form-control"value="<?php echo $lul_data['lul_no_of_bag'];?>" readonly>
							</div>
						</div>
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4 ">Tons</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['lul_ton'];?>" readonly>
							</div>
						</div>
						
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4">Driver Name</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['lul_driver_name'];?>" readonly>
							</div>
						</div>
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4 ">Driver Ph</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['lul_driver_ph_no'];?>" readonly>
							</div>
						</div>
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4">Transporter</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['tl_name'];?>" readonly>
							</div>
						</div>
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4 ">Authorised By</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['authorize_name'];?>" readonly>
							</div>
						</div>
						<div class="form-group col-md-6">
							<label class="col-lg-4 col-sm-4">Commodity</label>
							<div class="col-lg-8">
								<input type="text" class="form-control" value="<?php echo $lul_data['com_name']; ?>" readonly>
							</div>
						</div>
					</div>
					<div class="clear"></div>
					<!-------------------Form------------------>
					<div class="for_form">
						<div class="col-lg-6">
							<div class="form-group">
								<label class="col-lg-4 col-sm-4">Load By</label>
								<div class="col-lg-8">
									<input type="text" class="form-control" name="lul_load_by" >
								</div>
							</div>
							<div class="form-group">
								<label class="col-lg-4 col-sm-4">Bags Loaded</label>
								<div class="col-lg-8">
									<input type="text" class="form-control" name="lul_bag_loaded" >
								</div>
							</div>
						</div>
						<div class="col-lg-6">
							<div class="form-group">
								<label class="col-lg-4 col-sm-4">Name</label>
								<div class="col-lg-8">
									<input type="text" class="form-control" name="lul_l_name" >
								</div>
							</div>
							<div class="col-lg-6" style="padding:0px">
								<div class="form-group">
									<label class="col-lg-4 col-sm-4">Bags(Short)</label>
									<div class="col-lg-8">
										<input type="text" class="form-control" name="lul_bag_short" >
									</div>
								</div>
							</div>
							<div class="col-lg-6" style="padding:0px 10px">
								<div class="form-group">
									<label class="col-lg-4 col-sm-4">KGS</label>
									<div class="col-lg-8">
										<input type="text" class="form-control" name="lul_kgs" >
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<header class="panel-heading">
					<h4 class="text-center"> 
					</h4>
				</header>
				<div class="panel-body">
					<section id="unseen">
						<table class="table table-bordered table-striped table-condensed col-md-12">
							<thead>
								<tr>
									<th class="col-md-3">Material Name</th>
									<th class="numeric col-md-3">Bag Weight</th>
									<th class="col-md-3">No of Bags</th>
									<th class="col-md-3">Total Weight</th>
								</tr>
							</thead>
							<tbody id="tbody_id">
								<?php
									foreach($luml_data as $luml_rows){
									?>
								<tr>
									<td> <?php echo $luml_rows['ml_name'];?> </td>
									<td> <?php echo $luml_rows['ml_unit_kg'];?> </td>
									<td> <?php echo $luml_rows['luml_no_of_bag'];?> </td>
									<td> <?php echo $luml_rows['luml_total_weight'];?> </td>
								</tr>
								<?php
									}
									?>
							</tbody>
						</table>
						<div class=" col-lg-offset-5">
							<div class="col-lg-2">
								<button type="submit" class="btn btn-success"> <i class="fa fa-thumbs-up"></i>&nbsp; Authorize </button>
							</div>
						</div>
					</section>
				</div>
			</section>
		</form>
	</div>
</div>