function getMhsAsalPT(){ /** STORES */ var ds_jpt = store_jpt(); var ds_stakrpt = store_stakrpt(); var ds_kuakrpt = store_kuakrpt(); /** FORM ASAL PT */ var fAsalpt = { //new Ext.form.FormPanel({ //{ xtype: 'panel', //'form', id: 'content.asalpt', layout: 'form', margin: '0 0 10', defaults: { labelWidth: 150, labelAlign: 'right' }, items: [{ xtype: 'fieldset', flex: 1, defaults: { labelWidth: 120, labelAlign: 'right' }, items: [ RH.Lookup2Field({ label: 'Perguruan Tinggi', codeId:'lu.kdptasal', nameId:'lu.nmptasal', widths: [80,320], codeVisible: true, fnLookup: function(){wLookup(lu_univ, 'Asal Perguruan Tinggi','lu.kdptasal','lu.nmptasal',500,350) } }), { xtype: 'combo', id: 'cb.jnpt-asal', fieldLabel: 'Jenis PT', width: 250, editable: false, //allowBlank: false, store: ds_jpt, triggerAction: 'all', valueField: 'id', displayField: 'nama', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, }, { xtype: 'combo', id: 'cb.stakr-asal', fieldLabel: 'Status Akreditasi', width: 200, editable: false, //allowBlank: false, store: ds_stakrpt, triggerAction: 'all', valueField: 'id', displayField: 'nama', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, }, { xtype: 'combo', id: 'cb.kuakr-asal', fieldLabel: 'Kualifikasi Akreditasi', width: 200, editable: false, //allowBlank: false, store: ds_kuakrpt, triggerAction: 'all', valueField: 'id', displayField: 'nama', forceSelection: true, submitValue: true, mode: 'local', emptyText:'Pilih...', //selectOnFocus:true, }, { xtype: 'textfield', id: 'tf.jjgstudi-asal', fieldLabel: 'Kode Jenjang Studi', width: 150, hidden: true }, { xtype: 'textfield', id: 'tf.nmjjgstudi-asal', fieldLabel: 'Jenjang Studi', width: 150, disabled: true, }, { xtype: 'textfield', id: 'tf.fakultas-asal', fieldLabel: 'Fakultas', width: 350 }, RH.Lookup2Field({ label: 'Program Studi', codeId:'lu.kdprodiasal', nameId:'lu.nmprodiasal', widths: [80,320], codeVisible: true, fnLookup: function(){wLookup(lu_prodi, 'Program Studi','lu.kdprodiasal','lu.nmprodiasal',600,350) } }), { xtype: 'textfield', id: 'tf.npm-asal', fieldLabel: 'NIM/NPM Asal', width: 350 },{ xtype: 'textfield', id: 'tf.noijzpt-asal', fieldLabel: 'No. Ijazah', width: 350 },{ xtype: 'datefield', id: 'df.tgijzpt-asal', fieldLabel: 'Tanggal Ijazah', value: new Date(), width: 150 }, { xtype: 'numberfield', //'combo', id: 'nf.smtpindah-asal', fieldLabel: 'Semester Pindah', width: 150, value: 0, minValue: 0, maxValue: 8, //allowBlank: false, //editable: false },{ xtype: 'numberfield', //'textfield', id: 'nf.jumsks-asal', fieldLabel: 'Jumlah SKS Diakui', //allowBlank: false, value: 0, minValue: 0, width: 150 },{ xtype: 'textarea', id: 'ta.alasanpindah', fieldLabel: 'Alasan Pindah', autoScroll: true, width: 570 }] }] }; //); return fAsalpt; }