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
+35
View File
@@ -0,0 +1,35 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/beli.js
Desc. : JS - Laporan Pembelian
Created By : Siau Pheng ([email protected]).
Created Date : April 12th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoBeliJS = {
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('Tipe');
cetak.add_param('SupID');
cetak.add_param('Tgl_From');
cetak.add_param('Tgl_To');
if (prt=='print') { cetak.doPrint(); } else cetak.doPreview();
}
};
+35
View File
@@ -0,0 +1,35 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/beli_retur.js
Desc. : JS - Laporan Retur Pembelian
Created By : Siau Pheng ([email protected]).
Created Date : April 12th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoBeliReturJS = {
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("Tipe");
cetak.add_param("SupID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
if (prt=='print') { cetak.doPrint(); } else cetak.doPreview();
}
};
+34
View File
@@ -0,0 +1,34 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/bonus_supir.js
Desc. : JS - Laporan Bonus Penjualan Supir
Created By : Siau Pheng ([email protected]).
Created Date : June 8th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoBonusSupirJS = {
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("Tipe");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
if (prt=='print') { cetak.doPrint(); } else cetak.doPreview();
}
};
+35
View File
@@ -0,0 +1,35 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/hutang.js
Desc. : JS - Laporan Hutang Supplier
Created By : Siau Pheng ([email protected]).
Created Date : July 17th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoHutangJS = {
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("Tipe");
cetak.add_param("SupID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
if (prt=='print') { cetak.doPrint(); } else cetak.doPreview();
}
};
+107
View File
@@ -0,0 +1,107 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/jual.js
Desc. : JS - Laporan Penjualan
Created By : Siau Pheng ([email protected]).
Created Date : April 12th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoJualJS = {
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));
FoniaJS.AutoComplete('#Nama_Outlet', this.PHP, ['data=auto-outlet'], this.Outlet_Comp);
$('#Nama_Outlet').on('click', function(){
$('#Nama_Outlet').select();
});
this.oc_Tipe();
},
proses_print: function(prt){
var cetak = new cPRINTER(this.PHP);
cetak.set_zoom(90);
cetak.add_param("data", "print");
cetak.add_param("Tipe");
cetak.add_param("Rekap");
cetak.add_param("OutletID");
cetak.add_param("SalesID");
cetak.add_param("Grup_InvID");
cetak.add_param("CK");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
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("Tipe");
dload.add_param("Rekap");
dload.add_param("OutletID");
dload.add_param("SalesID");
dload.add_param("Grup_InvID");
dload.add_param("CK");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
},
outlet_brow: function(){
var _isi = new String('<div class="row mb-1"><div class="col"><div class="input-group"><input class="form-control" id="Cari_Outlet" placeholder="Kunci Pencarian" type="text"><button class="btn btn-info shadow-none" type="button" id="butSearch">Cari</button><button class="btn btn-secondary shadow-none" type="button" id="butAll">Semua</button></div></div></div><div id="divBrowOutlet">&nbsp;</div>');
this.winBOutlet = FoniaJS.showWindow('BOutlet', 'Daftar Outlet', _isi, 900, '', function(){
$('#winBOutlet').find('#Cari_Outlet').keydown(function(e){
var key = e.keyCode || e.which || 0;
if (key==13 && e.target.value!='') this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butSearch').click(function(e){
this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butAll').click(function(){
$('#winBOutlet').find('#Cari_Outlet').val('');
this.data_query('brow-outlet');
}.bind(this));
this.data_query('brow-outlet');
FoniaJS.setFocus('#Cari_Outlet');
}.bind(this));
},
outlet_select: function(acell){
FoniaJS.closeWindow(this.winBOutlet);
$('#OutletID').val(acell[0]);
$('#Nama_Outlet').val(acell[2]);
},
data_query: function(tipe){
if (tipe=="brow-outlet"){
new Request.JSONF({
url: this.PHP,
sendParam: ['data=brow-outlet','Cari_Outlet'],
onSuccess: function(){
FoniaJS.setFocus('#Cari_Outlet');
}
}).send();
}
},
Outlet_Comp: function(item){
$('#OutletID').val(item.value);
},
oc_Tipe: function(){
if ($('#Tipe').val()=='R') {
$('#Grup_InvID').val(0).trigger('change');
$('#Grup_InvID').prop('disabled', true);
} else
$('#Grup_InvID').prop('disabled', false);
}
};
+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();
}
};
+39
View File
@@ -0,0 +1,39 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/jual_harian_pajak.js
Desc. : JS - Laporan Penjualan Harian Pajak
Created By : Siau Pheng ([email protected]).
Created Date : November 11st, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoJualHarianPJS = {
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("Tgl_Data");
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("Tgl_Data");
dload.download();
}
};
+80
View File
@@ -0,0 +1,80 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/jual_retur.js
Desc. : JS - Laporan Retur Penjualan
Created By : Siau Pheng ([email protected]).
Created Date : April 12th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoJualReturJS = {
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));
FoniaJS.AutoComplete('#Nama_Outlet', this.PHP, ['data=auto-outlet'], this.Outlet_Comp);
$('#Nama_Outlet').on('click', function(){
$('#Nama_Outlet').select();
});
},
proses_print: function(prt){
var cetak = new cPRINTER(this.PHP);
cetak.set_zoom(90);
cetak.add_param("data", "print");
cetak.add_param("Tipe");
cetak.add_param("OutletID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
if (prt=='print') { cetak.doPrint(); } else cetak.doPreview();
},
outlet_brow: function(){
var _isi = new String('<div class="row mb-1"><div class="col"><div class="input-group"><input class="form-control" id="Cari_Outlet" placeholder="Kunci Pencarian" type="text"><button class="btn btn-info shadow-none" type="button" id="butSearch">Cari</button><button class="btn btn-secondary shadow-none" type="button" id="butAll">Semua</button></div></div></div><div id="divBrowOutlet">&nbsp;</div>');
this.winBOutlet = FoniaJS.showWindow('BOutlet', 'Daftar Outlet', _isi, 900, '', function(){
$('#winBOutlet').find('#Cari_Outlet').keydown(function(e){
var key = e.keyCode || e.which || 0;
if (key==13 && e.target.value!='') this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butSearch').click(function(e){
this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butAll').click(function(){
$('#winBOutlet').find('#Cari_Outlet').val('');
this.data_query('brow-outlet');
}.bind(this));
this.data_query('brow-outlet');
FoniaJS.setFocus('#Cari_Outlet');
}.bind(this));
},
outlet_select: function(acell){
FoniaJS.closeWindow(this.winBOutlet);
$('#OutletID').val(acell[0]);
$('#Nama_Outlet').val(acell[2]);
},
data_query: function(tipe){
if (tipe=="brow-outlet"){
new Request.JSONF({
url: this.PHP,
sendParam: ['data=brow-outlet','Cari_Outlet'],
onSuccess: function(){
FoniaJS.setFocus('#Cari_Outlet');
}
}).send();
}
},
Outlet_Comp: function(item){
$('#OutletID').val(item.value);
}
};
+34
View File
@@ -0,0 +1,34 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/keluar.js
Desc. : JS - Laporan Pengeluaran
Created By : Siau Pheng ([email protected]).
Created Date : July 17th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoKeluarJS = {
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("Tipe");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
if (prt=='print') { cetak.doPrint(); } else cetak.doPreview();
}
};
+45
View File
@@ -0,0 +1,45 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/outlet.js
Desc. : JS - Laporan Daftar Outlet
Created By : Siau Pheng ([email protected]).
Created Date : March 25th, 2011.
Last Modified : March 26th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoOutletJS = {
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('Grup_OutletID');
cetak.add_param('Grup_InvID');
cetak.add_param('Aktif');
cetak.add_param('Tgl_Cetak');
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('Grup_OutletID');
dload.add_param('Grup_InvID');
dload.add_param('Aktif');
dload.add_param('Tgl_Cetak');
dload.download();
}
};
+98
View File
@@ -0,0 +1,98 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/piutang.js
Desc. : JS - Laporan Piutang Outlet
Created By : Siau Pheng ([email protected]).
Created Date : July 17th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoPiutangJS = {
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));
FoniaJS.AutoComplete('#Nama_Outlet', this.PHP, ['data=auto-outlet'], this.Outlet_Comp);
$('#Nama_Outlet').on('click', function(){
$('#Nama_Outlet').select();
});
},
proses_print: function(prt){
var cetak = new cPRINTER(this.PHP);
cetak.set_zoom(90);
cetak.add_param("data", "print");
cetak.add_param("Tipe");
cetak.add_param("OutletID");
cetak.add_param("Grup_OutletID");
cetak.add_param("SalesID");
cetak.add_param("Grup_InvID");
cetak.add_param("TipeDT");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
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("Tipe");
dload.add_param("OutletID");
dload.add_param("Grup_OutletID");
dload.add_param("SalesID");
dload.add_param("Grup_InvID");
dload.add_param("TipeDT");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
},
outlet_brow: function(){
var _isi = new String('<div class="row mb-1"><div class="col"><div class="input-group"><input class="form-control" id="Cari_Outlet" placeholder="Kunci Pencarian" type="text"><button class="btn btn-info shadow-none" type="button" id="butSearch">Cari</button><button class="btn btn-secondary shadow-none" type="button" id="butAll">Semua</button></div></div></div><div id="divBrowOutlet">&nbsp;</div>');
this.winBOutlet = FoniaJS.showWindow('BOutlet', 'Daftar Outlet', _isi, 900, '', function(){
$('#winBOutlet').find('#Cari_Outlet').keydown(function(e){
var key = e.keyCode || e.which || 0;
if (key==13 && e.target.value!='') this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butSearch').click(function(e){
this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butAll').click(function(){
$('#winBOutlet').find('#Cari_Outlet').val('');
this.data_query('brow-outlet');
}.bind(this));
this.data_query('brow-outlet');
FoniaJS.setFocus('#Cari_Outlet');
}.bind(this));
},
outlet_select: function(acell){
FoniaJS.closeWindow(this.winBOutlet);
$('#OutletID').val(acell[0]);
$('#Nama_Outlet').val(acell[2]);
},
data_query: function(tipe){
if (tipe=="brow-outlet"){
new Request.JSONF({
url: this.PHP,
sendParam: ['data=brow-outlet','Cari_Outlet'],
onSuccess: function(){
FoniaJS.setFocus('#Cari_Outlet');
}
}).send();
}
},
Outlet_Comp: function(item){
$('#OutletID').val(item.value);
}
};
+41
View File
@@ -0,0 +1,41 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/produk.js
Desc. : JS - Laporan Daftar Produk
Created By : Siau Pheng ([email protected]).
Created Date : May 26th, 2010.
Last Modified : March 21st, 2023.
(c) 2010 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoProdukJS = {
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('Grup_InvID');
cetak.add_param('Tgl_Cetak');
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('Grup_InvID');
dload.add_param('Tgl_Cetak');
dload.download();
}
};
+40
View File
@@ -0,0 +1,40 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/rekap_do.js
Desc. : JS - Rekap Penjualan Produk Per-DO
Created By : Siau Pheng ([email protected]).
Created Date : January 24th, 2024.
(c) 2024, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapDOJS = {
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("Tgl_From");
cetak.add_param("Tgl_To");
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("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
}
};
+41
View File
@@ -0,0 +1,41 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/rekap_fp.js
Desc. : JS - Rekap Faktur Pajak Keluaran
Created By : Siau Pheng ([email protected]).
Created Date : August 30th, 2016.
Last Modified : July 4th, 2023.
(c) 2016 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapFPJS = {
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("Tgl_From");
cetak.add_param("Tgl_To");
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("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
}
};
+40
View File
@@ -0,0 +1,40 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/rekap_fp_biaya.js
Desc. : JS - Rekap Faktur Pajak Biaya
Created By : Siau Pheng ([email protected]).
Created Date : December 31st, 2024.
(c) 2016 - 2024, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapFPBJS = {
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("Tgl_From");
cetak.add_param("Tgl_To");
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("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
}
};
+90
View File
@@ -0,0 +1,90 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/rekap_outlet.js
Desc. : JS - Laporan R. Penjualan Produk/Outlet
Created By : Siau Pheng ([email protected]).
Created Date : April 16th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapOutletJS = {
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));
FoniaJS.AutoComplete('#Nama_Outlet', this.PHP, ['data=auto-outlet'], this.Outlet_Comp);
$('#Nama_Outlet').on('click', function(){
$('#Nama_Outlet').select();
});
},
proses_print: function(prt){
var cetak = new cPRINTER(this.PHP);
cetak.set_zoom(90);
cetak.add_param("data", "print");
cetak.add_param("OutletID");
cetak.add_param("Grup_InvID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
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("OutletID");
dload.add_param("Grup_InvID");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
},
outlet_brow: function(){
var _isi = new String('<div class="row mb-1"><div class="col"><div class="input-group"><input class="form-control" id="Cari_Outlet" placeholder="Kunci Pencarian" type="text"><button class="btn btn-info shadow-none" type="button" id="butSearch">Cari</button><button class="btn btn-secondary shadow-none" type="button" id="butAll">Semua</button></div></div></div><div id="divBrowOutlet">&nbsp;</div>');
this.winBOutlet = FoniaJS.showWindow('BOutlet', 'Daftar Outlet', _isi, 900, '', function(){
$('#winBOutlet').find('#Cari_Outlet').keydown(function(e){
var key = e.keyCode || e.which || 0;
if (key==13 && e.target.value!='') this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butSearch').click(function(e){
this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butAll').click(function(){
$('#winBOutlet').find('#Cari_Outlet').val('');
this.data_query('brow-outlet');
}.bind(this));
this.data_query('brow-outlet');
FoniaJS.setFocus('#Cari_Outlet');
}.bind(this));
},
outlet_select: function(acell){
FoniaJS.closeWindow(this.winBOutlet);
$('#OutletID').val(acell[0]);
$('#Nama_Outlet').val(acell[2]);
},
data_query: function(tipe){
if (tipe=="brow-outlet"){
new Request.JSONF({
url: this.PHP,
sendParam: ['data=brow-outlet','Cari_Outlet'],
onSuccess: function(){
FoniaJS.setFocus('#Cari_Outlet');
}
}).send();
}
},
Outlet_Comp: function(item){
$('#OutletID').val(item.value);
}
};
+47
View File
@@ -0,0 +1,47 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/rekap_outlet_oli.js
Desc. : JS - Rekap Penj. Outlet Produk Sosro & Oli
Created By : Siau Pheng ([email protected]).
Created Date : November 20th, 2014.
Last Modified : January 20th, 2024.
(c) 2014 - 2024, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapOLJS = {
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("Tipe");
cetak.add_param("Grup_OutletID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
cetak.add_param("Semua");
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("Tipe");
dload.add_param("Grup_OutletID");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.add_param("Semua");
dload.download();
}
};
+49
View File
@@ -0,0 +1,49 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/rekap_outlet_produk.js
Desc. : JS - Laporan Rekap Penj. Outlet/Produk
Created By : Siau Pheng ([email protected]).
Created Date : November 4th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapOPJS = {
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("InvID");
cetak.add_param("Rekap");
cetak.add_param("Grup_OutletID");
cetak.add_param("SalesID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
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("InvID");
dload.add_param("Rekap");
dload.add_param("Grup_OutletID");
dload.add_param("SalesID");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
}
};
+59
View File
@@ -0,0 +1,59 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/rekap_promo.js
Desc. : JS - Laporan Penjualan Produk Promo
Created By : Siau Pheng ([email protected]).
Created Date : July 22th, 2011.
Last Modified : March 28th, 2025.
(c) 2011 - 2025, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapPromoJS = {
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));
this.oc_Grup();
},
proses_print: function(prt){
var cetak = new cPRINTER(this.PHP);
cetak.set_zoom(90);
cetak.add_param("data", "print");
cetak.add_param("Tipe");
cetak.add_param("Rekap");
cetak.add_param("SalesID");
cetak.add_param("Grup_InvID");
cetak.add_param("InvID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
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("Tipe");
dload.add_param("Rekap");
dload.add_param("SalesID");
dload.add_param("Grup_InvID");
dload.add_param("InvID");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
},
oc_Grup: function(){
new Request.JSONF({
url: this.PHP,
sendParam: ['data=option-produk','Grup_InvID','InvID']
}).send();
}
};
+82
View File
@@ -0,0 +1,82 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/rekap_sales.php
Desc. : JS - Laporan R. Penjualan Produk/Sales
Created By : Siau Pheng ([email protected]).
Created Date : April 15th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapSalesJS = {
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));
FoniaJS.AutoComplete('#Nama_Outlet', this.PHP, ['data=auto-outlet'], this.Outlet_Comp);
$('#Nama_Outlet').on('click', function(){
$('#Nama_Outlet').select();
});
},
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('SalesID');
cetak.add_param('OutletID');
cetak.add_param('Grup_InvID');
cetak.add_param('Tgl_From');
cetak.add_param('Tgl_To');
if (prt=='print') { cetak.doPrint(); } else cetak.doPreview();
},
outlet_brow: function(){
var _isi = new String('<div class="row mb-1"><div class="col"><div class="input-group"><input class="form-control" id="Cari_Outlet" placeholder="Kunci Pencarian" type="text"><button class="btn btn-info shadow-none" type="button" id="butSearch">Cari</button><button class="btn btn-secondary shadow-none" type="button" id="butAll">Semua</button></div></div></div><div id="divBrowOutlet">&nbsp;</div>');
this.winBOutlet = FoniaJS.showWindow('BOutlet', 'Daftar Outlet', _isi, 900, '', function(){
$('#winBOutlet').find('#Cari_Outlet').keydown(function(e){
var key = e.keyCode || e.which || 0;
if (key==13 && e.target.value!='') this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butSearch').click(function(e){
this.data_query('brow-outlet');
}.bind(this));
$('#winBOutlet').find('#butAll').click(function(){
$('#winBOutlet').find('#Cari_Outlet').val('');
this.data_query('brow-outlet');
}.bind(this));
this.data_query('brow-outlet');
FoniaJS.setFocus('#Cari_Outlet');
}.bind(this));
},
outlet_select: function(acell){
FoniaJS.closeWindow(this.winBOutlet);
$('#OutletID').val(acell[0]);
$('#Nama_Outlet').val(acell[2]);
},
data_query: function(tipe){
if (tipe=="brow-outlet"){
new Request.JSONF({
url: this.PHP,
sendParam: ['data=brow-outlet','Cari_Outlet'],
onSuccess: function(){
FoniaJS.setFocus('#Cari_Outlet');
}
}).send();
}
},
Outlet_Comp: function(item){
$('#OutletID').val(item.value);
}
};
+45
View File
@@ -0,0 +1,45 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/rekap_sup.js
Desc. : JS - Laporan Rekap Pembelian / Supplier
Created By : Siau Pheng ([email protected]).
Created Date : March 5th, 2012.
Last Modified : July 4th, 2023.
(c) 2012 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoRekapSupJS = {
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("SupID");
cetak.add_param("Grup_InvID");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
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("SupID");
dload.add_param("Grup_InvID");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
}
};
+41
View File
@@ -0,0 +1,41 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/stok_akhir.js
Desc. : JS - Laporan Stok Akhir Produk
Created By : Siau Pheng ([email protected]).
Created Date : January 24th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoStokAkhirJS = {
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("GudangID");
cetak.add_param("Tgl_Data");
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("GudangID");
dload.add_param("Tgl_Data");
dload.download();
}
};
+49
View File
@@ -0,0 +1,49 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/stok_mutasi.js
Desc. : JS - Laporan Mutasi Stok Produk
Created By : Siau Pheng ([email protected]).
Created Date : July 16th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoStokMutasiJS = {
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("GudangID");
cetak.add_param("InvID");
cetak.add_param("Nota_Pajak");
cetak.add_param("Tipe_Data");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
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("GudangID");
dload.add_param("InvID");
dload.add_param("Nota_Pajak");
dload.add_param("Tipe_Data");
dload.add_param("Tgl_From");
dload.add_param("Tgl_To");
dload.download();
}
};
+42
View File
@@ -0,0 +1,42 @@
/*******************************************************************
Module : /apps/js/repo/supervisi.js
Desc. : JS - Laporan Supervisi
Created By : Siau Pheng ([email protected]).
Created Date : June 1st, 2013.
Last Modified : March 26th, 2023.
(c) 2013 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoSuperJS = {
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(90);
cetak.add_param('data', 'print');
cetak.add_param('UserID');
cetak.add_param('Tgl_From');
cetak.add_param('Tgl_To');
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('UserID');
dload.add_param('Tgl_From');
dload.add_param('Tgl_To');
dload.download();
}
};
+34
View File
@@ -0,0 +1,34 @@
/*******************************************************************
App. Name : Inventory Advanced Systems
Module : /apps/js/repo/terima.js
Desc. : JS - Laporan Penerimaan
Created By : Siau Pheng ([email protected]).
Created Date : July 17th, 2011.
Last Modified : July 4th, 2023.
(c) 2011 - 2023, 3FONIA Software; WWW.3FONIA.COM.
*******************************************************************/
var RepoTerimaJS = {
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("Tipe");
cetak.add_param("Tgl_From");
cetak.add_param("Tgl_To");
if (prt=='print') { cetak.doPrint(); } else cetak.doPreview();
}
};