- Timestamp:
- 23 Aug 2016, 09:41:32 (8 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py
r13888 r14117 110 110 ) 111 111 112 late_pg_registration_fee = schema.Float( 113 title = _(u'Late PG Course Reg. Fee'), 114 default = 0.0, 115 required = True, 116 ) 117 112 118 welfare_fee = schema.Float( 113 119 title = _(u'AAU Student Welfare Assurance Fee'), … … 141 147 142 148 coursereg_deadline = schema.Datetime( 143 title = _(u'Course Reg. Deadline'), 149 title = _(u'FT Course Reg. Deadline'), 150 required = False, 151 description = _('Example: ') + u'2011-12-31 23:59:59+01:00', 152 ) 153 154 coursereg_deadline_pg = schema.Datetime( 155 title = _(u'PG Course Reg. Deadline'), 156 required = False, 157 description = _('Example: ') + u'2011-12-31 23:59:59+01:00', 158 ) 159 160 coursereg_deadline_pt = schema.Datetime( 161 title = _(u'PT Course Reg. Deadline'), 162 required = False, 163 description = _('Example: ') + u'2011-12-31 23:59:59+01:00', 164 ) 165 166 coursereg_deadline_dp = schema.Datetime( 167 title = _(u'DP Course Reg. Deadline'), 168 required = False, 169 description = _('Example: ') + u'2011-12-31 23:59:59+01:00', 170 ) 171 172 coursereg_deadline_found = schema.Datetime( 173 title = _(u'FOUND Course Reg. Deadline'), 144 174 required = False, 145 175 description = _('Example: ') + u'2011-12-31 23:59:59+01:00', -
main/waeup.aaue/trunk/src/waeup/aaue/students/studylevel.py
r14082 r14117 99 99 return True 100 100 try: 101 deadline = grok.getSite()['configuration'][ 102 str(self.level_session)].coursereg_deadline 101 if self.student.is_postgrad: 102 deadline = grok.getSite()['configuration'][ 103 str(self.level_session)].coursereg_deadline_pg 104 elif self.student.current_mode.startswith('dp'): 105 deadline = grok.getSite()['configuration'][ 106 str(self.level_session)].coursereg_deadline_dp 107 elif self.student.current_mode.endswith('_pt'): 108 deadline = grok.getSite()['configuration'][ 109 str(self.level_session)].coursereg_deadline_pt 110 elif self.student.current_mode == 'found': 111 deadline = grok.getSite()['configuration'][ 112 str(self.level_session)].coursereg_deadline_found 113 else: 114 deadline = grok.getSite()['configuration'][ 115 str(self.level_session)].coursereg_deadline 103 116 except (TypeError, KeyError): 104 117 return True -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r14089 r14117 227 227 gateway_net_amt(academic_session.lapel_fee) 228 228 elif category == 'late_registration': 229 amount = academic_session.late_registration_fee 229 if student.is_postgrad: 230 amount = academic_session.late_pg_registration_fee 231 else: 232 amount = academic_session.late_registration_fee 230 233 elif category.startswith('schoolfee'): 231 234 try:
Note: See TracChangeset for help on using the changeset viewer.