Ignore:
Timestamp:
25 Mar 2021, 09:45:54 (4 years ago)
Author:
Henrik Bettermann
Message:

Add payment option (p_option) field to payment tickets and add
select box on online payment add form pages. Disable this feature
in the base package.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/utils/utils.py

    r16299 r16431  
    188188        }
    189189
     190    #: If PAYMENT_OPTIONS is empty, payment option fields won't show up.
     191    PAYMENT_OPTIONS = {
     192        #'credit_card': 'Credit Card',
     193        #'debit_card': 'Debit Card',
     194        }
     195
    190196    def selectable_payment_categories(self, student):
    191197        return self.PAYMENT_CATEGORIES
     198
     199    def selectable_payment_options(self, student):
     200        return self.PAYMENT_OPTIONS
    192201
    193202    PREVIOUS_PAYMENT_CATEGORIES = deepcopy(PAYMENT_CATEGORIES)
Note: See TracChangeset for help on using the changeset viewer.