Ignore:
Timestamp:
5 Nov 2019, 23:19:58 (5 years ago)
Author:
Henrik Bettermann
Message:

Prepare all payment gateway modules for net amount fee configuration. In the future, provider and gateway surcharges will be determined and added just before the data are being send to the gateways for the first time.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/applicants/payment.py

    r15730 r15755  
    4141        return
    4242
    43     @property
    44     def net_amt(self):
    45         return self.amount_auth - self.provider_amt - self.gateway_amt
    46 
    4743NigeriaApplicantOnlinePayment = attrs_to_fields(
    48     NigeriaApplicantOnlinePayment, omit=['display_item', 'net_amt'])
     44    NigeriaApplicantOnlinePayment, omit=['display_item',])
    4945
    5046# Applicant online payments must be importable. So we might need a factory.
Note: See TracChangeset for help on using the changeset viewer.