// exit; $hit = 2; $flag = ''; $TypeRprtr = 'neraca'; $Info = ''; $exeTempTable = $REPORT->TempTable($hit,$flag,$TypeRprtr,$Info,$tglawalperolehan,$tglakhirperolehan, $skpd_id); // exit; $resultParamGol = $REPORT->ceckneraca($skpd_id,$tglawalperolehan,$tglakhirperolehan); // pr($resultParamGol); // exit; $serviceJson=json_encode($resultParamGol); //retrieve html $html=$REPORT->retrieve_html_neraca($resultParamGol,$gambar,$skpd_id,$tglawalperolehan,$tglakhirperolehan,$tahun_neraca); /*$count = count($html); for ($i = 0; $i < $count; $i++) { echo $html[$i]; } exit;*/ if($tipe=="3"){ echo $serviceJson; exit; }elseif($tipe!="2"){ $REPORT->show_status_download_kib(); $mpdf=new mPDF('','','','',15,15,16,16,9,9,'L'); $mpdf->AddPage('L','','','','',15,15,16,16,9,9); $mpdf->setFooter('{PAGENO}') ;