Changeset 8545


Ignore:
Timestamp:
29 May 2012, 11:38:10 (12 years ago)
Author:
Henrik Bettermann
Message:

Reduce BT share from 400 to 250 Nairas for putme applicants.

File:
1 edited

Legend:

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

    r8433 r8545  
    313313        self.site_redirect_url = self.url(self.context, 'request_webservice')
    314314        # Provider data
     315        if self.applicant.applicant_id.startswith('pg'):
     316            provider_amt = 400
     317        else:
     318            provider_amt = 250
    315319        xmldict['detail_ref'] = self.context.p_id
    316         xmldict['provider_amt'] = 100 * 400
     320        xmldict['provider_amt'] = 100 * provider_amt
    317321        xmldict['provider_acct'] = PROVIDER_ACCT
    318322        xmldict['provider_bank_id'] = PROVIDER_BANK_ID
    319323        xmldict['provider_item_name'] = PROVIDER_ITEM_NAME
    320324        # Institution data
    321         xmldict['institution_amt'] = 100 * (self.context.amount_auth - 400 - 150)
     325        xmldict['institution_amt'] = 100 * (self.context.amount_auth - provider_amt - 150)
    322326        xmldict['institution_acct'] = '0031716030'
    323327        xmldict['institution_bank_id'] = '10'
Note: See TracChangeset for help on using the changeset viewer.