<div class="col-lg-12">
    <section class="panel">
        <header class="panel-heading" style="min-height:120px">
            <div class="col-lg-3"> 
               <span>ICD Out No : ICD-OUT-<?php echo $aginl_u_no['aginl_val'];?></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) - GATE ENTRY(Transit Material)- Gate1 Entry Officer  </b></h4></div>

            <div class="col-lg-3"><span>Date : <?php echo date("Y-m-d");?></span></div>
        </header>
        <div class="clear"></div>
        <div class="panel-body"> 
            <form class="form-horizontal" method="post" action="<?php echo base_url();?>icd/geo_ctrl/update_icd_out_transit_material_details/<?php echo $igetl_data['igetl_id'];?>">
                <div class="col-lg-12">		
                    <input type="hidden" value="ICD-OUT-<?php echo $aginl_u_no['aginl_val'];?>" required >
                    
                    <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" name="igetl_driver_name" value="<?php echo $igetl_data['igetl_driver_name'];?>" required >


                        </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" name="igetl_driver_lic_no" value="<?php echo $igetl_data['igetl_driver_lic_no'];?>" required >


                        </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>

                

                <div class="panel-body ">
                    <section id="unseen">
                        

                        <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; REGISTER </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>