Changeset 11579 for main/kofacustom.nigeria/trunk
- Timestamp:
- 4 Apr 2014, 07:27:46 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py
r11571 r11579 80 80 def update(self): 81 81 if self.context.p_state == 'paid': 82 self.flash(_('This ticket has already been paid.') )82 self.flash(_('This ticket has already been paid.'), type='warning') 83 83 return 84 84 student = self.context.student … … 87 87 student.writeLogMessage(self, log) 88 88 if not success: 89 self.flash(msg )89 self.flash(msg, type='danger') 90 90 return 91 91 write_payments_log(student.student_id, self.context) … … 113 113 def update(self): 114 114 if self.context.p_state == 'paid': 115 self.flash(_('This ticket has already been paid.') )115 self.flash(_('This ticket has already been paid.'), type='warning') 116 116 return 117 117 applicant = self.context.__parent__ … … 120 120 applicant.writeLogMessage(self, log) 121 121 if not success: 122 self.flash(msg )122 self.flash(msg, type='danger') 123 123 return 124 124 write_payments_log(applicant.applicant_id, self.context)
Note: See TracChangeset for help on using the changeset viewer.