Ignore:
Timestamp:
22 Jan 2015, 20:43:38 (10 years ago)
Author:
Henrik Bettermann
Message:

Provide self.category for backwards compatibility.

File:
1 edited

Legend:

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

    r12477 r12509  
    182182            xmldict['department'] = None
    183183            xmldict['faculty'] = None
    184         self.category = kofa_utils.PAYMENT_CATEGORIES[self.context.p_category]
     184        self.category = self.context.category
    185185        tz = kofa_utils.tzinfo
    186186        self.local_date_time = to_timezone(
     
    226226        self.applicant = self.context.__parent__
    227227        self.amount_auth = int(100 * self.context.amount_auth)
    228         self.category = getUtility(IKofaUtils).PAYMENT_CATEGORIES[self.context.p_category]
     228        self.category = self.context.category
    229229        tz = getUtility(IKofaUtils).tzinfo
    230230        self.local_date_time = to_timezone(
Note: See TracChangeset for help on using the changeset viewer.