~registry/dhis2-academy/group7

« back to all changes in this revision

Viewing changes to dhis-2/dhis-web/dhis-web-touch/src/main/webapp/dhis-web-touch/app/models/PopulationModel.js

  • Committer: Olga Voronkova
  • Date: 2011-12-04 20:15:12 UTC
  • Revision ID: olgavo@student.matnat.uio.no-20111204201512-f2r5tx39vqwrirbz
correction to my last commit: feedback is showing on save. edited field names in the store to correspond to dhis2 names

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
Ext.regModel('Population', {
2
2
        fields: [
3
 
                {name: 'orgunitid', type: 'int'},
4
 
                {name: 'datasetid', type: 'int'},
5
 
                {name: 'periodId',     type: 'int'},
6
 
        
7
 
                {name: 'tp1',     type: 'string'},
8
 
                {name: 'tp2',    type: 'string'},
9
 
                {name: 'pregnancies',      type: 'string'},
10
 
                {name: 'tp',     type: 'string'},
11
 
                {name: 'WRA',   type: 'string'}
 
3
                {name: 'organisationUnitId', type: 'int'},
 
4
                {name: 'dataSetId', type: 'int'},
 
5
                {name: 'periodId', type: 'int'},
 
6
                {name: 'validated', type: 'boolean'},
 
7
                
 
8
                {name: 'DE20824OC4',     type: 'string'}, //Total population <1y
 
9
                {name: 'DE20826OC4',    type: 'string'}, //Total population < 5
 
10
                {name: 'DE20899OC4',      type: 'string'}, //Expected pregnancies 
 
11
                {name: 'DE5808OC4',     type: 'string'},  //Total Population
 
12
                {name: 'DE20825OC4',   type: 'string'} //WRA
12
13
        ]
13
 
});
 
 
b'\\ No newline at end of file'
 
14
});