Changeset 13184 for main/waeup.kwarapoly


Ignore:
Timestamp:
3 Aug 2015, 09:22:08 (9 years ago)
Author:
Henrik Bettermann
Message:

Jason: The school requested that we change account numbers for entrance screening test applications (more or less swap the the numbers from one payment item to another).

Location:
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/browser.py

    r13102 r13184  
    252252        elif self.applicant.applicant_id.startswith('prejambites') or \
    253253            self.applicant.applicant_id.startswith('putme'):
    254             # changed for prejambites from GTBank '0106259811' to FBN '2013910271'
    255             xmldict['institution_acct'] = '2013910271'
     254            # reverting for prejambites to GTBank '0106259811' from FBN '2013910271'
     255            xmldict['institution_acct'] = '0106259811'
    256256            xmldict['institution_bank_id'] = '8'
    257257            self.pay_item_id = '104'
     
    262262            #dalash_amt = 400.0
    263263        elif self.applicant.applicant_id.startswith('pre'):
    264             # changed for prejambites from FBN '2013910271' to GTBank '0106259811'
    265             xmldict['institution_acct'] = '0106259811'
    266             xmldict['institution_bank_id'] = '10'
     264            # changed for pre-applicants from GTBank '0106259811' to Skye Bank '1771440667'
     265            xmldict['institution_acct'] = '1771440667'
     266            xmldict['institution_bank_id'] = '120'
    267267            # Until 14/9/2014 we have not sent split amount data for pre applications.
    268268            # To compenstate the loss we temporarily doubled the split amounts
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py

    r13102 r13184  
    596596        self.assertTrue(
    597597            '<item_detail item_id="1" item_name="Application" '
    598             'item_amt="253300" bank_id="10" acct_num="0106259811" />'
     598            'item_amt="253300" bank_id="120" acct_num="1771440667" />'
    599599            in self.browser.contents)
    600600        # No 'commission', no provider fee in 2013
     
    620620        self.assertTrue(
    621621            '<item_detail item_id="1" item_name="Application" '
    622             'item_amt="253300" bank_id="8" acct_num="2013910271" />'
     622            'item_amt="253300" bank_id="8" acct_num="0106259811" />'
    623623            in self.browser.contents)
    624624        # No 'commission', no provider fee in 2013
     
    647647        self.assertTrue(
    648648            '<item_detail item_id="1" item_name="Application" '
    649             'item_amt="253300" bank_id="8" acct_num="2013910271" />'
     649            'item_amt="253300" bank_id="8" acct_num="0106259811" />'
    650650            in self.browser.contents)
    651651        self.assertTrue(
Note: See TracChangeset for help on using the changeset viewer.