/******************************************************************* PHP Class : /Controller/Report/Gel/HariandetailController Description : Laporan Jurnal Detail Created By : Siau Pheng (siaupheng@3fonia.com). Created Date : June 5th, 2009. Last Modified : October 24th, 2026. (c) 3FONIA Software; WWW.3FONIA.COM. *******************************************************************/ var RepoGelHDetailJS = { PHP: '', KODE: '', index: function(){ $('#butCetak').click(() => this.proses_print(true)); $('#butPreview').click(() => this.proses_print()); $('#butBrowJurnal').click(() => this.jurnal_brow()); $('#Kode_Jurnal').keyup((e) => { if ((e.which || e.keyCode) == 13) { if (($("#Kode_Jurnal")) && ($("#Kode_Jurnal").val() !== '')) this.proses_print(); } }); FoniaJS.setFocus('#Kode_Jurnal'); }, proses_print: function(prt){ var cetak = new Printer(this.PHP + '/print'); cetak.add_param("Kode_Jurnal"); if (prt) cetak.doPrint(); else cetak.doPreview(); }, jurnal_brow: function(){ var _isi = new String('