Changeset 14457


Ignore:
Timestamp:
25 Jan 2017, 09:55:44 (8 years ago)
Author:
Henrik Bettermann
Message:

Adjust sekeleton package.

Location:
main/kofacustom.skeleton/trunk/src/kofacustom/skeleton
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/interfaces.py

    r13892 r14457  
    2525_ = MessageFactory = zope.i18nmessageid.MessageFactory('kofacustom.skeleton')
    2626
    27 # It's recommended to replicate all fields from the base package here.
    2827class ICustomSessionConfiguration(ISessionConfiguration):
    2928    """A session configuration object.
     
    3231    # Base fees, do not remove.
    3332
    34     school_fee_base = schema.Float(
    35         title = _(u'School Fee (ignored)'),
    36         default = 0.0,
    37         required = False,
    38         )
    39 
    4033    clearance_fee = schema.Float(
    41         title = _(u'Clearance Fee (ignored)'),
     34        title = _(u'Acceptance Fee'),
    4235        default = 0.0,
    4336        required = False,
     
    4538
    4639    booking_fee = schema.Float(
    47         title = _(u'Booking Fee'),
     40        title = _(u'Bed Booking Fee'),
    4841        default = 0.0,
    4942        required = False,
     
    5144
    5245    maint_fee = schema.Float(
    53         title = _(u'Maintenance Fee (ignored)'),
     46        title = _(u'Rent (fallback)'),
     47        default = 0.0,
     48        required = False,
     49        )
     50
     51    late_registration_fee = schema.Float(
     52        title = _(u'Late Course Reg. Fee'),
    5453        default = 0.0,
    5554        required = False,
     
    6160        required = False,
    6261        )
     62
     63    transfer_fee = schema.Float(
     64        title = _(u'Transfer Fee'),
     65        default = 0.0,
     66        required = False,
     67        )
     68
    6369
    6470    # Additional fees in custom package add here
  • main/kofacustom.skeleton/trunk/src/kofacustom/skeleton/students/tests/test_export.py

    r14276 r14457  
    44from waeup.kofa.interfaces import ICSVExporter
    55from waeup.kofa.schoolgrades import ResultEntry
    6 from waeup.kofa.students.tests.test_batching import StudentImportExportSetup
     6from waeup.kofa.students.tests.test_batching import (
     7    StudentImportExportSetup, curr_year)
    78from kofacustom.skeleton.utils.utils import CustomKofaUtils
    89from kofacustom.skeleton.students.export import (
     
    107108            'r_pay_reference,thirdparty_amt,student_id,state,'
    108109            'current_session\r\n'
    109             '666,12.12,2012-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
    110             '100,2012,paid,2012-04-01 14:12:01#,,12.12,'
     110            '666,12.12,%s-04-01 13:12:01#,,schoolfee,1,my-id,p-item,'
     111            '100,%s,paid,%s-04-01 14:12:01#,,12.12,'
    111112            '789,r-code,interswatch,,,,A111111,created,2012\r\n',
    112             result
     113            % (curr_year-6, curr_year-6, curr_year-6), result
    113114            )
    114115        return
Note: See TracChangeset for help on using the changeset viewer.