Changeset 12602 for main/waeup.fceokene
- Timestamp:
- 12 Feb 2015, 06:05:28 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py
r12188 r12602 153 153 amount = 7763 154 154 elif category == 'schoolfee': 155 try: 156 certificate = student['studycourse'].certificate 157 p_item = certificate.code 158 except (AttributeError, TypeError): 155 p_item = student.certcode 156 if not p_item: 159 157 return _('Study course data are incomplete.'), None 160 158 … … 168 166 elif student.current_mode == 'pd_ft': 169 167 amount = 35300 168 169 #Short Duration ICT Programs 170 elif p_item in ('CCO','DPMTS','DTPGD') and \ 171 student.state == CLEARED: 172 amount = 15000 173 elif p_item in ('ADTPGD','ADPMTS') and \ 174 student.state == CLEARED: 175 amount = 16000 176 elif p_item in ('ADPMTSI','ADTPGDI','DPMTSI','DTPGDI') and \ 177 student.state == CLEARED: 178 amount = 25000 179 elif p_item in ('ADPMTSA','ADTPGDA') and \ 180 student.state == CLEARED: 181 amount = 35000 182 170 183 # UG 171 184 elif student.current_mode == 'ug_ft':
Note: See TracChangeset for help on using the changeset viewer.