Tahun Anggaran
KODE M.A. | URAIAN | = $sub_judul;?> | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JUMLAH | SATUAN | VOLUME | BESARAN | TOTAL | STATUS | AKSI | ||||||||||||
".$row_det_real_1->no_mtagr." | "; echo "".$row_det_real_1->nama_mtagr." | "; $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 " | |||||||||
- | "; echo "".$row_rapb->ket_agr." | "; echo "".$row_rapb->jumlah." | "; echo "".$row_rapb->nama_satuan." | "; echo "".$row_rapb->volume." | "; echo "".$besaran." | "; echo "".$total." | "; if($row_rapb->stat_realisasi == '3' || $row_rapb->stat_realisasi=='4') { echo "".$row_rapb->stat_ajuan." | "; echo "".
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,'')." | ";
//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 "".$row_rapb->stat_ajuan." | "; echo ""; }} }else{ foreach($query_rapb->result() as $row_rapb) { $besaran = number_format($row_rapb->besaran,0,',','.'); $total = number_format($row_rapb->total,0,',','.'); echo " | ".$row_rapb->jumlah." | "; echo "".$row_rapb->nama_satuan." | "; echo "".$row_rapb->volume." | "; echo "".$besaran." | "; echo "".$total." | "; if($row_rapb->stat_realisasi == '3' || $row_rapb->stat_realisasi == '4' || $row_rapb->stat_realisasi == '8' || $row_rapb->stat_realisasi=='9') { echo "".$row_rapb->stat_ajuan." | "; 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 "".$row_rapb->stat_ajuan." | "; echo ""; } } } echo " |
TOTAL | result() as $row_total) { $total_detagr_1 = number_format($row_total->total_detagr_1,0,',','.'); echo "".$total_detagr_1." | "; echo ""; echo " | "; } ?> |