<style>
.style1 {border-top: solid 1px;border-top-color: #CCCCCC;}
.style21 {border-bottom: solid 1px;border-bottom-color: #CCCCCC;}
.style5 {border-left: solid 1px;border-left-color: #CCCCCC;}
.style3{ border-right: solid 1px;border-right-color: #CCCCCC; }
.style4 {border-bottom: solid 1px;border-bottom-color: #CCCCCC;}
.text{ font-family: Verdana; font-size:13px;}
#tot_amt::-webkit-input-placeholder { color:#666; }
</style>
<?php error_reporting(0);
/***************************** PREVIOUS NEXT CODING ****************************************/
 include("../../include/db.php");
  $ns=$_POST['job_card_nos'];
?><select name="invoice_no" id="invoice_no" class="types_class1" tabindex="3" onchange="get_con_ret_sup_part_name_media(return_no.value,job_card_nos.value,invoice_no.value),cons_ret_media_clear_valid_sub(this.value)"  style="width:100%; height:32px; font-family:Segoe, 'Segoe UI', 'DejaVu Sans', 'Trebuchet MS', Verdana, sans-serif; font-size:14px">
<option value="">Select</option>
<?php 
  $parti=mysql_query("SELECT DISTINCT invoice_no FROM `media_pur_sublist` WHERE `media_pur_no`='$ns'");

 while($get_res=mysql_fetch_array($parti))
 {
 
	?>
	
  
    <option value="<?php echo $get_res['invoice_no'];?>" ><?php echo $get_res['invoice_no']; ?></option>
        <?php } ?>
    </select>
    
	
