Tahun Anggaran

session->flashdata('success')) { echo '
'.$this->session->flashdata('success').'
'; }elseif ($this->session->flashdata('error')) { echo '
'.$this->session->flashdata('error').'
'; } ?> result() as $row_det_real_1) { echo ""; echo ""; echo ""; $sql_rapb = "select * from anggaran_detail2 as ad2 join agr_satuan as ast ON ast.id_satuan = ad2.id_satuan join st_ajuan as sta ON sta.id_st_ajuan = ad2.stat_realisasi where ad2.sub_agr = '$id_sub' and ad2.id_mtagr = '$row_det_real_1->no_mtagr' and ad2.id_thn_akad = '$id_thn_akad' and ad2.kdfakultas = '$kd_fakultas' "; $query_rapb = $this->db->query($sql_rapb); if($query_rapb->result() == NULL){ echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; }elseif($query_rapb->num_rows() > 1){ echo ""; echo ""; // foreach($query_rapb->result() as $row_rapb) { $besaran = number_format($row_rapb->besaran,0,',','.'); $total = number_format($row_rapb->total,0,',','.'); echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; echo ""; if($row_rapb->stat_realisasi == '3' || $row_rapb->stat_realisasi=='4') { echo ""; echo ""; //anchor('anggaran/hapus_realisasi_p/'.$id_sub.'/'.$id_ma.'/'.$row_rapb->id_detail,'',array('onclick'=>"return confirm('Apakah anda ingin menghapus usulan ini ?')")).""; }else{ echo ""; echo ""; }} }else{ foreach($query_rapb->result() as $row_rapb) { $besaran = number_format($row_rapb->besaran,0,',','.'); $total = number_format($row_rapb->total,0,',','.'); echo ""; echo ""; echo ""; echo ""; echo ""; if($row_rapb->stat_realisasi == '3' || $row_rapb->stat_realisasi == '4' || $row_rapb->stat_realisasi == '8' || $row_rapb->stat_realisasi=='9') { echo ""; anchor('anggaran/proses_realisasi_p/'.$id_sub.'/'.$id_ma.'/'.$row_rapb->id_detail,'',array('onclick'=>"return confirm('Are you sure?')")).""; //anchor('anggaran/hapus_realisasi_p/'.$id_sub.'/'.$id_ma.'/'.$row_rapb->id_detail,'',array('onclick'=>"return confirm('Are you sure?')")).""; }else{ echo ""; echo ""; } } } echo ""; } ?> result() as $row_total) { $total_detagr_1 = number_format($row_total->total_detagr_1,0,',','.'); echo ""; echo ""; echo ""; } ?>
KODE M.A. URAIAN
JUMLAH SATUAN VOLUME BESARAN TOTAL STATUS AKSI
".$row_det_real_1->no_mtagr."".$row_det_real_1->nama_mtagr."
-".$row_rapb->ket_agr."".$row_rapb->jumlah."".$row_rapb->nama_satuan."".$row_rapb->volume."".$besaran."".$total."".$row_rapb->stat_ajuan."". anchor('anggaran/edit_realisasi_p/'.$id_sub.'/'.$id_ma.'/'.$row_rapb->id_detail,'')."

". anchor('anggaran/proses_realisasi_p/'.$id_sub.'/'.$kd_fakultas.'/'.$row_rapb->id_detail,'')."
".$row_rapb->stat_ajuan."".$row_rapb->jumlah."".$row_rapb->nama_satuan."".$row_rapb->volume."".$besaran."".$total."".$row_rapb->stat_ajuan."".$row_rapb->stat_ajuan."
TOTAL ".$total_detagr_1."
Kembali',array('class'=>'btn btn-secondary'));?>