Changeset 7927
- Timestamp:
- 20 Mar 2012, 14:20:04 (13 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/applicants/tests/test_browser.py
r7852 r7927 608 608 configuration = SessionConfiguration() 609 609 configuration.academic_session = 2009 610 configuration.acceptance_fee = 200 610 configuration.acceptance_fee = 200.0 611 611 self.app['configuration'].addSessionConfiguration(configuration) 612 612 self.browser.open(self.edit_path) -
main/waeup.kofa/trunk/src/waeup/kofa/interfaces.py
r7918 r7927 568 568 ) 569 569 570 school_fee_base = schema. Int(570 school_fee_base = schema.Float( 571 571 title = _(u'School Fee'), 572 default = 0 ,573 ) 574 575 surcharge_1 = schema. Int(572 default = 0.0, 573 ) 574 575 surcharge_1 = schema.Float( 576 576 title = _(u'Surcharge Portal Provider'), 577 default = 0 ,578 required = False, 579 ) 580 581 surcharge_2 = schema. Int(577 default = 0.0, 578 required = False, 579 ) 580 581 surcharge_2 = schema.Float( 582 582 title = _(u'Surcharge Payment Gateway Provider'), 583 default = 0 ,584 required = False, 585 ) 586 587 surcharge_3 = schema. Int(583 default = 0.0, 584 required = False, 585 ) 586 587 surcharge_3 = schema.Float( 588 588 title = _(u'Surcharge 3'), 589 default = 0 ,590 required = False, 591 ) 592 593 clearance_fee = schema. Int(589 default = 0.0, 590 required = False, 591 ) 592 593 clearance_fee = schema.Float( 594 594 title = _(u'Clearance Fee'), 595 default = 0 ,596 required = False, 597 ) 598 599 booking_fee = schema. Int(595 default = 0.0, 596 required = False, 597 ) 598 599 booking_fee = schema.Float( 600 600 title = _(u'Booking Fee'), 601 default = 0 ,602 required = False, 603 ) 604 605 acceptance_fee = schema. Int(601 default = 0.0, 602 required = False, 603 ) 604 605 acceptance_fee = schema.Float( 606 606 title = _(u'Acceptance Fee'), 607 default = 0 ,607 default = 0.0, 608 608 required = False, 609 609 ) -
main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py
r7875 r7927 79 79 ) 80 80 81 amount_auth = schema. Int(81 amount_auth = schema.Float( 82 82 title = _(u'Amount Authorized'), 83 default = 0 ,83 default = 0.0, 84 84 required = True, 85 85 readonly = True, … … 103 103 """ 104 104 105 surcharge_1 = schema. Int(105 surcharge_1 = schema.Float( 106 106 title = _(u'Portal Fee'), 107 default = 0 ,107 default = 0.0, 108 108 required = False, 109 109 readonly = True, 110 110 ) 111 111 112 surcharge_2 = schema. Int(112 surcharge_2 = schema.Float( 113 113 title = _(u'Surcharge 2'), 114 default = 0 ,114 default = 0.0, 115 115 required = False, 116 116 readonly = True, 117 117 ) 118 118 119 surcharge_3 = schema. Int(119 surcharge_3 = schema.Float( 120 120 title = _(u'Surcharge 3'), 121 default = 0 ,121 default = 0.0, 122 122 required = False, 123 123 readonly = True, … … 137 137 ) 138 138 139 r_amount_approved = schema. Int(139 r_amount_approved = schema.Float( 140 140 title = _(u'Response Amount Approved'), 141 default = 0 ,141 default = 0.0, 142 142 required = False, 143 143 readonly = False, -
main/waeup.kofa/trunk/src/waeup/kofa/students/utils.py
r7875 r7927 196 196 d = {} 197 197 d['p_item'] = u'' 198 d['amount'] = 0 198 d['amount'] = 0.0 199 199 d['error'] = u'' 200 200 d['p_session'] = student['studycourse'].current_session … … 214 214 d['p_item'] = student['studycourse'].certificate.code 215 215 d['amount'] = academic_session.clearance_fee 216 d['surcharge_1'] = 0 # no portal fee216 d['surcharge_1'] = 0.0 # no portal fee 217 217 elif category == 'bed_allocation': 218 218 d['p_item'] = self.getAccommodationDetails(student)['bt'] 219 219 d['amount'] = academic_session.booking_fee 220 d['surcharge_1'] = 0 # no portal fee220 d['surcharge_1'] = 0.0 # no portal fee 221 221 return d 222 222
Note: See TracChangeset for help on using the changeset viewer.