96 lines
3.6 KiB
PHP
96 lines
3.6 KiB
PHP
<?php
|
|
//open form
|
|
echo form_open(base_url('formulir'),' class="form-horizontal"');
|
|
?>
|
|
|
|
<p class = "text-left">
|
|
<button type = "button" class="btn btn-info" data-toggle="modal" data-target="#modal-default">
|
|
<i class = "fa fa-plus"></i> Tambah
|
|
</button>
|
|
<!-- <a class = "btn btn-primary" href="<?php echo base_url('formulir/export') ?>" onclick="return confirm('Yakin ingin mengexport rekap berkas ke excel ?')"><i class="fa fa-file-excel"></i> Export Excel</a> -->
|
|
<a href = "<?php echo base_url('dashboard') ?>" class="btn btn-secondary" data-dismiss="modal"><i class="fa fa-times">
|
|
</i> Kembali</a>
|
|
</p>
|
|
|
|
<?php
|
|
//panggil form tambah
|
|
include('tambah.php');
|
|
//closing form
|
|
echo form_close();
|
|
?>
|
|
|
|
<table class = "table table-bordered table-striped table-sm" id="example7">
|
|
<thead>
|
|
<tr>
|
|
<th width = "3%">NO</th>
|
|
<th width = "8%">NO.PEN</th>
|
|
<th width = "20%">NAMA LENGKAP</th>
|
|
<th width = "20%">JENIS KELAMIN</th>
|
|
<th width = "20%">SEKOLAH ASAL<span class="hide-on-export">/KOMP/ GEL</span></th>
|
|
<th width = "20%">KOMP</th>
|
|
<th width = "20%">GEL</th>
|
|
<th width = "8%">FORM</th>
|
|
<th width = "8%">AKTE</th>
|
|
<th width = "8%">KK</th>
|
|
<th width = "8%">KTP</th>
|
|
<th width = "8%">NISN</th>
|
|
<th width = "8%">BAIK & NARKOBA</th>
|
|
<th width = "8%">KET. YATIM</th>
|
|
<th width = "8%">KIP</th>
|
|
<th width = "8%">SLIP</th>
|
|
<th width = "8%">SKL</th>
|
|
<th width = "8%">IJAZAH</th>
|
|
<th width = "20%">UPDATE</th>
|
|
<th>ACTION</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($formulir as $key => $formulir) { ?>
|
|
|
|
<tr>
|
|
<td><?php echo $key+1; ?></td>
|
|
<td><b><?php echo $formulir->no_pendaftaran ?></b></td>
|
|
<td><?php echo $formulir->nama_lengkap ?>
|
|
<br><small class="hide-on-export"><?php echo $formulir->jkelamin ?></small>
|
|
</td>
|
|
<td><?php echo $formulir->jkelamin ?></td>
|
|
<td><small><?php echo $formulir->sekolah_asal ?></small>
|
|
<br><small class="hide-on-export">- <?php echo $formulir->kd_kompetensi ?> -</small>
|
|
<br><small class="hide-on-export"><?php echo $formulir->gelombang ?></small>
|
|
</td>
|
|
<td><?php echo $formulir->kd_kompetensi ?></td>
|
|
<td><?php echo $formulir->gelombang ?></td>
|
|
<td><?php echo $formulir->shun ?></td>
|
|
<td><?php echo $formulir->akte ?></td>
|
|
<td><?php echo $formulir->kk ?></td>
|
|
<td><?php echo $formulir->ktp ?></td>
|
|
<td><?php echo $formulir->nisn ?></td>
|
|
<td><?php echo $formulir->baik_narkoba ?></td>
|
|
<td><?php echo $formulir->ket_yatim ?></td>
|
|
<td><?php echo $formulir->kip ?></td>
|
|
<td><?php echo $formulir->slip_btn ?></td>
|
|
<td><?php echo $formulir->skl ?></td>
|
|
<td><?php echo $formulir->ijazah ?></td>
|
|
<td><?php echo date('d-m-Y H:i:s', strtotime($formulir->tgl_update)) ?></td>
|
|
<td>
|
|
<div class = "btn-group">
|
|
<a href = "<?php echo base_url('formulir/edit/'.$formulir->no_pendaftaran) ?>" class="btn btn-success btn-sm">
|
|
<i class = "fa fa-edit"></i>
|
|
</a>
|
|
|
|
<a href = "<?php echo base_url('formulir/cetakberkas/'.$formulir->no_pendaftaran) ?>" target="_blank" class="btn btn-warning btn-sm">
|
|
<i class = "fa fa-print"></i>
|
|
</a>
|
|
|
|
<?php if($this->session->userdata('level')=="Administrator") { ?>
|
|
<a href = "<?php echo base_url('formulir/delete/'.$formulir->no_pendaftaran) ?>" class="btn btn-danger btn-sm" onclick="return confirm('Yakin ingin menghapus data penyerahan berkas <?php echo $formulir->nama_lengkap ?> [ <?php echo $formulir->no_pendaftaran ?> ] ..?')">
|
|
<i class = "fa fa-trash"></i>
|
|
</a>
|
|
<?php } ?>
|
|
</div>
|
|
</td>
|
|
</tr>
|
|
|
|
<?php } ?>
|
|
</tbody>
|
|
</table>
|