Changeset 9811 for main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Timestamp:
- 18 Dec 2012, 17:25:36 (12 years ago)
- Location:
- main/waeup.kwarapoly/trunk/src/waeup/kwarapoly
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/interswitch/tests.py
r9789 r9811 32 32 # If you enable this, please make sure the external services 33 33 # do exist really and are not bothered by being spammed by a test programme. 34 EXTERNAL_TESTS = True34 EXTERNAL_TESTS = False 35 35 36 36 def external_test(func): … … 118 118 self.assertMatches('...Total Amount Authorized:...', 119 119 self.browser.contents) 120 self.assert Matches(121 ' ...<input type="hidden" name="amount" value="3710000.0" />...',122 self.browser.contents) 123 self.assert Matches(124 ' ...item_name="School Fee" item_amt="3380000" bank_id="120" acct_num="1771180233"...',125 self.browser.contents) 126 self.assert Matches(127 ' ...item_name="Dalash" item_amt="180000" bank_id="117" acct_num="1013196791"...',128 self.browser.contents) 129 self.assert Matches(130 ' ...item_name="BT Education" item_amt="120000" bank_id="117" acct_num="1010764827"...',120 self.assertTrue( 121 '<input type="hidden" name="amount" value="3660000.0" />' in 122 self.browser.contents) 123 self.assertTrue( 124 'item_name="School Fee" item_amt="3330000" bank_id="120" acct_num="1771180233"' in 125 self.browser.contents) 126 self.assertTrue( 127 'item_name="Dalash" item_amt="180000" bank_id="117" acct_num="1013196791"' in 128 self.browser.contents) 129 self.assertTrue( 130 'item_name="BT Education" item_amt="120000" bank_id="117" acct_num="1010764827"' in 131 131 self.browser.contents) 132 132 -
main/waeup.kwarapoly/trunk/src/waeup/kwarapoly/students/utils.py
r9737 r9811 27 27 from waeup.kwarapoly.interfaces import MessageFactory as _ 28 28 29 PAYMENT_LEVELS = (10, 100, 200, 210, 300, 400, 500, 510, 600, 999) 29 30 # 10 = PreND (1) 31 # 100 = ND1 (2) 32 # 110 = ND1R (3) 33 # 200 = ND2 (4) 34 # 210 = ND2R (5) 35 # 300 = ND3 (6) 36 # 400 = HND1 (7) 37 # 410 = HND1R (8) 38 # 500 = HND2 (9) 39 # 510 = HND2R (10) 40 # 600 = HND3 (11) 41 # 999 = PGD (12) 42 43 PAYMENT_LEVELS = (10, 100, 110, 200, 210, 300, 400, 410, 500, 510, 600, 999) 30 44 31 45 FEES_PARAMS = ( … … 38 52 FEES_VALUES = ( 39 53 ( 40 ( 41 (34400.0, 36600.0, 2 9500.0, 28800.0, 0.0, 38700.0, 30700.0, 29900.0, 0.0, 47250.0), # science42 (34400.0, 35100.0, 2 8000.0, 27300.0, 0.0, 37200.0, 29200.0, 28400.0, 0.0, 47250.0) # arts54 ( # 10 100 110 200 210 300 400 410 500 510 600 999 55 (34400.0, 36600.0, 28800.0, 29500.0, 28800.0, 0.0, 38700.0, 29900.0, 30700.0, 29900.0, 0.0, 47250.0), # science 56 (34400.0, 35100.0, 27300.0, 28000.0, 27300.0, 0.0, 37200.0, 28400.0, 29200.0, 28400.0, 0.0, 47250.0) # arts 43 57 ), # local 44 ( 45 (49500.0, 52100.0, 3 8850.0, 35900.0, 0.0, 55600.0, 40850.0, 38600.0, 0.0, 71880.0), # science46 (49500.0, 50600.0, 3 7350.0, 34400.0, 0.0, 54100.0, 39350.0, 37100.0, 0.0, 71880.0) # arts58 ( # 10 100 110 200 210 300 400 410 500 510 600 999 59 (49500.0, 52100.0, 35900.0, 38850.0, 35900.0, 0.0, 55600.0, 38600.0, 40850.0, 38600.0, 0.0, 71880.0), # science 60 (49500.0, 50600.0, 34400.0, 37350.0, 34400.0, 0.0, 54100.0, 37100.0, 39350.0, 37100.0, 0.0, 71880.0) # arts 47 61 ), # non-local 48 62 ), # ft 49 63 ( 50 ( 51 (0.0, 39400.0, 30900.0, 0.0, 30900.0, 39900.0, 31050.0, 0.0, 31050.0, 0.0), # science52 (0.0, 37900.0, 29400.0, 0.0, 29400.0, 38400.0, 29550.0, 0.0, 29550.0, 0.0) # arts64 ( # 10 100 110 200 210 300 400 410 500 510 600 999 65 (0.0, 39400.0, 0.0, 30900.0, 0.0, 30900.0, 39900.0, 0.0, 31050.0, 0.0, 31050.0, 0.0), # science 66 (0.0, 37900.0, 0.0, 29400.0, 0.0, 29400.0, 38400.0, 0.0, 29550.0, 0.0, 29550.0, 0.0) # arts 53 67 ), # local 54 ( 55 (0.0, 54600.0, 32350.0, 0.0, 32350.0, 57100.0, 42350.0, 0.0, 42350.0, 0.0), # science56 (0.0, 53100.0, 30850.0, 0.0, 30850.0, 55600.0, 40850.0, 0.0, 40850.0, 0.0) # arts68 ( # 10 100 110 200 210 300 400 410 500 510 600 999 69 (0.0, 54600.0, 0.0, 32350.0, 0.0, 32350.0, 57100.0, 0.0, 42350.0, 0.0, 42350.0, 0.0), # science 70 (0.0, 53100.0, 0.0, 30850.0, 0.0, 30850.0, 55600.0, 0.0, 40850.0, 0.0, 40850.0, 0.0) # arts 57 71 ), # non-local 58 72 ), # pt
Note: See TracChangeset for help on using the changeset viewer.