<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 Pengiriman</h4>
				</div>
					<div class="modal-body">
					<table style="width: 100%; background-color: white;">
					<tr>
						<th width="20%">DATE KIRIM</th>
						<td><input type="text" class="input-tanggal" id="date_kirim" name="date_kirim" data-date-format="dd-mm-yy">
							<p style="color:red" id="error_date_kirim"></p></td>
					</tr>
					<tr>
						<th>CUSTOMER</th>
						<td>
						<select name="customer" id="customer">
								<option  selected></option>
								<?php 
								include"koneksi.php";
								$data = mysqli_query ($koneksi, " select 
														CustomerID,
														CustomerName
												  from 
												  customer 
												  order by CustomerID DESC");
								while ($row = mysqli_fetch_array ($data))
								{
								?>
								<option value="<?php echo  $row['CustomerID']; ?>" ><?php echo $row['CustomerName']; ?></option>
								<?php } ?>
							</select>
							<p style="color:red" id="error_mesin"></p>
						</td>
					</tr>
					<tr id="container1"></tr>
					<tr>
						<th style="margin-top: 15px;">EKSPEDISI</th>
						<td style="margin-top: 15px;">
						<select name="ekspedisi" id="ekspedisi">
								<option  selected></option>
								<?php 
								include"koneksi.php";
								$data3 = mysqli_query ($koneksi, " select 
														EkspedisiID,
														Ekspedisi
												  from 
												  ekspedisi 
												  order by EkspedisiID DESC");
								while ($row3 = mysqli_fetch_array ($data3))
								{
								?>
								<option value="<?php echo  $row3['EkspedisiID']; ?>" ><?php echo $row3['Ekspedisi']; ?></option>
								<?php } ?>
							</select>
							<p style="color:red" id="error_ekspedisi"></p>
						</td>
					</tr>
					<tr id="container3"></tr>
					<tr>
						<th>QUANTITY</th>
						<td>
							<input id="qty" name="qty">
							<p style="color:red" id="error_qty"></p>
						</td>
					</tr>
					<tr>
						<th>NOMOR DN</th>
						<td>
							<input id="dn" name="dn">
							<p style="color:red" id="error_dn"></p>
						</td>
					</tr>
					<tr>
						<th>DN SAMPLE</th>
						<th><input type="checkbox" class="form-check-input" name="sample" id="sample" value="1"></th>
					</tr>
					</table>
						
					</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 Pengiriman</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> 