- Timestamp:
- 6 May 2014, 17:40:21 (11 years ago)
- Location:
- main/waeup.kwarapoly/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/CHANGES.txt
r11577 r11623 4 4 1.2dev (unreleased) 5 5 =================== 6 7 * Fees are required and must not be set to None. 8 9 * Session specific penalty fees added before re-categorization of carryover fees. 6 10 7 11 * Webservice test extended to ensure that special payment applicants -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interfaces.py
r11065 r11623 35 35 title = _(u'School Fee (ignored)'), 36 36 default = 0.0, 37 required = False,37 required = True, 38 38 ) 39 39 … … 41 41 title = _(u'Application Fee (fallback)'), 42 42 default = 0.0, 43 required = False,43 required = True, 44 44 ) 45 45 … … 47 47 title = _(u'Clearance Fee'), 48 48 default = 0.0, 49 required = False,49 required = True, 50 50 ) 51 51 … … 53 53 title = _(u'Booking Fee'), 54 54 default = 0.0, 55 required = False,55 required = True, 56 56 ) 57 57 … … 61 61 title = _(u'Maintenance Fee (fallback)'), 62 62 default = 0.0, 63 required = False,63 required = True, 64 64 ) 65 65 … … 67 67 title = _(u'Gown Fee'), 68 68 default = 0.0, 69 required = False,69 required = True, 70 70 ) 71 71 … … 73 73 title = _(u'Transfer Fee'), 74 74 default = 0.0, 75 required = False,75 required = True, 76 76 ) 77 77 … … 79 79 title = _(u' Certificate Fee'), 80 80 default = 0.0, 81 required = False,81 required = True, 82 82 ) 83 83 state_result_fee = schema.Float( 84 84 title = _(u'Statement of Result Fee'), 85 85 default = 0.0, 86 required = False,86 required = True, 87 87 ) 88 88 transcript_local_fee = schema.Float( 89 89 title = _(u'Transcript (local) Fee'), 90 90 default = 0.0, 91 required = False,91 required = True, 92 92 ) 93 93 transcript_foreign_fee = schema.Float( 94 94 title = _(u'Transcript (foreign) Fee'), 95 95 default = 0.0, 96 required = False,96 required = True, 97 97 ) 98 98 ver_result_fee = schema.Float( 99 99 title = _(u'Verification of Result Fee'), 100 100 default = 0.0, 101 required = False,101 required = True, 102 102 ) 103 103 change_course_fee = schema.Float( 104 104 title = _(u'Change of Course Fee'), 105 105 default = 0.0, 106 required = False,106 required = True, 107 107 ) 108 108 change_inst_fee = schema.Float( 109 109 title = _(u'Change of Institute Fee'), 110 110 default = 0.0, 111 required = False,111 required = True, 112 112 ) 113 113 jamb_reject_fee = schema.Float( 114 114 title = _(u'JAMB Rejection Form Fee'), 115 115 default = 0.0, 116 required = False,116 required = True, 117 117 ) 118 118 cert_of_cert_fee = schema.Float( 119 119 title = _(u'Certification of Certificate Fee'), 120 120 default = 0.0, 121 required = False,121 required = True, 122 122 ) 123 123 ref_let_fee = schema.Float( 124 124 title = _(u'Recommendation/Reference Letter Fee'), 125 125 default = 0.0, 126 required = False,126 required = True, 127 127 ) 128 128 proc_cert_fee = schema.Float( 129 129 title = _(u'Processing of Certificate by Proxy Fee'), 130 130 default = 0.0, 131 required = False,131 required = True, 132 132 ) 133 133 loss_idcard_fee = schema.Float( 134 134 title = _(u'Loss of ID Card Fee'), 135 135 default = 0.0, 136 required = False,136 required = True, 137 137 ) 138 138 loss_examcard_fee = schema.Float( 139 139 title = _(u'Loss of Exam Card Fee'), 140 140 default = 0.0, 141 required = False,141 required = True, 142 142 ) 143 143 loss_result_fee = schema.Float( 144 144 title = _(u'Loss of Result Fee'), 145 145 default = 0.0, 146 required = False,146 required = True, 147 147 ) 148 148 loss_receipt_fee = schema.Float( 149 149 title = _(u'Loss of Receipt Fee'), 150 150 default = 0.0, 151 required = False,151 required = True, 152 152 ) 153 153 loss_clearance_fee = schema.Float( 154 154 title = _(u'Loss of Clearance Fee'), 155 155 default = 0.0, 156 required = False,156 required = True, 157 157 ) 158 158 conv_brochure_fee = schema.Float( 159 159 title = _(u'Convocation Brochure Fee'), 160 160 default = 0.0, 161 required = False,161 required = True, 162 162 ) 163 163 penalty_ug = schema.Float( 164 164 title = _(u'UG Penalty Fee'), 165 165 default = 0.0, 166 required = False,166 required = True, 167 167 ) 168 168 … … 170 170 title = _(u'PG Penalty Fee'), 171 171 default = 0.0, 172 required = False,172 required = True, 173 173 ) 174 174 -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py
r11453 r11623 258 258 ticket.p_session == p_session: 259 259 return _('This type of payment has already been made.'), None 260 # Add session specific penalty fee. 261 if category == 'schoolfee' and student.is_postgrad: 262 amount += academic_session.penalty_pg 263 elif category == 'schoolfee': 264 amount += academic_session.penalty_ug 265 # Recategorize carryover fees. 260 266 if category.startswith('carryover'): 261 267 p_item = getUtility(IKofaUtils).PAYMENT_CATEGORIES[category] … … 263 269 # Now we change the category to reduce the number of categories. 264 270 category = 'schoolfee' 265 # Add session specific penalty fee.266 if category == 'schoolfee' and student.is_postgrad:267 amount += academic_session.penalty_pg268 elif category == 'schoolfee':269 amount += academic_session.penalty_ug270 271 if self._isPaymentDisabled(p_session, category, student): 271 272 return _('Payment temporarily disabled.'), None
Note: See TracChangeset for help on using the changeset viewer.