first commit

This commit is contained in:
2026-01-22 15:30:17 +07:00
commit a971b97d88
181 changed files with 22279 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/jual_harian.js
Desc. : JS - Laporan Penjualan Harian
Created By : Siau Pheng ([email protected]).
Created Date : June 6th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoJualHarianJS = {
PHP: '',
KODE: '',
loading: function(){
$('#butCetak').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(90);
cetak.add_param("data", "print");
cetak.add_param("Rekap");
cetak.add_param("Tgl_Data");
cetak.add_param("Grup_InvID");
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("Rekap");
dload.add_param("Tgl_Data");
dload.add_param("Grup_InvID");
dload.download();
}
};