Changeset 15776


Ignore:
Timestamp:
7 Nov 2019, 21:10:00 (5 years ago)
Author:
Henrik Bettermann
Message:

Adjust to Nigeria package.

Clearance/acceptance fee for nce_pt is 15000 for both local and non-local.

Location:
main/kofacustom.coewarri/trunk/src/kofacustom/coewarri
Files:
2 edited

Legend:

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

    r15335 r15776  
    6767            self.redirect(self.url(self.context, '@@index'))
    6868            return
     69        self.context.r_company = u'interswitch'
    6970        student = self.student
    7071        xmldict = self.xmldict
     
    125126        self.context.provider_amt = provider_amt
    126127        self.context.gateway_amt = GATEWAY_AMT
    127 
     128        self.amount_auth = int(100 * self.context.amount_auth)
    128129        hashargs = (
    129130            self.context.p_id +
     
    154155            self.redirect(self.url(self.context, '@@index'))
    155156            return
     157        self.context.r_company = u'interswitch'
    156158        xmldict = {}
    157159        provider_amt = 500.0
     
    176178        self.context.provider_amt = provider_amt
    177179        self.context.gateway_amt = GATEWAY_AMT
    178 
     180        self.amount_auth = int(100 * self.context.amount_auth)
    179181        hashargs = (
    180182            self.context.p_id +
  • main/kofacustom.coewarri/trunk/src/kofacustom/coewarri/students/utils.py

    r15752 r15776  
    158158                amount = academic_session.clearance_fee_1
    159159            if local_nonlocal(student) == 'non-local'  \
    160                 and student.entry_mode != 'nce_we_pt':
     160                and student.entry_mode not in ('nce_we_pt', 'nce_pt'):
    161161                amount += 5000.0
    162162        elif category == 'bed_allocation':
Note: See TracChangeset for help on using the changeset viewer.