Ignore:
Timestamp:
31 Oct 2019, 20:14:47 (5 years ago)
Author:
Henrik Bettermann
Message:

Finalize Payoutlet integration.

File:
1 edited

Legend:

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

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