<div class="col-lg-10 col-lg-offset-1">
    <section class="panel">
        <header class="panel-heading" style="min-height:120px">
            <div class="col-lg-3"> <span>Date : <?php  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 Entry Form (Loading)</b></h4></div>
            <div class="col-lg-3"><span>Tocken No : <?php echo $lul_data['lul_token_no'];?></span></div>
        </header>
        <div class="clear"></div>
        <div class="panel-body">
            <form class="form-horizontal" method="post" action="<?php echo base_url();?>authorizing_o_ctrl/update_loading_entry_details/<?php if(isset($lul_data['lul_id'])){ echo $lul_data['lul_id'];}?>">
                <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">

							
							
							<select class="form-control" name="lul_cl_id" required>
                                <option value="">--Select--</option>
								<?php
									foreach($cl_list as $cl_row){
								?>
                                		<option value="<?php echo $cl_row['cl_id']; ?>" <?php if(isset($lul_data['lul_cl_id']) && $lul_data['lul_cl_id']==$cl_row['cl_id']){ echo "selected=selected";}?>><?php echo $cl_row['cl_name']; ?></option>
										
								<?php
									}
								?>
                            </select>

                        </div>
                    </div>

					<div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Commodity</label>
                        <div class="col-lg-8">
                            <select class="form-control" name="lul_com_id" required>
                                <option value="">--Select--</option>
								<?php
									foreach($com_list as $com_row){
								?>
                                		<option value="<?php echo $com_row['com_id']; ?>" <?php if(isset($lul_data['lul_com_id']) && $lul_data['lul_com_id']==$com_row['com_id']){ echo "selected=selected";}?>><?php echo $com_row['com_name']; ?></option>
										
								<?php
									}
								?>
                            </select>

                        </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" name="lul_truck_no" value="<?php if(isset($lul_data['lul_truck_no'])){ echo $lul_data['lul_truck_no'];}?>" required>

                        </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" name="lul_trailer_no" value="<?php if(isset($lul_data['lul_trailer_no'])){ echo $lul_data['lul_trailer_no'];}?>"required>

                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Transporter</label>
                        <div class="col-lg-8">
							<select class="form-control" name="lul_tl_id" required>
                                <option value="">--Select--</option>
								<?php
									foreach($tl_list as $tl_row){
								?>
                                		<option value="<?php echo $tl_row['tl_id']; ?>" <?php if(isset($lul_data['lul_tl_id']) && $lul_data['lul_tl_id']==$tl_row['tl_id']){ echo "selected=selected";}?>><?php echo $tl_row['tl_name']; ?></option>
										
								<?php
									}
								?>
                            </select>

                        </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" name="lul_driver_name" value="<?php if(isset($lul_data['lul_driver_name'])){ echo $lul_data['lul_driver_name'];}?>" required>

                        </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" name="lul_driver_ph_no" value="<?php if(isset($lul_data['lul_driver_ph_no'])){ echo $lul_data['lul_driver_ph_no'];}?>" required>

                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4 ">Driver Lic</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" name="lul_lic" value="<?php if(isset($lul_data['lul_lic'])){ echo $lul_data['lul_lic'];}?>" required>

                        </div>
                    </div>

                     <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4 ">Destination (To)</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" name="lul_destination" value="<?php if(isset($lul_data['lul_destination'])){ echo $lul_data['lul_destination'];}?>" required>

                        </div>
                    </div>

                    
                   

                    <div class="form-group col-md-12">
                        <div class="col-lg-offset-4 col-lg-8">
                            <button type="submit" class="btn btn-success pull-right">Save</button>
                        </div>
                    </div>

                </div>
                <!---->

            </form>
        </div>
    </section>

</div>


<script type='text/javascript'> 
	$('#timepicker').timepicki(); 
</script>