<script>
function transfer(id){
var url = '<?= site_url('site/transfer')?>/'+id;
document.location = url ;
}
function hapus(id){
//alert(id)
var idx = id;
var r = confirm('anda yakin hapus data');
if(r==true){
var url = '<?=site_url('site/delete')?>/'+idx;
//alert(url);
document.location = url;
}else{
alert('batal hapus');
}
}
function edit(id){
var idx = id;
var url = '<?= site_url('site/edit');?>/'+idx;
alert(url);
document.location = url ;
}
</script>
<table>
<tr>
<td>No</td>
<td>Nama</td>
<td>Rekening</td>
<td>Transfer</td>
<td>Tanggal</td>
<td>Jam</td>
</tr>
<?php
$no=1;
foreach ($row as $result) :
?>
<tr>
<td><?= $no.'.' ?></td>
<td><?= $result['nama_kar'] ?></td>
<td><?= $result['no_rek'] ?></td>
<td><?= 'Rp.'.number_format($result['gaji_utama'], 0, ", ", "." ); ?></td>
<td><?= $result['tgl_transfer'] ?></td>
<td><?= $result['jam_transfer'] ?></td>
</tr>
<?php
$no++;
endforeach;
?>
</table>
Langganan:
Posting Komentar (Atom)
0 Response to "view content daftar_gaji.php"
Posting Komentar