- Timestamp:
- 11 Jan 2016, 08:57:40 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/interswitch/browser.py
r13584 r13585 86 86 @property 87 87 def target_url(self): 88 if self.context.p_state != 'paid': 88 if self.context.p_state != 'paid' \ 89 or self.context.r_company != u'interswitch': 89 90 return '' 90 91 return self.view.url(self.view.context, self.target) … … 186 187 187 188 def update(self): 188 if self.context.p_state != 'paid': 189 if self.context.p_state != 'paid' \ 190 or self.context.r_company != u'interswitch': 189 191 self.flash(_('This ticket has not been paid.'), type='danger') 190 192 return … … 219 221 220 222 def update(self): 221 if self.context.p_state != 'paid': 223 if self.context.p_state != 'paid' \ 224 or self.context.r_company != u'interswitch': 222 225 self.flash(_('This ticket has not been paid.'), type='danger') 223 226 return
Note: See TracChangeset for help on using the changeset viewer.