Ignore:
Timestamp:
12 Jan 2024, 10:08:38 (10 months ago)
Author:
Henrik Bettermann
Message:

Configure bank account for the CDL portal.

File:
1 edited

Legend:

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

    r17664 r17665  
    244244    def COMBI_PAYMENT_CATEGORIES(self):
    245245        if grok.getSite().__name__ == 'iuokada-cdl':
    246             cpc = deepcopy(self.CDLPORTAL_COMBI_PAYMENT_CATEGORIES)
    247             return cpc
    248         cpc = deepcopy(self._COMBI_PAYMENT_CATEGORIES)
    249         return cpc
     246            return self.CDLPORTAL_COMBI_PAYMENT_CATEGORIES
     247        return self._COMBI_PAYMENT_CATEGORIES
    250248
    251249    CDLPORTAL_COMBI_PAYMENT_CATEGORIES = {
     
    313311        }
    314312
    315     PAYMENT_OPTIONS = {
     313    @property
     314    def PAYMENT_OPTIONS(self):
     315        if grok.getSite().__name__ == 'iuokada-cdl':
     316            return dict()
     317        return self._PAYMENT_OPTIONS
     318
     319    _PAYMENT_OPTIONS = {
    316320        'first': 'First Bank Debit Card',
    317321        'access': 'Access Bank Debit Card',
Note: See TracChangeset for help on using the changeset viewer.