Ignore:
Timestamp:
9 Dec 2019, 09:19:16 (5 years ago)
Author:
Henrik Bettermann
Message:

Configure School Fees Returning Students (> 2014)

Location:
main/waeup.aaue/trunk/src/waeup/aaue
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.aaue/trunk/src/waeup/aaue/locales/en/LC_MESSAGES/waeup.kofa.po

    r15619 r15871  
    139139#: school_fee_2
    140140msgid "Returning School Fee"
    141 msgstr "School Fees Returning Students (2015, 2016 & 2017)"
     141msgstr "School Fees Returning Students (> 2014)"
    142142
    143143#: school_fee_3
  • main/waeup.aaue/trunk/src/waeup/aaue/students/tests/test_utils.py

    r15763 r15871  
    115115        self.assertEqual(payment.p_item, u'CERT1')
    116116        self.assertEqual(error, None)
    117         self.student['studycourse'].entry_session = 2018
     117        self.student['studycourse'].entry_session = 2014
    118118        error, payment = utils.setPaymentDetails('schoolfee',self.student)
    119119        self.assertEqual(payment.p_level, 200)
  • main/waeup.aaue/trunk/src/waeup/aaue/students/utils.py

    r15763 r15871  
    423423                except KeyError:
    424424                    return _(u'Session configuration object is not available.'), None
    425                 if student.entry_session in (2015, 2016, 2017):
     425                if student.entry_session >= 2015:
    426426                    amount = getattr(certificate, 'school_fee_2', 0.0)
    427427                else:
Note: See TracChangeset for help on using the changeset viewer.