// DATA SOURCE (for COMBO) // GENDER var ds_gender = new Ext.data.JsonStore({ //static data autoDestroy: true, fields: [ 'kdjnskelamin', 'jnskelamin' ], data: [ { "kdjnskelamin":"L","jnskelamin":"Laki-laki"}, { "kdjnskelamin":"P","jnskelamin":"Perempuan"} ] }); var ds_gender2 = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_gender ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdjnskelamin", mapping: "kdjnskelamin" } , { name: "jnskelamin", mapping: "jnskelamin" } ] }); //RELIGION var ds_religion = new Ext.data.JsonStore({ //static data autoDestroy: true, fields: [ 'nourut', 'kdagama', 'agama' ], data: [ {"nourut":'1',"kdagama":"I","agama":"Islam"}, {"nourut":'2',"kdagama":"K","agama":"Katolik"}, {"nourut":'3',"kdagama":"P","agama":"Protestan"}, {"nourut":'4',"kdagama":"B","agama":"Budha"}, {"nourut":'5',"kdagama":"H","agama":"Hindu"}, {"nourut":'9',"kdagama":"L","agama":"Lainnya"} ]}); var ds_religion2 = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_religion ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdagama", mapping: "kdagama" } , { name: "agama", mapping: "agama" } , { name: "nourut", mapping: "nourut" } ] }); // BLOOD TYPE var ds_bloodtype = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_bloodtype ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idgoldarah", mapping: "idgoldarah" } , { name: "kdgoldarah", mapping: "kdgoldarah" } , { name: "nmgoldarah", mapping: "nmgoldarah" } ] }); //NATIONALITY var ds_wn = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_nationality ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdwn", mapping: "kdwn" } , { name: "nmwn", mapping: "nmwn" } ] }); // PARENT_JOB var ds_parentjob = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_parentjob ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idjob", mapping: "idjob" } , { name: "kdjob", mapping: "kdjob" } , { name: "nmjob", mapping: "nmjob" } , { name: "deskripsi", mapping: "deskripsi" } ] }); // PARENT EDUCATION var ds_parentedu = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_parentedu ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idedu", mapping: "idedu" } , { name: "kdedu", mapping: "kdedu" } , { name: "nmedu", mapping: "nmedu" } , { name: "deskripsi", mapping: "deskripsi" } ] }); // STATUS SMESTER var ds_stsmt = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_stsmt ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdsmt", mapping: "kdsmt" } , { name: "idjnsmt", mapping: "idjnsmt" } , { name: "idstatus", mapping: "idstatus" } , { name: "deskripsi", mapping: "deskripsi" } ] }); // PRODI INTERNAL var ds_prodireg = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_prodireg ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdprodi", mapping: "kdprodi" } , { name: "nmprodi", mapping: "nmprodi" } , { name: "lnmprodi", mapping: "lnmprodi" } , { name: "noskakreditasi", mapping: "noskakreditasi" } ] }); // SHIFT MAHASISWA var ds_shift = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_shift', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "shiftmhs", mapping: "shiftmhs" } , { name: "nmshift", mapping: "nmshift" } ] }); // KELAS MAHASISWA var ds_class = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_class', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idklsmhs", mapping: "idklsmhs" } , { name: "kdklsmhs", mapping: "kdklsmhs" } , { name: "nmklsmhs", mapping: "nmklsmhs" } , { name: "deskripsi", mapping: "deskripsi" } ] }); //TAHUN var ds_years = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_years', method: 'POST' }), autoLoad: true, root: 'data', fields: [{ name: "tahun", mapping: "tahun" }] }); // STATUS AWAL MHS var ds_stfirst = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_stfirst', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdstawal", mapping: "kdstawal" } , { name: "nmstawal", mapping: "nmstawal" } ] }); // STATUS AKTIVASI var ds_staktiv = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_staktiv', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdstaktiv", mapping: "kdstaktiv" } , { name: "nmstaktiv", mapping: "nmstaktiv" } ] }); //JENIS SLTA var ds_jslta = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_jslta', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idjnsslta", mapping: "idjnsslta" } , { name: "kdjnsslta", mapping: "kdjnsslta" } , { name: "nmjnsslta", mapping: "nmjnsslta" } , { name: "deskripsi", mapping: "deskripsi" } ] }); // STATUS AKREDITASI SLTA var ds_stakrslta = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_stakrslta', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idstakr", mapping: "idstakr" } , { name: "kdstakr", mapping: "kdstakr" } , { name: "nmstakr", mapping: "nmstakr" } , { name: "deskripsi", mapping: "deskripsi" } ] }); //JENIS PT var ds_jpt = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_jpt', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idjnspt", mapping: "idjnspt" } , { name: "kdjnspt", mapping: "kdjnspt" } , { name: "nmjnspt", mapping: "nmjnspt" } , { name: "deskripsi", mapping: "deskripsi" } ] }); // STATUS AKREDITASI PT var ds_stakrpt = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_stakrpt', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idstakr", mapping: "idstakr" } , { name: "kdstakr", mapping: "kdstakr" } , { name: "nmstakr", mapping: "nmstakr" } , { name: "deskripsi", mapping: "deskripsi" } ] }); // KUALIFIKASI AKREDITASI PT var ds_kuakrpt = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_kuakrpt', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idkuakr", mapping: "idkuakr" } , { name: "kdkuakr", mapping: "kdkuakr" } , { name: "nmkuakr", mapping: "nmkuakr" } , { name: "deskripsi", mapping: "deskripsi" } ] }); // PEKERJAAN MAHASISWA var ds_mhsjob = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_mhsjob ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "idjob", mapping: "idjob" } , { name: "kdjob", mapping: "kdjob" } , { name: "nmjob", mapping: "nmjob" } , { name: "deskripsi", mapping: "deskripsi" } ] }); // KATEGORI BIAYA STUDI var ds_biaya = new Ext.data.JsonStore({ //from database proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_biaya ', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdbiayastudi", mapping: "kdbiayastudi" } , { name: "nmbiayastudi", mapping: "nmbiayastudi" } ] }); //DOSEN var ds_jabak = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_jabak', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdjabak", mapping: "kdjabak" } , { name: "nmjabak", mapping: "nmjabak" } ] }); var ds_pdktop = new Ext.data.JsonStore({ proxy: new Ext.data.HttpProxy({ url: BASE_URL + 'data_controller/get_pdktop', method: 'POST' }), autoLoad: true, root: 'data', fields: [ { name: "kdpdktop", mapping: "kdpdktop" } , { name: "nmpdktop", mapping: "nmpdktop" } ] });