{"size": 3202, "ext": "js", "max_stars_repo_path": "app/view/rumus/insentifhadir/RmsInsentifHadirModel.js", "max_stars_repo_name": "grouppenggajian/penggajian", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/view/rumus/insentifhadir/RmsInsentifHadirModel.js", "max_issues_repo_name": "grouppenggajian/penggajian", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/view/rumus/insentifhadir/RmsInsentifHadirModel.js", "max_forks_repo_name": "grouppenggajian/penggajian", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 22.8714285714, "max_line_length": 87, "alphanum_fraction": 0.32792005}
Ext.define('Penggajian.view.rumus.insentifhadir.RmsInsentifHadirModel', {
    extend: 'Ext.app.ViewModel',

    alias: 'viewmodel.rmsinsentifhadir',

    stores: {        
        storermsinsentifhadir:{
            extend: 'Ext.data.Store',
//            storeId:'storeshift',
//            requires:[
//            'Ext.ux.DataFieldTime'
//            ],
            //    autoLoad:true,
            proxy: {
                type: 'ajax',        
                url: Penggajian.Global.getApiUrl()+'rumusinsentifhadir/load',
                reader: {
                    type: 'json',
            
                    rootProperty    : 'data',
                    totalProperty   : 'record'
                },
                writer: {
                    type: 'json',
                    writeAllFields  : true,
                    rootProperty            : 'data'
                }
            }
            ,
            fields: [
               
            {
                name:'id'
            },

            {
                name:'kategori_ijin'
            },

            {
                name:'keterangan'
            },

            {
                name:'tipe_ijin'
            },

            {
                name:'keterangan_tipe'
            },
             {
                name:'jenisharikerja'
            },
             {
                name:'harikerja'
            },

            {
                name:'kali_ijin'
            },

            {
                name:'nilai_insentif'
            }

          

            
        
      
            ]
            
    
        },storekategori_absen_rih:{
            extend: 'Ext.data.Store',
//            storeId:'storeshift',
//            requires:[
//            'Ext.ux.DataFieldTime'
//            ],
            //    autoLoad:true,
            proxy: {
                type: 'ajax',        
                url: Penggajian.Global.getApiUrl()+'ijin/kategoriabsen?jenis=0',
                reader: {
                    type: 'json',
            
                    rootProperty    : 'data',
                    totalProperty   : 'record'
                }
            }
            ,
            fields: [
               
            
           {	name:	'kode'	},
{	name:	'keterangan'	},
{	name:	'nilai'	},
{	name:	'loadform'	}

            
        
      
            ]
            
    
        },storejenisharikerja:{
            extend: 'Ext.data.Store',
//            storeId:'storeshift',
//            requires:[
//            'Ext.ux.DataFieldTime'
//            ],
            //    autoLoad:true,
            proxy: {
                type: 'ajax',        
                url: Penggajian.Global.getApiUrl()+'rumusinsentifhadir/jenisharikerja',
                reader: {
                    type: 'json',
            
                    rootProperty    : 'data',
                    totalProperty   : 'record'
                }
            }
            ,
            fields: [
               {	name:	'id'	},
{	name:	'name'	}
           
          

            
        
      
            ]
            
    
        }
    }

//TODO - add data, formulas and/or methods to support your view
});