Changeset 10166


Ignore:
Timestamp:
10 May 2013, 09:30:36 (12 years ago)
Author:
Henrik Bettermann
Message:

Add field which can be used to compute installments.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/university
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/university/certificate.py

    r10064 r10166  
    5757                 end_level=None, application_category=None,
    5858                 school_fee_1=None, school_fee_2=None,
    59                  school_fee_3=None, school_fee_4=None):
     59                 school_fee_3=None, school_fee_4=None,
     60                 ratio=None):
    6061        super(Certificate, self).__init__()
    6162        self.code = code
     
    6970        self.school_fee_3 = school_fee_3
    7071        self.school_fee_4 = school_fee_4
     72        self.ratio = ratio
    7173
    7274    def traverse(self, name):
  • main/waeup.kofa/trunk/src/waeup/kofa/university/interfaces.py

    r9315 r10166  
    259259        )
    260260
     261    ratio = schema.Float(
     262        title = _(u'Installment Ratio'),
     263        required = False,
     264        min = 0.0,
     265        max = 1.0,
     266        )
     267
    261268    def longtitle():
    262269        """
Note: See TracChangeset for help on using the changeset viewer.