add simak to git repo
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
include('../koneksi.php');
|
||||
$pekerjaan_id=$_POST['pekerjaan_id'];
|
||||
?>
|
||||
<script>
|
||||
$('button[name="delete_adendum"]').popover();
|
||||
$("#tabel_data_adendum").DataTable({"stateSave": true,"paging": true,"lengthChange": true,"searching": true,"ordering": false,"info": true,"autoWidth": false});
|
||||
</script>
|
||||
<input type="hidden" id="pekerjaan_id_adn" value="<?php echo $pekerjaan_id; ?>">
|
||||
<form id="form_adendum">
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div id="tabeladn">
|
||||
<table id="tabel_data_adendum" 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="20px;">No</td>
|
||||
<td width="130px;">No SP/SPK/Kwitansi</td>
|
||||
<td width="100px;">Berlaku</td>
|
||||
<td width="230px;">Kegiatan Pengadaan</td>
|
||||
<td width="100px;">Nilai</td>
|
||||
<td width="80px;">Tgl Edit</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody style="color:black;font-family:Inter">
|
||||
<?php
|
||||
$no=1;
|
||||
$d=pg_query("SELECT id,no_sp,tgl_mulai_sp,tgl_selesai_sp,kegiatan_pengadaan,nilai_sp,adendum_pekerjaan_id,status_setor,tgl_input FROM pekerjaan WHERE status_setor='ADENDUM' AND adendum_pekerjaan_id=$pekerjaan_id");
|
||||
while($r=pg_fetch_array($d)) {
|
||||
?>
|
||||
<tr>
|
||||
<td width="40px;" align="center" class="kiri"><?php echo $no; ?></td>
|
||||
<td align="center"><?php echo $r['no_sp']; ?></td>
|
||||
<td align="center"><?php
|
||||
if (($r['tgl_mulai_sp']==null) || ($r['tgl_mulai_sp']=='1970-01-01 00:00:00')) {} else {
|
||||
echo date('d-m-Y',strtotime($r['tgl_mulai_sp'])).' s/d '.date('d-m-Y',strtotime($r['tgl_selesai_sp'])); }
|
||||
?></td>
|
||||
<td width="200px;"><?php echo $r['kegiatan_pengadaan']; ?></td>
|
||||
<td width="100px;" align="right"><?php echo number_format($r['nilai_sp'],0,',','.'); ?></td>
|
||||
<td align="center" class="kanan"><?php echo date('d-m-Y',strtotime($r['tgl_input']));?></td>
|
||||
</tr>
|
||||
<?php $no++;} ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user