Changeset 13007
- Timestamp:
- 27 May 2015, 15:55:13 (10 years ago)
- Location:
- main/kofacustom.nigeria/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/CHANGES.txt
r12973 r13007 5 5 ================ 6 6 7 - Tickets must not be submitted to Interswitch if they are older than 1 day. 7 - Non-imported payment tickets must not be submitted to Interswitch if they 8 are older than 1 day. 8 9 9 10 - Ensure that lga and nationality are not contradictory. -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py
r12973 r13007 168 168 tz = getUtility(IKofaUtils).tzinfo 169 169 time_delta = datetime.utcnow() - self.context.creation_date 170 if time_delta.seconds > 3600:170 if self.context.created_online and time_delta.seconds > 3600: 171 171 return _("This payment ticket is too old. Please create a new ticket.") 172 172 student = self.context.student -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py
r12875 r13007 118 118 result = open(self.outfile, 'rb').read() 119 119 self.assertMatches( 120 'ac,amount_auth,creat ion_date,gateway_amt,p_category,p_current,'120 'ac,amount_auth,created_online,creation_date,gateway_amt,p_category,p_current,' 121 121 'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,' 122 122 'r_amount_approved,r_card_num,r_code,r_company,r_desc,' 123 123 'r_pay_reference,thirdparty_amt,student_id,state,' 124 124 'current_session\r\n' 125 '666,12.12, 2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'125 '666,12.12,0,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,' 126 126 '100,2012,paid,2012-04-01 14:12:01#,,12.12,' 127 127 '789,r-code,interswatch,,,,A111111,created,2012\r\n',
Note: See TracChangeset for help on using the changeset viewer.