Ignore:
Timestamp:
27 May 2015, 15:55:13 (9 years ago)
Author:
Henrik Bettermann
Message:

Non-imported payment tickets must not be submitted to Interswitch if they
are older than 1 day

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py

    r12973 r13007  
    168168        tz = getUtility(IKofaUtils).tzinfo
    169169        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:
    171171            return _("This payment ticket is too old. Please create a new ticket.")
    172172        student = self.context.student
Note: See TracChangeset for help on using the changeset viewer.