Ignore:
Timestamp:
17 Jan 2023, 07:29:23 (22 months ago)
Author:
Henrik Bettermann
Message:

Disable USSD payments.

Location:
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/browser.py

    r17254 r17302  
    160160        if self.context.state in applicants_utils.BALANCE_PAYMENT_STATES:
    161161            actions[1].append(_('Make Donation'))
    162             #actions[1].append(_('Make Donation via USSD'))
    163162        return actions
    164163
  • main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/viewlets.py

    r17254 r17302  
    5151    target ='punitformpage'
    5252
    53 class MakeUSSDDonationActionButton(ManageActionButton):
     53class MakeDonationActionButton(ManageActionButton):
    5454    grok.order(1)
    5555    grok.context(ICustomApplicant)
     
    6060    target ='addbp'
    6161
    62 class MakeUSSDDonationActionButton2(MakeUSSDDonationActionButton):
     62class MakeDonationActionButton2(MakeDonationActionButton):
    6363    grok.view(ApplicantEditFormPage)
    6464
     
    7474    @property
    7575    def target_url(self):
     76        # diabled on 17/01/2023
     77        return ''
    7678        if self.context.p_state != 'unpaid':
    7779            return ''
Note: See TracChangeset for help on using the changeset viewer.