- Timestamp:
- 1 Dec 2022, 10:00:01 (2 years ago)
- 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
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 -
main/kofacustom.lpng/trunk/src/kofacustom/lpng/applicants/browser_templates/applicantdisplaypage.pt
r17091 r17191 52 52 </table> 53 53 54 <br /> 55 56 <a href="ussdinfo" class="btn btn-primary">Make Donation via USSD</a> 57 54 58 <tal:payments condition="view/display_payments"> 55 59 <h3 i18n:domain="waeup.kofa" i18n:translate="">
Note: See TracChangeset for help on using the changeset viewer.