Changeset 8260
- Timestamp:
- 24 Apr 2012, 10:30:14 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser.py
r8258 r8260 442 442 return 443 443 444 class A cceptanceFeePaymentAddPage(UtilityView, grok.View):444 class ApplicationFeePaymentAddPage(UtilityView, grok.View): 445 445 """ Page to add an online payment ticket 446 446 """ … … 456 456 457 457 def update(self): 458 p_category = 'a cceptance'458 p_category = 'application' 459 459 session = str(self.context.__parent__.year) 460 460 try: … … 476 476 payment.p_session = self.context.__parent__.year 477 477 payment.p_category = p_category 478 payment.amount_auth = session_config.a cceptance_fee478 payment.amount_auth = session_config.application_fee 479 479 payment = self._fillCustomFields(payment, session_config) 480 480 self.context[payment.p_id] = payment -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/payment.py
r7811 r8260 17 17 ## 18 18 """ 19 A cceptancefee payment.19 Application fee payment. 20 20 """ 21 21 import grok -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r8200 r8260 595 595 return 596 596 597 def test_pay_a cceptance_fee(self):597 def test_pay_application_fee(self): 598 598 self.login() 599 599 self.browser.open(self.edit_path) … … 613 613 configuration = SessionConfiguration() 614 614 configuration.academic_session = 2009 615 configuration.a cceptance_fee = 200.0615 configuration.application_fee = 200.0 616 616 self.app['configuration'].addSessionConfiguration(configuration) 617 617 self.browser.open(self.edit_path) -
main/waeup.kofa/trunk/src/waeup/kofa/applicants/workflow.py
r7819 r8260 62 62 Transition( 63 63 transition_id = 'pay', 64 title = _('Pay a cceptancefee'),64 title = _('Pay application fee'), 65 65 msg = _('Fee paid'), 66 66 source = STARTED, -
main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
r8257 r8260 576 576 ) 577 577 578 application_fee = schema.Float( 579 title = _(u'Application Fee'), 580 default = 0.0, 581 required = False, 582 ) 583 578 584 clearance_fee = schema.Float( 579 585 title = _(u'Clearance Fee'), … … 583 589 584 590 booking_fee = schema.Float( 585 title = _(u'Booking Fee'), 586 default = 0.0, 587 required = False, 588 ) 589 590 acceptance_fee = schema.Float( 591 title = _(u'Acceptance Fee'), 591 title = _(u'Bed Booking Fee'), 592 592 default = 0.0, 593 593 required = False, -
main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py
r8245 r8260 35 35 (_('Transfer'),'transfer'), 36 36 (_('Gown'),'gown'), 37 (_('A cceptance Fee'), 'acceptance'),37 (_('Application Fee'), 'application'), 38 38 ) 39 39
Note: See TracChangeset for help on using the changeset viewer.