function pSrtCuti(){ /** COMMON STORES */ var ds_prodireg = store_prodireg(); var ds_stsmt = store_stsmt(); var ds_stsetuju = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_stsetuju', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idstsetuju", mapping: "idstsetuju" } , { name: "nmstsetuju", mapping: "nmstsetuju" } ] }); var ds_jabatan = store_jabatan(); var ds_pimpinansrtcuti = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_warek1', method: 'POST' }), baseParams: { kdfakultas:'' }, autoLoad: true, root: 'data', fields: [ { name: "idpimpinan", mapping: "idpimpinan" } , { name: "nmpimpinan", mapping: "nmpimpinan" } , { name: "kdfakultas", mapping: "kdfakultas" } ] }); var ds_stakreditasi = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_stakreditasi ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idstakreditasi", mapping: "idstakreditasi" } , { name: "nmstakreditasi", mapping: "nmstakreditasi" } ] }); var ds_thnakademik = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_thnakademik2', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idthnakademik", mapping: "idthnakademik" } , { name: "nmthnakademik", mapping: "nmthnakademik" } ] }); var ds_stberhentimhs = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_stberhentimhs', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idstberhentimhs", mapping: "idstberhentimhs" } , { name: "nmstberhentimhs", mapping: "nmstberhentimhs" } ] }); var ds_semester = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_semester', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kode", mapping: "kode" } , { name: "kdsemester", mapping: "kdsemester" } ] }); var wAddEditStoresObj = new Object({ prodi: ds_prodireg, stsemester: ds_stsmt, setuju: ds_stsetuju, jabatan:ds_jabatan, pimpin: ds_pimpinansrtcuti, stakreditasi: ds_stakreditasi, thnakademik: ds_thnakademik, stberhentimhs: ds_stberhentimhs, semester: ds_semester}); var fields_srtcuti = RH.storeFields( 'idsrtcutimhs','nomor','tglpermohonan','kdstsemester','nim','prodi', 'idsemester1','idsemester2','idsemester3','idsemester4', 'idthnakademik1','idthnakademik2','idthnakademik3','idthnakademik4', 'daritglmohon','sampaitglmohon','daritglijin','sampaitglijin','lamacutireal','lamacutimohon', 'idpimpinan','idstsetuju','tglpersetujuan','kdthnakademik','nmjnssemester', 'nmmhs','kdsemester1','kdsemester2','kdsemester3','kdsemester4','nmthnakademik1', 'nmthnakademik2','nmthnakademik3','nmthnakademik4','nmstsetuju','nmpimpinan','nmfakultas'); var pageSize = 20; var ds_srtcuti = RH.JsonStore({ url : BASE_URL + 'srtcuti_controller/get_srtcuti', fields : fields_srtcuti, limit: pageSize, enableSearch: true, }); //SEARCH COMPONENT var sb_srtcuti = RH.searchComp({ id : 'sb_srtcuti', fields : ['nim:NPM', 'nomor:No.Surat'], selected : 'nim', store : ds_srtcuti }); //GRID KOLOM// var cm_srtcuti = new Ext.grid.ColumnModel([ new Ext.grid.RowNumberer(), { header: RH.h3('No.Surat'),width: 200, dataIndex: 'nomor', sortable: true }, { header: RH.h3('Tgl.Permohonan'),width: 100, dataIndex: 'tglpermohonan', sortable: true }, { header: RH.h3('NPM'),width: 150, dataIndex: 'nim', sortable: true }, { header: RH.h3('Nama Mahasiswa'),width: 200, dataIndex: 'nmmhs', sortable: true }, { header: RH.h3('Program Studi'),width: 200, dataIndex: 'prodi', sortable: true }, /*{ header: RH.h3('Lama Cuti (Semester)'),width: 130, dataIndex: 'lamacutireal', align: 'center', sortable: true }, { header: RH.h3('Dari Tanggal'),width: 100, dataIndex: 'daritglijin', sortable: true }, { header: RH.h3('Sampai Tanggal'),width: 100, dataIndex: 'sampaitglijin', sortable: true }, */ { header: RH.h3('Status'),width: 150, dataIndex: 'nmstsetuju', sortable: true }, RH.EditColumn(), /* RH.DeleteColumn(), */ RH.PrintColumn() ] ); // Selection Model UNTUK PAGING MANUAL var sm_srtcuti = new Ext.grid.RowSelectionModel({ singleSelect: true }); // Grid View var gv_srtcuti = new Ext.grid.GridView({emptyText: '< Belum ada Data >'}); /** THE GRID */ var gp_srtcuti = new Ext.grid.EditorGridPanel({ ds: ds_srtcuti, cm: cm_srtcuti, singleSelect: true, //searchComp: sb_srtcuti, allowAdd: true, //fnAdd: fnAddsrtcuti, //pageSize: pageSize, //cellclick: onCellsrtcutiClick sm: sm_srtcuti, view: gv_srtcuti, clicksToEdit: 1, //for cell editing (single click =1, dblclick=2) forceFit: true, //autoHeight: true, layout:'anchor', //autoSizeColumns: true, //autoExpandColumn: 'nmmkind', autoScroll:true, //enableColumnResize: true, columnLines: true, loadMask: true, tbar:[sb_srtcuti], bbar: new Ext.PagingToolbar({ store: ds_srtcuti, displayInfo: true, pageSize: pageSize, mode: 'local', displayMsg: 'Data {0} - {1} dari {2}', emptyMsg: "Belum ada data" }), listeners: { cellclick: onCellsrtcutiClick } }); var fp_srtcuti = new Ext.Panel({ title: 'Surat Cuti Mahasiswa', iconCls:'silk-report', xtype: 'form', buttonAlign: 'left', bodyStyle: 'padding: 5px', border: false, layout: 'border', waitMsg: 'Waiting...', maskDisabled: false, monitorValid: true, autoScroll:true, frame: true, items: [{ xtype: 'fieldset', flex: 1, region:'north', layout:'form', autoHeight:true, items: [{ xtype: 'container', layout: 'hbox', items:[{ layout:'form', labelWidth:90, labelAlign:'right', items: [ RH.ActionCombo({ id: 'cb.prodi-stru', label: 'Program Studi', width: 300, data: ds_prodireg, key: 'kdprodi', display: 'lnmprodi', fnSelect: function(){ reloadGridSrtcuti(); } }) ] },{ layout:'form', labelWidth:200, labelAlign:'right', items: [ RH.ActionCombo({ id: 'cb.smt-stru', label: 'Tahun Akademik-Semester', width: 160, data: ds_stsmt, key: 'kdstsemester', display: 'nmsmt', fnSelect: function(){ reloadGridSrtcuti(); }, }/* ,{ xtype: 'textfield', id: 'hidden.idsrtcutimhs', hidden:true, } */) ] }] }] },{ region: 'center', layout:'form', autoScroll:true, items:[{ xtype: 'panel', layout:'fit', height:520, title:'Data Surat Cuti', id:'fp.master', frame:true, items: [gp_srtcuti], tbar: [{ text: 'Tambah', id: 'idadd-stmhssmt', iconCls: 'silk-add', handler:function(){ var prodi = Ext.getCmp('cb.prodi-stru').getRawValue(); var tahun = Ext.getCmp('cb.smt-stru').getRawValue(); if(prodi == '') { Ext.Msg.alert("Info", "Program Studi Harus Diisi"); } else if(tahun == '') { Ext.Msg.alert("Info", "Tahun Akademik Harus Diisi"); } else if(prodi != '' && tahun != '') { fnAddsrtcuti(); } } }] }], }], //gridPanel: gp_srtcuti, }); SET_PAGE_CONTENT(fp_srtcuti); /** FUNCTIONS */ function reloadGridSrtcuti(){ //remove detail RH.removeDetail('fp.detil'); //reload master-grid ds_srtcuti.reload({ params: { kdprodi: RH.getCompValue('cb.prodi-stru', true), kdstsemester: RH.getCompValue('cb.smt-stru', true) } }); } function onCellsrtcutiClick(grid, rowIndex, columnIndex, e) { var t = e.getTarget(); var record = grid.getStore().getAt(rowIndex); // Get the Record var kdprodi = record.data['kdprodi']; var kdstsemester = record.data['kdstsemester']; var idsrtcutimhs = record.data['idsrtcutimhs']; //RH.removeDetail('fp.detil'); //RH.setCompValue('hidden.idsrtcutimhs', idsrtcutimhs); //var record = grid.getStore().getAt(rowIndex); // Get the Record RH.EditClick(e, function(){fnEditsrtcuti(grid, record)}); RH.DeleteClick(e, function(){fnDeletesrtcuti(grid, record)}); RH.PrintClick(e, function(){fnPrintsrtcuti(grid, record)}); return true; } function reloadsrtcuti(){ ds_srtcuti.reload(); } function fnAddsrtcuti(){ var combo_stsmt = Ext.getCmp('cb.smt-stru'); var combo_prodi = Ext.getCmp('cb.prodi-stru'); var grid = gp_srtcuti; wform_srtcuti(false, grid, combo_prodi, combo_stsmt, null, wAddEditStoresObj); } function fnPrintsrtcuti(grid, record){ var nim = record.data['nim'] RH.ShowReport(BASE_URL + 'surat/surat_cuti/get_surat_cuti/' + nim); } function fnEditsrtcuti(grid, record){ var combo_stsmt = Ext.getCmp('cb.smt-stru'); var combo_prodi = Ext.getCmp('cb.prodi-stru'); //wform_srtcuti(true, grid, record); wform_srtcuti(true, grid, combo_prodi, combo_stsmt, record, wAddEditStoresObj); } function fnDeletesrtcuti(grid, record){ var url = BASE_URL + 'srtcuti_controller/delete_srtcuti'; var params =new Object({ idsrtcutimhs : record.data['idsrtcutimhs'] }); RH.deleteGridRecord(url, params, grid ); } } /** GRID FORM */ function wform_srtcuti(isUpdate, grid, combo_prodi, combo_stsmt, record, wAddEditStoresObj){ var winTitle = (isUpdate)?'Surat Cuti (Edit)':'Surat Cuti (Entry)'; var ds_prodireg = wAddEditStoresObj.prodi; var ds_stsmt = wAddEditStoresObj.stsemester; var ds_stsetuju = wAddEditStoresObj.setuju; var ds_jabatan = wAddEditStoresObj.jabatan; var ds_pimpinanobj = wAddEditStoresObj.pimpin; var ds_stakreditasi = wAddEditStoresObj.stakreditasi; var ds_thnakademik = wAddEditStoresObj.thnakademik; var ds_stberhentimhs = wAddEditStoresObj.stberhentimhs; var ds_semester = wAddEditStoresObj.semester; //VARIABEL YANG DIAMBIL NILAINYA DARI COMBO PRODI DAN SEMESTER var kdstsemester = combo_stsmt.getValue(); var kdprodi = combo_prodi.getValue(); var srtcuti_form = new Ext.form.FormPanel({ xtype:'form', id: 'frm.srtcuti', buttonAlign: 'left', labelWidth: 250, labelAlign: 'right', bodyStyle: 'padding:10px 3px 3px 5px', // atas, kanan, bawah, kiri //monitorValid: true, height: 350, width: 700, autoScroll: true, layout: 'form', frame: false, defaultType:'textfield', items: [ { id: 'idsrtcutimhs', hidden: true, }, { id: 'tf.frm.nomor', fieldLabel: 'No.Surat', width: 250, allowBlank: false, }, { xtype: 'datefield', id: 'df.tglpermohonan', fieldLabel: 'Tgl.Permohonan', value: new Date(), width: 100 }, { xtype: 'compositefield', name: 'comp_file_gambar', fieldLabel: 'NPM', id: 'comp_file_gambar', items: [{ id: 'tf.frm.nim', xtype:'textfield', fieldLabel: 'NPM', width: 150, allowBlank: false, disabled: true, }, { xtype: 'button', fieldLabel: 'Cari', hidden:false, labelStyle: 'width:160px', id: 'btncari', name: 'btncari', width: 50, handler: function() { wGridMhsCuti('srt_cuti',kdprodi,kdstsemester);} } ] }, { id: 'tf.frm.nmmhs', fieldLabel: 'Nama Mahasiswa', width: 250, allowBlank: false, disabled: true, }, { id: 'tf.frm.fakultas', fieldLabel: 'Fakultas', width: 250, allowBlank: false, disabled: true, xtype: 'textfield' }, { xtype: 'combo', id: 'tf.frm.programstudi', fieldLabel: 'Program Studi', store: ds_prodireg, triggerAction: 'all', valueField: 'kdprodi', displayField: 'lnmprodi', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 250, allowBlank: false, editable: false }, { xtype: 'combo', id: 'cb.frm.kdstsemester', fieldLabel: 'Tahun Akademik-Semester', store: ds_stsmt, triggerAction: 'all', valueField: 'kdstsemester', displayField: 'nmsmt', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 250, allowBlank: false }, /* { xtype: 'fieldset', autoHeight:true, layout :'column', columnWidth: 0.5, title: 'Lama Permohonan Cuti', //defaultType: 'textfield', layout: 'form', defaults: { labelWidth: 120, labelAlign: 'right' }, items: [{ layout: 'form', border: false, bodyStyle: 'padding:3px 3px 3px 3px', items: [{ columnWidth: .20, xtype: 'combo', id: 'cb.frm.idsemester1', fieldLabel: 'Dari Semester', store: ds_semester, triggerAction: 'all', valueField: 'kode', displayField: 'kdsemester', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 70, editable: false },{ xtype: 'combo', id: 'cb.frm.idsemester2', fieldLabel: 'Sampai Semester', store: ds_semester, triggerAction: 'all', valueField: 'kode', displayField: 'kdsemester', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 70, editable: false },{ xtype: 'datefield', id: 'df.daritglmohon', fieldLabel: 'TMT', value: new Date(), width: 100 }] }, { layout: 'form', border: false, bodyStyle: 'padding:3px 3px 3px 3px', items: [{ columnWidth: .6, xtype: 'combo', id: 'cb.frm.idthnakademik1', fieldLabel: 'Tahun Akademik', store: ds_thnakademik, triggerAction: 'all', valueField: 'idthnakademik', displayField: 'nmthnakademik', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 100, editable: false },{ xtype: 'combo', id: 'cb.frm.idthnakademik2', fieldLabel: 'Tahun Akademik', store: ds_thnakademik, triggerAction: 'all', valueField: 'idthnakademik', displayField: 'nmthnakademik', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 100, editable: false },{ xtype: 'datefield', id: 'df.sampaitglmohon', fieldLabel: 's.d', value: new Date(), width: 100 }] }] }, */ /* { xtype: 'fieldset', autoHeight:true, layout :'column', columnWidth: 0.5, flex: 1, title: 'Lama Diijinkan Cuti', //defaultType: 'textfield', layout: 'form', defaults: { labelWidth: 120, labelAlign: 'right' }, items: [{ layout: 'form', border: false, bodyStyle: 'padding:3px 3px 3px 3px', items: [{ columnWidth: .20, xtype: 'combo', id: 'cb.frm.idsemester3', fieldLabel: 'Dari Semester', store: ds_semester, triggerAction: 'all', valueField: 'kode', displayField: 'kdsemester', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 70, editable: false }, { xtype: 'combo', id: 'cb.frm.idsemester4', fieldLabel: 'Sampai Semester', store: ds_semester, triggerAction: 'all', valueField: 'kode', displayField: 'kdsemester', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 70, editable: false }, { xtype: 'datefield', id: 'df.daritglijin', fieldLabel: 'TMT', value: new Date(), width: 100 }] }, { layout: 'form', border: false, bodyStyle: 'padding:3px 3px 3px 3px', items: [{ xtype: 'combo', id: 'cb.frm.idthnakademik3', fieldLabel: 'Tahun Akademik', store: ds_thnakademik, triggerAction: 'all', valueField: 'idthnakademik', displayField: 'nmthnakademik', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 100, editable: false }, { xtype: 'combo', id: 'cb.frm.idthnakademik4', fieldLabel: 'Tahun Akademik', store: ds_thnakademik, triggerAction: 'all', valueField: 'idthnakademik', displayField: 'nmthnakademik', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 100, editable: false }, { xtype: 'datefield', id: 'df.sampaitglijin', fieldLabel: 's.d', value: new Date(), width: 100 }] }] },*/ { xtype: 'combo', id: 'cb.frm.idstsetuju', fieldLabel: 'Status', store: ds_stsetuju, triggerAction: 'all', valueField: 'idstsetuju', displayField: 'nmstsetuju', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 150, allowBlank: false, editable: false, listeners:{ select: function() { var sts = Ext.getCmp('cb.frm.idstsetuju').getRawValue(); if (sts == "Disetujui"){ Ext.getCmp('df.tglpersetujuan').enable(); Ext.getCmp('df.tglpersetujuan').setValue(new Date()) } else if (sts == "Tidak Disetujui") { Ext.getCmp('df.tglpersetujuan').disable(); Ext.getCmp('df.tglpersetujuan').setValue(null); } } } }, { xtype: 'datefield', id: 'df.tglpersetujuan', fieldLabel: 'Tgl.Disetujui', value: new Date(), width: 100, disabled: true }, { store: ds_jabatan, xtype: 'combo', id: 'cb.jabatan', fieldLabel: 'Jabatan', triggerAction: 'all', valueField: 'idjabatan', displayField: 'nmjabatan', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 250, editable: false, allowBlank: true, listeners:{ select: function() { var kdfakultas = RH.getRecordFieldValue(ds_prodireg, 'kdfakultas', 'kdprodi', Ext.getCmp('tf.frm.programstudi').getValue()); var jabatan = Ext.getCmp('cb.jabatan').getValue(); var fakultas = (jabatan > 4) ? kdfakultas:null; Ext.getCmp('cb.frm.idpimpinan').setValue(null); ds_pimpinanobj.reload({ params: { jabatan: jabatan, fakultas: fakultas, } }); Ext.getCmp('cb.frm.idpimpinan').enable(); } } }, { xtype: 'combo', id: 'cb.frm.idpimpinan', fieldLabel: 'Pimpinan', disabled: true, store: ds_pimpinanobj, triggerAction: 'all', valueField: 'idpimpinan', displayField: 'nmpimpinan', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', width: 250, allowBlank: false, editable: false, }], buttons: [{ text: 'Simpan', iconCls:'silk-save', handler:function() { fnSaveSrtcuti(); } }, { text: 'Kembali', iconCls:'', handler:function() { wSrtcuti.close(); } }] }); /** SET THE FORM UNTUK MEMASUKKAN NILAI PRODI DAN SEMESTER DI FORM */ setForm(); var wSrtcuti = new Ext.Window({ title: winTitle, modal: true, closable:false, items: [srtcuti_form] }); /** CALL SET FORM AND SHOW THE FORM (WINDOW) */ setsrtcuti(isUpdate, record); wSrtcuti.show(); /** FUNCTIONS BUAT MANGGIL KDPRODI DAN KDSEMESTER */ function setForm(){ Ext.getCmp('tf.frm.programstudi').disable(); Ext.getCmp('cb.frm.kdstsemester').disable(); RH.setCompValue('tf.frm.programstudi', kdprodi); RH.setCompValue('cb.frm.kdstsemester', kdstsemester); } /** FORM FUNCTIONS */ function setsrtcuti(isUpdate, record){ if(isUpdate){ if(record != null){ Ext.getCmp('tf.frm.nomor').disable(); Ext.getCmp('btncari').disable(); Ext.getCmp('df.tglpersetujuan').enable(); RH.setCompValue('idsrtcutimhs', record.data['idsrtcutimhs']); RH.setCompValue('tf.frm.nomor', record.data['nomor']); RH.setCompValue('df.tglpermohonan', record.data['tglpermohonan']); RH.setCompValue('tf.frm.fakultas', record.data['nmfakultas']); RH.setCompValue('tf.frm.nim', record.data['nim']); RH.setCompValue('tf.frm.nmmhs', record.data['nmmhs']); //RH.setCompValue('tf.frm.programstudi', record.data['prodi']); /* RH.setCompValue('cb.frm.idsemester1', record.data['idsemester1']); RH.setCompValue('cb.frm.idsemester2', record.data['idsemester2']); RH.setCompValue('cb.frm.idsemester3', record.data['idsemester3']); RH.setCompValue('cb.frm.idsemester4', record.data['idsemester4']); RH.setCompValue('cb.frm.idthnakademik1', record.data['idthnakademik1']); RH.setCompValue('cb.frm.idthnakademik2', record.data['idthnakademik2']); RH.setCompValue('cb.frm.idthnakademik3', record.data['idthnakademik3']); RH.setCompValue('cb.frm.idthnakademik4', record.data['idthnakademik4']); RH.setCompValue('df.daritglmohon', record.data['daritglmohon']); RH.setCompValue('df.sampaitglmohon', record.data['sampaitglmohon']); RH.setCompValue('df.daritglijin', record.data['daritglijin']); RH.setCompValue('df.sampaitglijin', record.data['sampaitglijin']); */ RH.setCompValue('cb.frm.idstsetuju', record.data['idstsetuju']); RH.setCompValue('df.tglpersetujuan', record.data['tglpersetujuan']); RH.setCompValue('cb.frm.idpimpinan', record.data['idpimpinan']); return; } } } function fnSaveSrtcuti(){ var idForm = 'frm.srtcuti'; var sUrl = BASE_URL +'srtcuti_controller/insert_srtcuti'; var sParams = getInsertSrtcutiParams(); var msgWait = 'Tunggu, sedang proses menyimpan...'; var msgSuccess = 'Tambah data berhasil'; var msgFail = 'Tambah data gagal'; var msgInvalid = 'Data belum valid (data primer belum terisi)!'; if(isUpdate){ sUrl = BASE_URL +'srtcuti_controller/update_srtcuti'; msgSuccess = 'Update data berhasil'; msgFail = 'Update data gagal'; } //call form grid submit function (common function by RH) RH.submitGridForm(idForm, sUrl, sParams, grid, wSrtcuti, msgWait, msgSuccess, msgFail, msgInvalid); } function getInsertSrtcutiParams(){ return new Object({ nomor : RH.getCompValue('tf.frm.nomor'), tglpermohonan : RH.getCompValue('df.tglpermohonan'), kdstsemester : RH.getCompValue('cb.frm.kdstsemester'), nim : RH.getCompValue('tf.frm.nim'), idsemester1 : RH.getCompValue('cb.frm.idsemester1'), idsemester2 : RH.getCompValue('cb.frm.idsemester2'), idsemester3 : RH.getCompValue('cb.frm.idsemester3'), idsemester4 : RH.getCompValue('cb.frm.idsemester4'), idthnakademik1 : RH.getCompValue('cb.frm.idthnakademik1'), idthnakademik2 : RH.getCompValue('cb.frm.idthnakademik2'), idthnakademik3 : RH.getCompValue('cb.frm.idthnakademik3'), idthnakademik4 : RH.getCompValue('cb.frm.idthnakademik4'), daritglmohon : RH.getCompValue('df.daritglmohon'), sampaitglmohon : RH.getCompValue('df.sampaitglmohon'), daritglijin : RH.getCompValue('df.daritglijin'), sampaitglijin : RH.getCompValue('df.sampaitglijin'), idstsetuju : RH.getCompValue('cb.frm.idstsetuju'), tglpersetujuan : RH.getCompValue('df.tglpersetujuan'), idpimpinan : RH.getCompValue('cb.frm.idpimpinan'), }); } }