-
Notifications
You must be signed in to change notification settings - Fork 0
/
gp_category_modal.php
35 lines (34 loc) · 1.44 KB
/
gp_category_modal.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
<div class="modal fade" id="gp_category" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button>
<h4 class="modal-title" id="myModalLabel">Procurement_mode</h4>
</div>
<div class="modal-body">
<form role="form" method="GET" action="gp_page.php">
<div class="form-group">
<input type="hidden" name="page" value="gp_category">
<select name="agency_id" class="form-control" required>
<?php foreach($system->agency_list() as $row){ ?>
<option value="<?php echo $row['org_id']; ?>"><?php echo $row['org_name']; ?></option>
<?php } ?>
</select>
</div>
<div class="form-group">
<label>Year</label>
<select name="year" class="form-control" required>
<?php foreach($system->year_list() as $row){ ?>
<option><?php echo $row['year']; ?></option>
<?php } ?>
</select>
</div>
<button type="submit" class="btn btn-success"><i class="fa fa-search"></i> Search</button>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><i class="fa fa-times"></i> Close</button>
</div>
</div>
</div>
</div>