upgrade mengikuti dalev

This commit is contained in:
2026-05-24 15:56:42 +07:00
parent 2884ce69f1
commit 3837516de1
65 changed files with 1083 additions and 8518 deletions
+43
View File
@@ -0,0 +1,43 @@
/*******************************************************************
App. Name : SISTEM INFORMASI MONITORING DAN EVALUASI
Module : /apps/js/hasil/real.js
Desc. : JS - Laporan Realisasi Bulanan Per OPD
Created By : Siau Pheng ([email protected]).
Created Date : March 20th, 2012.
Last Modified : February 15th, 2023.
(c) 2012 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var HasilRealJS = {
PHP: '',
KODE: '',
loading: function(){
$('#butPrint').click(function(){this.proses_print('print');}.bind(this));
$('#butPreview').click(function(){this.proses_print('preview');}.bind(this));
$('#butExcel').click(function(){this.proses_dload();}.bind(this));
},
proses_print: function(prt){
var cetak = new cPRINTER(this.PHP);
cetak.set_zoom(80);
cetak.add_param("data", "print");
cetak.add_param("Tahun");
cetak.add_param("Bulan");
cetak.add_param("OPDID");
if (prt=='print') { cetak.doPrint(); } else cetak.doPreview();
},
proses_dload: function(){
var dload = new cEXPORT(this.PHP);
dload.add_param("data", "export");
dload.add_param("Tahun");
dload.add_param("Bulan");
dload.add_param("OPDID");
dload.download();
}
};