add simak to git repo
This commit is contained in:
42
app/pencarian/modal_revdat.php
Normal file
42
app/pencarian/modal_revdat.php
Normal file
@@ -0,0 +1,42 @@
|
||||
<?php
|
||||
include('../koneksi.php');
|
||||
$vr_pelunasan_id=$_POST['vr_pelunasan_id'];
|
||||
?>
|
||||
<script>
|
||||
$("#tabel_data_revisi").DataTable({"stateSave": false,"paging": false,"lengthChange": false,"searching": false,"ordering": false,"info": false,"autoWidth": false});
|
||||
</script>
|
||||
<input type="hidden" id="vr_pelunasan_id_rev" value="<?php echo $vr_pelunasan_id; ?>">
|
||||
<form id="form_revisi">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div id="tabelrev">
|
||||
<table id="tabel_data_revisi" class="table table-striped table-condensed table-bordered" style="font-size:13px" cellpadding="1">
|
||||
<thead style="color:grey;font-family:InterSB">
|
||||
<tr align="center">
|
||||
<td width="40px;">No</td>
|
||||
<td width="120px;">Tanggal Revisi</td>
|
||||
<td>Keterangan Revisi</td>
|
||||
<td width="200px;">Disampaikan Oleh</td>
|
||||
<td width="100px;">Status</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody style="color:black;font-family:Inter">
|
||||
<?php
|
||||
$no=1;
|
||||
$d=pg_query("SELECT tgl_revisi,ket,pemeriksa,status,id FROM vr_revisi WHERE vr_pelunasan_id=$vr_pelunasan_id ORDER BY id DESC");
|
||||
while($r=pg_fetch_array($d)) {
|
||||
?>
|
||||
<tr>
|
||||
<td width="40px;" align="center" class="kiri"><?php echo $no; ?></td>
|
||||
<td width="80px;" align="center"><?php echo date('d-m-Y',strtotime($r['tgl_revisi']));?></td>
|
||||
<td><?php echo $r['ket']; ?></td>
|
||||
<td width="130px;" align="center"><?php echo $r['pemeriksa']; ?></td>
|
||||
<td width="100px;" align="center" class="kanan"><?php echo $r['status']; ?></td>
|
||||
</tr>
|
||||
<?php $no++;} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
Reference in New Issue
Block a user