<div class="col-lg-12">
    <section class="panel">
        <header class="panel-heading" style="min-height:120px">
            <div class="col-lg-3"> <span>Ref No : <?php echo $igedl_data['idl_ref_no'];?></span> </div>
            <div class="col-lg-6"> 
                <h4 class="text-center"><i class="fa fa-truck truck_icon"></i><br/> <b>ETC Cargo Limited(ICD018) - Out Gate Pass Entry-ICD Gate Entry Officer/ ICD Gate – Authorization Officer  </b></h4></div>
            <div class="col-lg-3"><span>Date : <?php echo $igedl_data['idl_date'];?></span></div>
        </header>
        <div class="clear"></div>
        <div class="panel-body">
            <form class="form-horizontal" method="post" action="<?php echo base_url();?>icd/igeo_ctrl/update_icd_vehicle_out_gate_pass_details/<?php echo $igedl_data['igedl_id'];?>">
                <div class="col-lg-12">
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Vessel Name </label>
                        <div class="col-lg-8">

							<input type="text" class="form-control" value="<?php echo $igedl_data['idl_vessel_name'];?>" readonly required>

                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Gate Entry No</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igedl_data['igedl_gate_entry_no'];?>" readonly>

                        </div>
                    </div>

                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Bill Of Lading </label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igedl_data['idl_bill_of_loading'];?>" readonly required>

                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Out Pass No</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" name="igedl_out_pass_no" value="<?php echo $aginl_u_no['aginl_val'];?>" readonly required>

                        </div>
                    </div> 
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Container Status </label>
                        <div class="col-lg-8">
							<input type="text" class="form-control" value="<?php echo $igedl_data['csl_name'];?>" readonly required>

                        </div>
                    </div>           
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Shipping Line </label>
                        <div class="col-lg-8">
							<input type="text" class="form-control" value="<?php echo $igedl_data['idl_shipping_line'];?>" readonly required>
                        </div>
                    </div>                
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4 ">Type Of Cargo </label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igedl_data['ctl_name'];?>" readonly required>

                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Payment Agency </label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igedl_data['pal_name'];?>" readonly required>

                        </div>
                    </div> 
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Initiated By</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igedl_data['igedl_initiated_by'];?>" readonly>

                        </div>
                    </div>     
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Proforma Invoice  </label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igedl_data['idl_proforma_invoice'];?>" readonly>

                        </div>
                    </div>         
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Time Out </label>
                        <div class="col-lg-8">

							<input type="text" class="form-control" name="igedl_time_out" value="<?php date_default_timezone_set('Asia/Kolkata'); echo $date = date('h:i a', time());?>" required readonly>

                        </div>
                    </div>   
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Billing Reference </label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igedl_data['idl_bill_refer'];?>" readonly>
                        </div>
                    </div>      
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4"> Destination </label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igedl_data['idl_destination'];?>" readonly>
                        </div>
                    </div>                          
                </div>
                <div class="col-lg-12" style=" border: 1px solid #000; padding: 12px; margin-bottom: 14px; ">
                    <div class=" col-md-5" style=" padding-bottom: 13px;padding-left: 0; ">
                        <label class="col-lg-6"style="font-weight: 400;padding-left: 0;">ICD Supervisor Name: </label>
                        <input type="text" class="col-md-6" name="igedl_icd_supervisor_name" value="<?php echo $igedl_data['igedl_icd_supervisor_name'];?>">
                    </div>
                    <div class=" col-md-3" style=" padding-bottom: 13px;padding-left: 0; ">
                        <label class="col-sm-6"style="font-weight: 400;padding-left: 0;">Received Time: </label>
                        <input type="text" class="col-md-5" name="igedl_received_time" value="<?php echo $igedl_data['igedl_received_time'];?>" >
                    </div>

                    <div class="col-md-4" style=" padding-bottom: 13px;padding-left: 0; ">
                        <label class="col-sm-6" style="font-weight: 400;padding-left: 0;">Driver Signature:</label>
                    </div>
                    <div class=" col-md-5" style=" padding-bottom: 13px;padding-left: 0; ">
                        <label class="col-lg-6"style="font-weight: 400;padding-left: 0;">Location: </label>
                        <input type="text" class="col-md-6" name="igedl_location" value="<?php echo $igedl_data['igedl_location'];?>">
                    </div> 
                    <div class=" col-md-5" style=" padding-bottom: 13px;padding-left: 0; ">
                        <label class="col-lg-6"style="font-weight: 400;padding-left: 0;">Received Date: </label>
                        <input type="text" class="col-md-6" name="igedl_received_date" value="<?php echo $igedl_data['igedl_received_date'];?>">
                    </div>                           
                </div>
                
				<header class="panel-heading">
                    <h4 class="text-center"> 
                        <b> Container Details </b>                    
                    </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-1">Container No </th>
                                    <th class="numeric col-md-1"> Size </th>
                                    <th class="col-md-2">  Type </th>
                                    <th class="col-md-2">  Status </th>
                                    <th class="col-md-2">  Truck No </th>
                                    <th class="col-md-2">  Trailer No </th>
                                    <th class="col-md-2">  Driver Name </th>
                                    <th class="col-md-2">  License </th>
                                    <th class="col-md-2">  Transporter </th>

                                </tr>
                            </thead>
                            <tbody id="tbody_id">   
                            <?php
                                foreach($iidl_list as $iidl_row){
                            ?>  
                                    <tr> 
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $iidl_row['icdl_c_no'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $iidl_row['icdl_c_size'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $iidl_row['icdl_c_type'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $iidl_row['icdl_c_status'];?>" readonly>  
                                        </td>
                                        
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $iidl_row['icdl_truck_no'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control"  value="<?php echo $iidl_row['icdl_trailer_no'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $iidl_row['icdl_driver_name'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $iidl_row['icdl_license'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $iidl_row['tl_name'];?>" readonly>  
                                        </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; Save</button>
                            </div>

                        </div>

                    </section>
                </div>
                <!---->

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

</div>


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