Changeset 15742
- Timestamp:
- 2 Nov 2019, 08:07:06 (5 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/interfaces.py
r15458 r15742 230 230 ) 231 231 232 fac_dep_fee = schema.Float(233 title = _(u'Faculty and Departmental Dues'),234 default = 0.0,235 required = True,236 )232 #fac_dep_fee = schema.Float( 233 # title = _(u'Faculty and Departmental Dues'), 234 # default = 0.0, 235 # required = True, 236 # ) 237 237 238 238 restitution_fee = schema.Float( -
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r15735 r15742 602 602 # Faculty and Departmental Dues 603 603 elif self.context.p_category == 'fac_dep': 604 xmldict['institution_acct'] = '1016425386' 605 xmldict['institution_bank_id'] = '117' 604 606 self.pay_item_id = '117' 605 607 xmldict['institution_amt'] = 100 * ( -
main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_export.py
r15667 r15742 111 111 result = open(self.outfile, 'rb').read() 112 112 self.assertMatches( 113 'ac,amount_auth,creation_date,gateway_amt, p_category,p_combi,p_current,'113 'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,' 114 114 'p_id,p_item,p_level,p_session,p_split_data,p_state,payment_date,provider_amt,' 115 115 'r_amount_approved,r_card_num,r_code,r_company,r_desc,' 116 116 'r_pay_reference,thirdparty_amt,student_id,state,' 117 117 'current_session\r\n' 118 '666,12.12,%s-04-01 13:12:01#,, schoolfee,[],1,my-id,p-item,'118 '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,' 119 119 '100,%s,,paid,%s-04-01 14:12:01#,,12.12,' 120 120 '789,r-code,interswatch,,,,A111111,created,2012\r\n' -
main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py
r15714 r15742 462 462 else: 463 463 amount += academic_session.penalty_ug 464 elif category == ('fac_dep'): 465 if student.faccode in ('FAT', 'FED', 'FLW', 'FMS', 'FSS'): 466 amount = 4000.0 467 elif student.faccode in ('FAG', 'FBM', 'FCS', 468 'FES', 'FET', 'FLS', 'FPS'): 469 amount = 5000.0 470 elif student.faccode == 'AGR' and student.current_level == 400: 471 amount = 10000.0 472 elif student.depcode == 'VAT': 473 amount = 5000.0 464 474 elif not student.is_postgrad: 465 475 fee_name = category + '_fee'
Note: See TracChangeset for help on using the changeset viewer.