- Timestamp:
- 24 Jan 2020, 14:21:05 (5 years ago)
- Location:
- main/waeup.aaue/trunk/src/waeup/aaue
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.aaue/trunk/src/waeup/aaue/applicants/browser.py
r15951 r15952 573 573 return form_fields 574 574 575 @action(_('Save'), style='primary')576 def save(self, **data):577 if self.upload_success is False: # False is not None!578 # Error during image upload. Ignore other values.579 return580 if self.target == 'fedex':581 cat = getUtility(ICatalog, name='applicants_catalog')582 results = list(cat.searchResults(583 applicant_id=(data['trans_id'], data['trans_id'])))584 if not results:585 self.flash(_('The transcript application id does not exist.'),586 type='danger')587 return588 self.applyData(self.context, **data)589 self.flash(_('Form has been saved.'))590 return591 592 575 def update(self): 593 576 if self.context.locked or ( -
main/waeup.aaue/trunk/src/waeup/aaue/interswitch/browser.py
r15948 r15952 141 141 elif self.applicant.__parent__.prefix in ('ver', 'send'): 142 142 provider_amt = 0.0 143 elif self.applicant.__parent__.prefix == 'fedex': 144 provider_amt = 0.0 145 self.institution_acct = ' 1010041670' 146 self.institution_bank_id = '117' 143 147 xmldict = {} 144 148 xmldict['detail_ref'] = self.context.p_id
Note: See TracChangeset for help on using the changeset viewer.