<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 Customers</h4>
				</div>
					<div class="modal-body">
						<div class="form-group">
							<label>Nama Customer</label>
							<input class="form-control" id="nama_cust" name="nama_cust">
							<p style="color:red" id="error_nama_cust"></p>
						</div>
						<div class="form-group">
							<label>Alamat</label>
							<textarea class="form-control" id="alamat" name="alamat" rows="3"></textarea>
							<p style="color:red" id="error_alamat"></p>
						</div>
						<div class="form-group">
							<label>Nomor Customer</label>
							<input class="form-control" id="no_cust" name="no_cust">
							<p style="color:red" id="error_no_cust"></p>
						</div>
						<div class="form-group">
							<label>Sales</label>
							<input class="form-control" id="sales" name="sales">
							<p style="color:red" id="error_sales"></p>
						</div>
						<div class="form-group">
							<label>TOD</label>
							<input id="tod" name="tod" class="form-control" >
							<p style="color:red" id="error_tod"></p>
						</div>							
						<div class="form-group">
							<label>Kota</label>
							<input class="form-control" id="kota" name="kota">
							<p style="color:red" id="error_kota"></p>
						</div>
						<div class="form-group">
							<label>Head Office</label>
							<select class="form-control" id="ho_id" name="ho_id">
								<option selected></option>
								<?php 
								include"koneksi.php";
								$data = mysqli_query ($koneksi, " select 
														HO_ID,
														HO_Customer,
														No_HO,
														Alamat_HO
												  from 
												  ho_tbl 
												  order by HO_ID DESC");
								while ($row = mysqli_fetch_array ($data))
								{
								?>
								<option value="<?php echo  $row['HO_ID']; ?>"><?php echo $row['HO_Customer']; ?> | <?php echo $row['No_HO']; ?> | <?php echo $row['Alamat_HO']; ?> </option>
								<?php } ?>
							</select>
							<p style="color:red" id="error_ho_id"></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 Customer</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> 



