
<?php
	include "../koneksi.php";

	$data = mysqli_query ($koneksi, " select
											deliverytbl.Del_ID,
											deliverytbl.Expedisi,
											deliverytbl.Cont,
											deliverytbl.Seal,
											detail_po.ProductID
										from 
										deliverytbl
										INNER JOIN detail_po
										ON deliverytbl.DetailPO_ID=detail_po.DetailPO_ID		
										where deliverytbl.Del_ID = $_POST[id]");
	$row = mysqli_fetch_array ($data);
	
?>
<form role="form" id="form-tambah-cont" method="post" action="rinciantambah.php">
	<div class="form-group">
		<label>Nama Ekspedisi</label>
		<input type="hidden" name="del_id" value="<?php echo $row['Del_ID'] ; ?>">
		<input type="hidden" name="prod_id" value="<?php echo $row['ProductID'] ; ?>">
		<input class="form-control" id="expedisi" name="expedisi" value="<?php echo $row['Expedisi'] ; ?>">
		<p style="color:red" id="error_edit_expedisi"></p>
	</div>
	<div class="form-group">
		<label>Nomor Container</label>
		<input class="form-control" id="cont" name="cont" value="<?php echo $row['Cont'] ; ?>">
		<p style="color:red" id="error_edit_cont"></p>
	</div>						
	<div class="form-group">
		<label>Nomor SEAL</label>
		<input class="form-control" id="seal" name="seal" value="<?php echo $row['Seal'] ; ?>">
		<p style="color:red" id="error_edit_seal"></p>
	</div>								
	
</form>
