<table class="table tl" onclick="$('#infosave').fadeOut()">
        <tr>
        	<td class="h4" colspan="2">
            <?php if($_GET['info']==1){?>
			<b class="text text-success">Data Saved !</b>
			<?php }?>
            </td>
            <td class="h4 tr" colspan="2"><?php echo $act_desc?></td>
        </tr>
    	<tr>
        	<td style="width:200px;">COA No</td>
            <td colspan="3">
            	<input type="text" id="coa_accno" name="coa_accno" class="input w-80" placeholder="Kode Coa" value="<?php echo $row['coa_accno']?>">
            </td>
        </tr>
      	<tr>
        	<td>COA Description</td>
            <td colspan="3">
            	<input type="text" id="pm_bprice" name="pm_bprice" class="input tr" placeholder="0" value="<?php echo $row['pm_bprice']?>">
            </td>
        </tr>    
      	<tr>
        	<td>Harga Jual</td>
            <td colspan="3">
            	<input type="text" id="pm_sprice" name="pm_sprice" class="input tr" placeholder="0" value="<?php echo $row['pm_sprice']?>">
            </td>
		</tr>
		<tr>
        	<td>Catatan / Keterangan</td>
            <td colspan="3">
            <textarea class="input" style="width:80%" name="pm_desc"><?php echo $row['pm_desc']?></textarea>
            </td>
        </tr>
    </table>
    
<table class="table tl">

        <tr>
        	<td style="width:200px;">Product Image 1</td>
            <td>
				<input type="file" name="img_file_1" id="img_file" class="input"/> 
                <i class="text text-danger">* W = 620px H =800px</i>
            </td>
            <td>
                	<img src="../../../<?php echo $img_1 ?>" style="height:50px;" />
            </td>
        </tr>
        <!--
        <tr>
        	<td>Product Image 2</td>
            <td>
				<input type="file" name="img_file_2" id="img_file" class="input"/>
            </td>
            <td>
				<img src="../../../<?php echo $img_2 ?>" style="height:50px;" />
            </td>
        </tr>
        <tr>
        	<td>Product Image 3</td>
            <td>
				<input type="file" name="img_file_3" id="img_file" class="input"/>
            </td>
            <td>
                	<img src="../../../<?php echo $img_3?>" style="height:50px;" />
            </td>
        </tr>
        <tr>
        	<td>Product Image 4</td>
            <td>
				<input type="file" name="img_file_4" id="img_file" class="input"/>
            </td>
            <td>
                	<img src="../../../<?php echo $img_4 ?>" style="height:50px;" />
            </td>
        </tr>
        -->
</table>

<div class="px-2">
            <?php
            if($act=="add"){$save_label = "Save Product";}
            if($act=="edit"){$save_label = "Save Edit";}
			if($act=="delete"){$save_label = "Delete Product";}
			?>
            <input type="button" value="<?php echo $save_label?>" class="btn btn-success btn-sm mr-3" onclick="confirm_save('save')">
            <input type="button" value="Back To Index" class="btn btn-dark btn-sm" onclick="window.location.href='index'">
			<input type="hidden" id="act" name="act" value="<?php echo $act?>">
		 	<input type="hidden" id="autoid" name="autoid" value="<?php echo $autoid?>">

</div>
  
