first commit

This commit is contained in:
2026-01-22 11:06:19 +07:00
commit c877faf5a0
168 changed files with 19843 additions and 0 deletions
+42
View File
@@ -0,0 +1,42 @@
/*******************************************************************
App. Name : INVENTORY AND SALES SYSTEMS
Module : /apps/js/repo/rekap_modal.js
Desc. : JS - Laporan Rekap Modal
Created By : Siau Pheng ([email protected]).
Created Date : January 19th, 2013.
Last Modified : December 13th, 2025.
(c) 2013 - 2025, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapModalJS = {
PHP: '',
KODE: '',
loading: function(){
$('#butCetak').click(function(){this.proses_print(true);}.bind(this));
$('#butPreview').click(function(){this.proses_print();}.bind(this));
$('#butExcel').click(function(){this.proses_dload();}.bind(this));
},
proses_print: function(prt){
var cetak = new cPRINTER(this.PHP);
cetak.add_param("data", "print");
cetak.add_param("CabID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
if (prt) cetak.doPrint(); else cetak.doPreview();
},
proses_dload: function(){
var dload = new cEXPORT(this.PHP);
dload.add_param("data", "export");
dload.add_param("CabID");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
}
};