Changeset 8243
- Timestamp:
- 22 Apr 2012, 08:36:07 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa/applicants
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r8203 r8243 448 448 grok.name('addafp') 449 449 grok.require('waeup.payApplicant') 450 factory = u'waeup.ApplicantOnlinePayment' 450 451 451 452 def update(self): … … 465 466 self.redirect(self.url(self.context)) 466 467 return 467 payment = createObject( u'waeup.ApplicantOnlinePayment')468 payment = createObject(self.factory) 468 469 payment.p_id = "p%s" % timestamp 469 470 payment.p_item = self.context.__parent__.title -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/viewlets.py
r7997 r8243 188 188 @property 189 189 def target_url(self): 190 if self.context.p_state != 'unpaid':190 if self.context.p_state == 'paid': 191 191 return '' 192 192 return self.view.url(self.view.context, self.target)
Note: See TracChangeset for help on using the changeset viewer.