<?php 
$i = $_POST['row'];
?>
<tr>
	<td><?php echo $i+1?></td>
	<td>
    	<input type="text" id="pm<?php echo $i?>" class="input" autocomplete="off" style="width:100%" onfocus="pm_auto_complete('<?php echo $i?>')" onblur="get_ums('<?php echo $i?>')">
        <input type="hidden" id="pm_autoid<?php echo $i?>"  autocomplete="off" name="pm_autoid<?php echo $i?>" value="<?php echo $rs['pm_autoid']?>">
    </td>
    <td>
    	<input type="text" class="input tr" onkeyup="calc_cb()" id="price<?php echo $i?>" 
         name="price<?php echo $i?>" onkeydown="chk_coa('<?php echo $i?>')" style="width:100%" autocomplete="off">

    </td>
    <td>
    	<input type="text" class="input tr" onkeyup="calc_cb()" id="qty<?php echo $i?>" 
         name="qty<?php echo $i?>" onkeydown="chk_coa('<?php echo $i?>')" style="width:100%" autocomplete="off">
    </td>


    <td>
    	<input type="text" class="input tl" id="dnotes<?php echo $i?>" name="dnotes<?php echo $i?>" 
        onblur="chk_field('<?php echo $i?>')" style="width:100%"autocomplete="off">
    </td>
    <td><input readonly id="stok<?php echo $i?>" class="input bg bg-warning"></td>
</tr>

