add simak to git repo
This commit is contained in:
23
app/master/anggaran/modal_set_pejabat.php
Normal file
23
app/master/anggaran/modal_set_pejabat.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php
|
||||
include ('../../koneksi.php');
|
||||
$id=$_POST['id'];
|
||||
?>
|
||||
|
||||
|
||||
<form role="form">
|
||||
<div class="form-group">
|
||||
<label for="exampleInputEmail1">Pejabat Pengadaan</label>
|
||||
<input type="hidden" value="<?php echo $id; ?>" id="sub_kegiatan_id">
|
||||
<select class="form-control" id="pejabat_pengadaan_id">
|
||||
<option></option>
|
||||
<?php
|
||||
$d=pg_query("SELECT g.*,p.nama FROM pejabat_pengadaan g INNER JOIN data_pegawai p ON (p.id=g.data_pegawai_id)");
|
||||
while($r=pg_fetch_array($d)) {
|
||||
?>
|
||||
<option value="<?php echo $r[0]; ?>"><?php echo $r['nama'].' - '.$r['inisial']; ?></option>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user