Ignore:
Timestamp:
10 Sep 2020, 09:33:13 (4 years ago)
Author:
Henrik Bettermann
Message:

Implement PG schoolfee payments.

Show provider_amt in payment ticket pages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/etranzact/browser.py

    r16222 r16233  
    160160        # and add the gateway amount.
    161161        provider_amt = 0.0
    162         if self.context.p_category == 'registration' or \
    163             self.context.p_category == 'required_combi':
     162        if self.context.p_category in (
     163            'registration', 'required_combi', 'pg_other'):
    164164            provider_amt = 5000.0
    165165        if not self.context.r_company:
     
    223223        # and add the gateway amount.
    224224        provider_amt = 0.0
    225         if self.context.p_category == 'registration'or \
    226             self.context.p_category == 'required_combi':
     225        if self.context.p_category in (
     226            'registration', 'required_combi', 'pg_other'):
    227227            provider_amt = 5000.0
    228228        if not self.context.r_company:
Note: See TracChangeset for help on using the changeset viewer.