Changeset 16820
- Timestamp:
- 21 Feb 2022, 11:58:38 (3 years ago)
- Location:
- main/kofacustom.edopoly/trunk/src/kofacustom/edopoly
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interfaces.py
r16342 r16820 165 165 ) 166 166 167 cyber_fee = schema.Float( 168 title = _(u'Cyber Security Fee'), 169 default = 0.0, 170 required = False, 171 ) 172 173 ispon_fee = schema.Float( 174 title = _(u'ISPON Safety Fee'), 175 default = 0.0, 176 required = False, 177 ) 178 167 179 def getSessionString(): 168 180 """Returns the session string from the vocabulary. -
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/interswitch/browser.py
r15949 r16820 98 98 if self.context.p_category == 'nhis': 99 99 xmldict['institution_acct'] = '0075379404' 100 if self.context.p_category == 'cyber': 101 xmldict['institution_acct'] = '1220055070' 102 xmldict['institution_bank_id'] = '117' 103 if self.context.p_category == 'ispon': 104 xmldict['institution_acct'] = '1220055104' 105 xmldict['institution_bank_id'] = '117' 100 106 xmldict['institution_amt'] = '0.0' 101 107 self.pay_item_id = '101' # must be provided by Interswitch -
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/students/tests/test_export.py
r15777 r16820 104 104 self.assertMatches( 105 105 'ac,amount_auth,creation_date,gateway_amt,net_amt,p_category,p_combi,p_current,' 106 'p_id,p_item,p_level,p_ session,p_state,payment_date,provider_amt,'106 'p_id,p_item,p_level,p_option,p_session,p_state,payment_date,provider_amt,' 107 107 'r_amount_approved,r_card_num,r_code,r_company,r_desc,' 108 108 'r_pay_reference,thirdparty_amt,student_id,state,' 109 109 'current_session\r\n' 110 110 '666,12.12,%s-04-01 13:12:01#,,,schoolfee,[],1,my-id,p-item,' 111 '100, %s,paid,%s-04-01 14:12:01#,,12.12,'111 '100,,%s,paid,%s-04-01 14:12:01#,,12.12,' 112 112 '789,r-code,interswatch,,,,A111111,created,2012\r\n' 113 113 % (curr_year-6, curr_year-6, curr_year-6), result -
main/kofacustom.edopoly/trunk/src/kofacustom/edopoly/utils/utils.py
r16341 r16820 67 67 'project_bind': 'Project Binding Fee', 68 68 'maintenance':'Maintenance and Utility Fees', 69 'cyber': 'Cyber Security', 70 'ispon': 'ISPON Safety', 69 71 } 70 72 … … 93 95 'project_bind': 'Project Binding Fee', 94 96 'maintenance':'Maintenance and Utility Fees', 97 'cyber': 'Cyber Security', 98 'ispon': 'ISPON Safety', 95 99 } 96 100
Note: See TracChangeset for help on using the changeset viewer.