[ Mini Kiebo ]
Server: Windows NT AKFAR_SERVER 10.0 build 26200 (Windows 10) AMD64
Path:
D:
/
xampp
/
htdocs
/
simaku
/
application-old
/
views
/
spp
/
[
Home
]
File: verifikasi_2.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">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_spp->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>'; $pisah = explode('/',$row->no_spp); 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>'; if ($row->verifikasi2 != '' ){ echo '<td align="left">'.anchor('spp/lihatspm/'.$pecah[0].'spm'.$pisah[2],'Disetujui').' | '.anchor('spp/verifikasikan2n/'.$pisah[2],'Ditolak',array('onclick'=>"return confirm('Anda MENOLAK melakukan verifikasi untuk SPM ini?')")); echo ' | '.anchor('spp/batal_verifikasikan2/'.$pisah[2],'Batal',array('onclick'=>"return confirm('Anda BATAL melakukan verifikasi untuk SPM ini?')")); echo '</td>'; }elseif($row->verifikasi2 == '' AND $row->verifikasi1 == 'Disetujui'){ echo '<td align="left">'.anchor('spp/lihatspm/'.$pecah[0].'spm'.$pisah[2],'Otorisasi'); echo '</td>'; }else{ echo '<td align="left"></td>'; } echo '</tr>'; $no++; } echo '</table><hr>'; } if ($data_spp1->num_rows() > 0){ echo '<p class="lead">Daftar SPM</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">Status SPM</th>'; echo '<th align="center" colspan="2">Status Approval</th>'; echo '<th align="center" rowspan="2">Proses</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>'; $pisah = explode('/',$row->no_spp); 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>'; if ($row->verifikasi2 == 'Disetujui'){ echo '<td>'.anchor('spp/cetak/'.$pecah[0].'spm'.$pisah[2],'Cetak').'</td>'; }else{ echo '<td></td>'; } echo '</tr>'; $no++; } } ?> </table>