Changeset 17302 for main/kofacustom.lpng/trunk/src
- Timestamp:
- 17 Jan 2023, 07:29:23 (2 years ago)
- Location:
- main/kofacustom.lpng/trunk/src/kofacustom/lpng
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/browser.py
r17254 r17302 160 160 if self.context.state in applicants_utils.BALANCE_PAYMENT_STATES: 161 161 actions[1].append(_('Make Donation')) 162 #actions[1].append(_('Make Donation via USSD'))163 162 return actions 164 163 -
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/viewlets.py
r17254 r17302 51 51 target ='punitformpage' 52 52 53 class Make USSDDonationActionButton(ManageActionButton):53 class MakeDonationActionButton(ManageActionButton): 54 54 grok.order(1) 55 55 grok.context(ICustomApplicant) … … 60 60 target ='addbp' 61 61 62 class Make USSDDonationActionButton2(MakeUSSDDonationActionButton):62 class MakeDonationActionButton2(MakeDonationActionButton): 63 63 grok.view(ApplicantEditFormPage) 64 64 … … 74 74 @property 75 75 def target_url(self): 76 # diabled on 17/01/2023 77 return '' 76 78 if self.context.p_state != 'unpaid': 77 79 return '' -
main/kofacustom.lpng/trunk/src/kofacustom/lpng/utils/utils.py
r17254 r17302 32 32 33 33 PAYMENT_OPTIONS = { 34 'NGN': 'Amount in Naira (Payment via Interswitch or USSD)',34 'NGN': 'Amount in Naira (Payment via Interswitch)', 35 35 'USD': 'Amount in Dollar (Payment via Paypal)', 36 36 }
Note: See TracChangeset for help on using the changeset viewer.