[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
BACKUP C 19-12
/
XAMPP74
/
htdocs
/
simaku
/
application-old
/
views
/
spp
/
[
Home
]
File: verifikasi_1.php
<?php echo ! empty($message) ? '<p class="text-info">' . $message . '</p>': ''; echo ! empty($h2_title) ? '<div class="well alert "><p class="pull-left"><strong>'.$h2_title.'</strong></p></div>': ''; $flashmessage = $this->session->flashdata('message'); echo ! empty($flashmessage) ? '<p class="message">' . $flashmessage . '</p>': ''; $oto1 = $this->Munit->cari_unit($info1->id_unit)->row(); $oto2 = $this->Munit->cari_unit($info2->id_unit)->row(); if ($data_spp->num_rows() > 0){ echo '<p class="lead">Daftar SPP</p>'; echo '<table width="100%" class="table table-bordered table-striped" style="font-size:90%">'; echo '<tr>'; echo '<th align="center" rowspan="2">No</th>'; echo '<th align="center" rowspan="2">No. SPM</th>'; echo '<th align="center" rowspan="2">No. SPP</th>'; echo '<th align="center" rowspan="2">Tgl. Penyajian</th>'; echo '<th align="center" rowspan="2">Otorisasi Pimpinan</th>'; echo '<th align="center" rowspan="2">Status SPP</th>'; echo '<th align="center" colspan="2">Status Approval</th>'; echo '<th align="center" rowspan="2">Menu</th>'; echo '</tr>'; echo '<tr>'; echo '<th align="center" >'.strtoupper($oto1->nama).'</th>'; echo '<th align="center">'.strtoupper($oto2->nama).'</th>'; echo '</tr>'; $no = 1; foreach($data_spp->result() as $row){ $alasan = $this->Mspp->cari_alasan($row->id_spp); echo '<tr>'; echo '<td align="center">'.$no.'</td>'; $pecah = explode('/',$row->no_spm); $pisah = explode('/',$row->no_spp); echo '<td align="center">'.$row->no_spm.'</td>'; echo '<td align="center">'.$row->no_spp.'</td>'; echo '<td align="center">'.date('d-m-Y',strtotime($row->tgl_saji)).'</td>'; echo '<td align="center">'.$row->otorisasi.' di-otorisasi</td>'; echo '<td align="center">'.$row->status_spp.'</td>'; echo '<td align="center">'.$row->verifikasi1.'</td>'; if ($row->verifikasi2=='Ditolak' ){ echo '<td align="center">'.$row->verifikasi2.' <a href="#myModal4'.$no.'" role="button" class="btn btn-mini" data-toggle="modal" title="Klik untuk melihat Alasan Pembatalan" ><i class="icon-info-sign"></i></a> <div id="myModal4'.$no.'" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> <h3 id="myModalLabel">Alasan Penolakan</h3> </div> <div class="modal-body"> <p>'.$alasan.'</p> </div> <div class="modal-footer"> <button class="btn" data-dismiss="modal" aria-hidden="true">OK</button> </div> </div></td>'; }else{ echo '<td align="center">'.$row->verifikasi2.'</td>'; } echo '<td align="center">'; if ($row->status_spp == 'Disetujui' AND $row->verifikasi2 == ''AND $row->verifikasi1 == ''){ echo anchor('spp/lihatspm/'.$pecah[0].'spm'.$pisah[2],'Otorisasi'); }elseif ($row->status_spp == 'Disetujui' AND $row->verifikasi2 == 'Ditolak' AND $row->verifikasi2 != 'Ditolak'){ echo anchor('spp/batal_verifikasikan1/'.$pecah[0].'spm'.$pisah[2],'Batal',array('onclick'=>"return confirm('Anda BATAL melakukan verifikasi untuk SPM ini?')")); } echo '</td></tr>'; $no++; } echo '</table><hr>'; } if ($data_spp1->num_rows() > 0){ echo '<p class="lead">Daftar SPM</p>'; echo '<table class="table table-bordered table-striped" style="font-size:90%">'; echo '<tr>'; echo '<th align="center" rowspan="2">No</th>'; echo '<th align="center" rowspan="2">No. SPM</th>'; echo '<th align="center" rowspan="2">No. SPP</th>'; echo '<th align="center" rowspan="2">Tgl. Penyajian</th>'; echo '<th align="center" rowspan="2">Status SPM</th>'; echo '<th align="center" colspan="2">Status Approval</th>'; echo '<th align="center" rowspan="2">Menu</th>'; echo '</tr>'; echo '<tr>'; echo '<th align="center" >'.strtoupper($oto1->nama).'</th>'; echo '<th align="center">'.strtoupper($oto2->nama).'</th>'; echo '</tr>'; $no = 1; foreach($data_spp1->result() as $row){ echo '<tr>'; echo '<td align="center">'.$no.'</td>'; $pecah = explode('/',$row->no_spm); $pisah = explode('/',$row->no_spp); echo '<td align="center">'.$row->no_spm.'</td>'; echo '<td align="center">'.$row->no_spp.'</td>'; echo '<td align="center">'.date('d-m-Y',strtotime($row->tgl_saji)).'</td>'; echo '<td align="center">'.$row->status_spm.'</td>'; echo '<td align="center">'.$row->verifikasi1.'</td>'; echo '<td align="center">'.$row->verifikasi2.'</td>'; echo '<td align="center">'.anchor('spp/cetak/'.$pecah[0].'spm'.$pisah[2],'Cetak').'</td>'; echo '</tr>'; $no++; } } ?> </table>