- Timestamp:
- 25 Nov 2019, 11:02:44 (5 years ago)
- Location:
- main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/applicantsbrowser.py
r15770 r15842 72 72 self.context.__parent__.__parent__.year, self.context): 73 73 return '' 74 if self.context.p_state in ('paid', 'waived' ):74 if self.context.p_state in ('paid', 'waived', 'scholarship'): 75 75 return '' 76 76 return self.view.url(self.view.context, self.target) … … 113 113 self.context.__parent__.__parent__.year, self.context): 114 114 return 115 if self.context.p_state in ('paid', 'waived' ):115 if self.context.p_state in ('paid', 'waived', 'scholarship'): 116 116 self.flash(_('This ticket has already been paid.'), type='danger') 117 117 return -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/studentsbrowser.py
r15825 r15842 81 81 self.context.student.current_session, self.context): 82 82 return '' 83 if self.context.p_state in ('paid', 'waived' ):83 if self.context.p_state in ('paid', 'waived', 'scholarship'): 84 84 return '' 85 85 return self.view.url(self.view.context, self.target) … … 123 123 self.context.student.current_session, self.context): 124 124 return 125 if self.context.p_state in ('paid', 'waived' ):125 if self.context.p_state in ('paid', 'waived', 'scholarship'): 126 126 self.flash(_('This ticket has already been paid.'), type='danger') 127 127 return -
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/webservices.py
r15351 r15842 96 96 continue 97 97 ticket = results[0] 98 if ticket.p_state == 'waived':98 if ticket.p_state in ('waived', 'scholarship'): 99 99 failed += 1 100 100 continue
Note: See TracChangeset for help on using the changeset viewer.