Ignore:
Timestamp:
28 May 2015, 14:00:57 (10 years ago)
Author:
Henrik Bettermann
Message:

Revert changes from r13007.

Location:
main/kofacustom.nigeria/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/CHANGES.txt

    r13007 r13013  
    55================
    66
    7 - Non-imported payment tickets must not be submitted to Interswitch if they
     7- Payment tickets must not be submitted to Interswitch if they
    88  are older than 1 day.
    99
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py

    r13007 r13013  
    168168        tz = getUtility(IKofaUtils).tzinfo
    169169        time_delta = datetime.utcnow() - self.context.creation_date
    170         if self.context.created_online and time_delta.seconds > 3600:
     170        if time_delta.seconds > 3600:
    171171            return _("This payment ticket is too old. Please create a new ticket.")
    172172        student = self.context.student
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/students/tests/test_export.py

    r13007 r13013  
    118118        result = open(self.outfile, 'rb').read()
    119119        self.assertMatches(
    120             'ac,amount_auth,created_online,creation_date,gateway_amt,p_category,p_current,'
     120            'ac,amount_auth,creation_date,gateway_amt,p_category,p_current,'
    121121            'p_id,p_item,p_level,p_session,p_state,payment_date,provider_amt,'
    122122            'r_amount_approved,r_card_num,r_code,r_company,r_desc,'
    123123            'r_pay_reference,thirdparty_amt,student_id,state,'
    124124            'current_session\r\n'
    125             '666,12.12,0,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
     125            '666,12.12,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
    126126            '100,2012,paid,2012-04-01 14:12:01#,,12.12,'
    127127            '789,r-code,interswatch,,,,A111111,created,2012\r\n',
Note: See TracChangeset for help on using the changeset viewer.