<div class="col-lg-12">
    <section class="panel">
        <header class="panel-heading" style="min-height:120px">
            <div class="col-lg-3"> 
               <span>Gate Pass Out No : <?php echo $igetl_data['igetl_transit_gate_pass_out_no'];?></span> <br>
               <span>ICD Out No : <?php echo $igetl_data['igetl_icd_out_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) - ICD-CONTAINER OUT GATE PASS ENTRY(Transit Empty) – ICD Gate –Operations Manager </b></h4></div>

            <div class="col-lg-3"><span>Date : <?php echo $igetl_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/transit_empty_ctrl/update_icd_gate_pass_out_transit_empty_approve_details/<?php echo $igetl_data['igetl_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 $igetl_data['idl_vessel_name'];?>" readonly >

                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Tansad No</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igetl_data['igedl_tansad_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 $igetl_data['idl_bill_of_loading'];?>" readonly>

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

                        </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 $igetl_data['idl_shipping_line'];?>" readonly>
                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Agent Name  </label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igetl_data['agl_name'];?>" readonly>
                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Registration No</label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igetl_data['igedl_regi_no'];?>" readonly>

                        </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 $igetl_data['igedl_initiated_by'];?>" readonly>

                        </div>
                    </div>      
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4"> Invoice No </label>
                        <div class="col-lg-8">
                            <textarea class="form-control" rows="3" readonly><?php echo $igetl_data['idl_invoice_no'];?></textarea>

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

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

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

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

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

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

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

							<input type="text" class="form-control" value="<?php echo $igetl_data['igetl_total_amount'];?>" 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 $igetl_data['igetl_driver_name'];?>" readonly >


                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Driver Lic No </label>
                        <div class="col-lg-8">
                            <input type="text" class="form-control" value="<?php echo $igetl_data['igetl_driver_lic_no'];?>" 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 $igetl_data['idl_destination'];?>" readonly>

                        </div>
                    </div>

                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Token Type </label>
                        <div class="col-lg-8">
							<input type="text" class="form-control" id="token_type_input_id" value="<?php echo $igetl_data['igetl_token_type'];?>" readonly>
                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Token No </label>
                        <div class="col-lg-8">
							<input type="text" class="form-control" value="<?php echo $igetl_data['igetl_token_no'];?>" readonly>

                        </div>
                    </div>
                    <div class="form-group col-md-6">
                        <label class="col-lg-4 col-sm-4">Expiry. Date </label>
                        <div class="col-lg-8">
							<input type="text" class="form-control" value="<?php echo $igetl_data['igetl_expiry_date'];?>" readonly>

                        </div>
                    </div>

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

                        </div>
                    </div>

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

                        </div>
                    </div>

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

                        </div>
                    </div>         
                </div>

                <div class="col-lg-12" style="border: 1px solid #000; padding:10px;margin:5px;margin-bottom:25px;">
                    <div class="col-md-9">
                        <div class="col-md-7" style="padding-bottom: 11px;">
                            <label class="col-lg-5 label_style_cls">ICD Supervisor Name : </label>
                            <input type="text" class="col-lg-7" name="igetl_transit_super_name" value="<?php echo $igetl_data['igetl_transit_super_name'];?>" readonly>
                        </div>
                        <div class="col-md-5" style="padding-bottom: 11px;">
                            <label class="col-lg-5 label_style_cls">Loaded  Time : </label>
                            <input type="text" class="col-lg-7" name="igetl_transit_load_time" value="<?php echo $igetl_data['igetl_transit_load_time'];?>" readonly>
                        </div>
                        <div class="col-md-6" style="padding-bottom: 11px;">
                            <label class="col-lg-4 label_style_cls">Location : </label>
                            <input type="text" class="col-lg-8" name="igetl_transit_location" value="<?php echo $igetl_data['igetl_transit_location'];?>" readonly>
                        </div>
                        <div class="col-md-6" style="padding-bottom: 11px;">
                            <label class="col-lg-4 label_style_cls">Loaded Date : </label>
                            <input type="text" class="col-lg-8" name="igetl_transit_loaded_date" value="<?php echo $igetl_data['igetl_transit_loaded_date'];?>" readonly>
                        </div>
                    </div>
                    <div class="col-md-3" style=" top: 11px; ">
                        <label class="col-lg-12 label_style_cls">Driver Signature: </label>
                    </div>                        
                </div>

				<header class="panel-heading container_head_cls" style="display:none">
                    <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 container_body_cls" style="display:none">
                            <thead>
                                <tr>
                                    <th class="col-md-1">Container No </th>
                                     <th class="numeric col-md-1"> Size </th>
                                    <th class="col-md-1">  Type </th>
                                    <th class="col-md-1">  Goods Description </th>
                                    <!-- <th class="col-md-1">  Status </th> -->
                                    
                                    <!-- <th class="col-md-1">  Verification Cycle </th>
                                    <th class="col-md-1">  New Seal.No </th>
                                    <th class="col-md-1">  Stripping </th>
                                    <th class="col-md-2">  Release For </th> 
                                    <th class="col-md-2"> Remarks </th>-->

                                </tr>
                            </thead>
                            <tbody id="tbody_id">   
                            <?php
                                foreach($itncl_list as $itncl_row){
                            ?>  
                                    <tr> 
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_c_no'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_c_size'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_c_type'];?>" readonly>  
                                        </td>
                                       <td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_goods_desc'];?>" readonly>  
                                        </td>
                                         <!--<td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_c_status'];?>" readonly>  
                                        </td>
                                         <td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_verification_cycle'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_new_seal_no'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_stripping'];?>" readonly> 
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_extra_field'];?>" readonly>  
                                        </td>
                                        <td> 
                                            <input type="text" class="form-control" value="<?php echo $itncl_row['icdl_remarks'];?>" 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; Approve </button>
                            </div>

                        </div>


                    </section>
                </div>
                

                


                

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

</div>


<script type='text/javascript'> 
    $(document).ready(function(){
        $('#token_type_input_id').click();
    });
    $('#token_type_input_id').click(function(){
        this_val = $('#token_type_id').val();
        if(this_val=="Local-LCL/Extra Material"){
            $('.container_head_cls').css({'display':'none'});
            $('.container_body_cls').css({'display':'none'});
        }else if(this_val=="Transit-Material"){
            $('.container_head_cls').css({'display':'none'});
            $('.container_body_cls').css({'display':'none'});
        }else{
            $('.container_head_cls').css({'display':'block'});
            $('.container_body_cls').css({'display':'block'});
        }
    });
</script>