-
Notifications
You must be signed in to change notification settings - Fork 0
/
transaksi.php
48 lines (45 loc) · 2.08 KB
/
transaksi.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Transaksi</h3>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Menu Transaksi</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<br />
<form data-parsley-validate class="form-horizontal form-label-left" action="cari_transaksi.php" method="post">
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="alamat">Cari ID Pelanggan</span>
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<select id="search_pelanggan" name="id_pelanggan" class="form-control">
<?php $query = mysqli_query($koneksi, "SELECT id, nama FROM pelanggan"); ?>
<?php while ($row = mysqli_fetch_assoc($query)) : ?>
<option value="<?php echo $row['id'] ?>"><?php echo $row['id'].' | '.$row['nama']; ?></option>
<?php endwhile; ?>
</select>
</div>
</div>
<div class="ln_solid"></div>
<div class="form-group">
<div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
<input class="btn btn-lg btn-primary btn-block" type="submit" value="cari" name="button">
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->