Ignore:
Timestamp:
3 Nov 2014, 12:19:35 (10 years ago)
Author:
Henrik Bettermann
Message:

Third semester fee applies to nce_ft and not nce_sw.
Increase fees.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene/students
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/tests/test_browser.py

    r11920 r11932  
    128128        self.assertMatches('...ticket created...',
    129129                           self.browser.contents)
     130        self.certificate.study_mode = 'nce_sw'
    130131        self.browser.open(self.payments_path + '/addop')
    131132        self.browser.getControl(name="form.p_category").value = ['third_semester']
     
    133134        self.assertMatches('...could not be determined...',
    134135                           self.browser.contents)
    135         self.certificate.study_mode = 'nce_sw'
     136        self.certificate.study_mode = 'nce_ft'
    136137        self.browser.open(self.payments_path + '/addop')
    137138        self.browser.getControl(name="form.p_category").value = ['third_semester']
     
    284285        self.assertEqual(error, None)
    285286
    286         self.certificate.study_mode = 'nce_sw'
    287287        error, payment = utils.setPaymentDetails('third_semester',self.student)
    288288        self.assertEqual(payment.p_level, 100)
    289289        self.assertEqual(payment.p_session, 2004)
    290         self.assertEqual(payment.amount_auth, 6913.0)
     290        self.assertEqual(payment.amount_auth, 7913.0)
    291291        self.assertEqual(payment.p_item, u'')
    292292        self.assertEqual(error, None)
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/utils.py

    r11920 r11932  
    147147            except (AttributeError, TypeError):
    148148                return _('Study course data are incomplete.'), None
    149         elif category == 'third_semester' and student.current_mode == 'nce_sw':
     149        elif category == 'third_semester' and student.current_mode == 'nce_ft':
    150150            if student.depcode in ARTS:
    151                 amount = 5835
     151                amount = 6835
    152152            else:
    153                 amount = 6763
     153                amount = 7763
    154154        elif category == 'schoolfee':
    155155            try:
Note: See TracChangeset for help on using the changeset viewer.