Changeset 9568 for main


Ignore:
Timestamp:
7 Nov 2012, 14:06:39 (12 years ago)
Author:
Henrik Bettermann
Message:

New fees.

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

Legend:

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

    r9528 r9568  
    240240        self.assertEqual(payment.p_level, 200)
    241241        self.assertEqual(payment.p_session, 2005)
    242         self.assertEqual(payment.amount_auth, 31090.0)
     242        self.assertEqual(payment.amount_auth, 38850.0)
    243243        self.assertEqual(payment.p_item, u'CERT1')
    244244        self.assertEqual(error, None)
  • main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py

    r9528 r9568  
    4040          (
    4141            (34400.0, 36600.0, 29500.0, 28800.0, 0.0, 38700.0, 30700.0, 29900.0, 0.0, 47250.0), # science
    42             (32900.0, 35100.0, 28000.0, 27300.0, 0.0, 37200.0, 29200.0, 28400.0, 0.0, 47250.0)  # arts
     42            (34400.0, 35100.0, 28000.0, 27300.0, 0.0, 37200.0, 29200.0, 28400.0, 0.0, 47250.0)  # arts
    4343          ), # local
    4444          (
    45             (49500.0, 52100.0, 31090.0, 35900.0, 0.0, 55600.0, 33900.0, 38600.0, 0.0, 71880.0), # science
    46             (48000.0, 50600.0, 29590.0, 34400.0, 0.0, 54100.0, 32400.0, 37100.0, 0.0, 71880.0)  # arts
     45            (49500.0, 52100.0, 38850.0, 35900.0, 0.0, 55600.0, 40850.0, 38600.0, 0.0, 71880.0), # science
     46            (49500.0, 50600.0, 37350.0, 34400.0, 0.0, 54100.0, 39350.0, 37100.0, 0.0, 71880.0)  # arts
    4747          ), # non-local
    4848        ), # ft
    4949        (
    5050          (
    51             (0.0, 39400.0, 30900.0, 0.0, 30900.0, 38900.0, 31050.0, 0.0, 31050.0, 0.0), # science
    52             (0.0, 37900.0, 29400.0, 0.0, 29400.0, 37400.0, 29550.0, 0.0, 29550.0, 0.0)  # arts
     51            (0.0, 39400.0, 30900.0, 0.0, 30900.0, 39900.0, 31050.0, 0.0, 31050.0, 0.0), # science
     52            (0.0, 37900.0, 29400.0, 0.0, 29400.0, 38400.0, 29550.0, 0.0, 29550.0, 0.0)  # arts
    5353          ), # local
    5454          (
     
    6363def local_nonlocal(student):
    6464    lga = getattr(student, 'lga')
    65     if lga and student.lga.startswith('kwara'):
     65    if lga and lga.startswith('kwara'):
    6666        return 'local'
    6767    else:
Note: See TracChangeset for help on using the changeset viewer.