first commit

This commit is contained in:
2026-10-29 13:34:31 +07:00
commit 45e4595c57
255 changed files with 35457 additions and 0 deletions
+45
View File
@@ -0,0 +1,45 @@
/*******************************************************************
PHP Class : /Controller/Report/Beli/AnalisaController
Description : Laporan Analisa Pembelian
Created By : Siau Pheng ([email protected]).
Created Date : August 4th, 2013.
Last Modified : October 3rd, 2026.
(c) 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoBeliAnalisaJS = {
PHP: '',
KODE: '',
index: function(){
$('#butCetak').click(() => this.proses_print(true));
$('#butPreview').click(() => this.proses_print());
$('#butExcel').click(() => this.proses_dload());
},
proses_print: function(prt){
var cetak = new Printer(this.PHP + '/print');
cetak.add_param("Tipe");
cetak.add_param("CabID");
cetak.add_param("SupID");
cetak.add_param("Grup_InvID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
if (prt) cetak.doPrint(); else cetak.doPreview();
},
proses_dload: function(){
var dload = new Download(this.PHP + '/excel');
dload.add_param("Tipe");
dload.add_param("CabID");
dload.add_param("SupID");
dload.add_param("Grup_InvID");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
}
};