- Timestamp:
- 1 Dec 2022, 10:00:01 (22 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/browser.py
r17190 r17191 129 129 ]] 130 130 if state == STARTED: 131 actions = [[_('Save') ],131 actions = [[_('Save'), _('Save and Make Donation via USSD')], 132 132 [ 133 133 #_('Add online payment ticket'), … … 181 181 return 182 182 183 @action(_(' Make Donation via USSD Money Transfer'), style='primary')183 @action(_('Save and Make Donation via USSD'), style='primary') 184 184 def makeUSSDonation(self, **data): 185 self.redirect(self.url(self.context, '@USSSD')) 185 if self.upload_success is False: # False is not None! 186 # Error during image upload. Ignore other values. 187 return 188 self.applyData(self.context, **data) 189 self.redirect(self.url(self.context, '@ussdinfo')) 186 190 return 187 191
Note: See TracChangeset for help on using the changeset viewer.