<div id="modal-tambah" class="modal fade" role="dialog">
		<div class="modal-dialog modal-lg">
			<div class="modal-content">
				<form role="form" id="form-tambah" method="post" action="input.php" autocomplete="off">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal">&times;</button>
					<h4 class="modal-title">Tambah Data Purchase Order</h4>
				</div>
					<div class="modal-body">
						<div class="form-group">
							<label>Nomor PO</label>
							<input class="form-control" id="no_po" name="no_po">
							<p style="color:red" id="error_no_po"></p>
						</div>
						<div class="form-group">
							<label>Customer</label>
							<select class="form-control" id="cust_id" name="cust_id">
								<option selected></option>
								<?php 
								include"koneksi.php";
								$data = mysqli_query ($koneksi, " select 
														CustomerID,
														CustomerNo,
														CustomerName,
														Kota
												  from 
												  customer 
												  order by CustomerID DESC");
								while ($row = mysqli_fetch_array ($data))
								{
								?>
								<option value="<?php echo  $row['CustomerID']; ?>"><?php echo $row['CustomerNo']; ?> | <?php echo $row['CustomerName']; ?> | <?php echo $row['Kota']; ?> </option>
								<?php } ?>
							</select>
							<p style="color:red" id="error_cust_id"></p>
						</div>
						<div class="form-group">
							<label>Tanggal PO</label>
							<input type="text" class="input-tanggal form-control" id="tgl_po" name="tgl_po" data-date-format="dd-mm-yy" placeholder="Masukkan Tanggal Datang..">
							<p style="color:red" id="error_tgl_po"></p>
						</div>							
										
					</div>
					
					<div class="modal-footer">
						<button type="button" class="btn btn-info" data-dismiss="modal">Batal</button>
						<button type="submit" class="btn btn-primary" >Simpan</button>
					</div>
				</form>		
			</div>
		</div>
	</div>
	
	
	<div id="modal-edit" class="modal fade" role="dialog">
		<div class="modal-dialog modal-lg">
			<div class="modal-content">
				<form role="form" id="form-edit" method="post" action="input.php" autocomplete="off">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal">&times;</button>
					<h4 class="modal-title">Edit Data Purchase Order</h4>
				</div>
					<div class="modal-body">
						<div id="data-edit">
						
						</div>				
					</div>
					
					<div class="modal-footer">
						<button type="button" class="btn btn-info" data-dismiss="modal">Batal</button>
						<button type="submit" class="btn btn-primary" >Simpan</button>
					</div>
				</form>		
			</div>
		</div>
	</div> 



