Ignore:
Timestamp:
27 Nov 2012, 11:17:29 (12 years ago)
Author:
Henrik Bettermann
Message:

We've been informed that provider amount is zero.

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

Legend:

Unmodified
Added
Removed
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/browser.py

    r9727 r9728  
    275275        elif self.context.p_category.startswith('hostel_maintenance'):
    276276            self.pay_item_id = '5705'
    277             provider_amt = 400
     277            provider_amt = 0
    278278            xmldict['institution_bank_id'] = '129'
    279279            xmldict['institution_acct'] = '0014414547'
  • main/waeup.uniben/trunk/src/waeup/uniben/interswitch/tests.py

    r9727 r9728  
    197197        self.browser.getLink(value).click()
    198198        self.assertMatches(
    199             '...<span>8550.0</span>...',
     199            '...<span>8150.0</span>...',
    200200            self.browser.contents)
    201201        # Manager can access InterswitchForm
     
    206206                           self.browser.contents)
    207207        self.assertMatches(
    208             '...<input type="hidden" name="amount" value="855000.0" />...',
     208            '...<input type="hidden" name="amount" value="815000.0" />...',
    209209            self.browser.contents)
    210210        self.assertMatches(
    211211            '...<item_detail item_id="1" item_name="Hostel Maint. Fee" item_amt="800000" bank_id="129" acct_num="0014414547" />...',
    212212            self.browser.contents)
    213         self.assertMatches(
    214             '...item_name="BT Education" item_amt="40000" bank_id="117" acct_num="1010764827"...',
    215             self.browser.contents)
    216 
     213        self.assertFalse(
     214            'item_name="BT Education"' in self.browser.contents)
    217215
    218216#    @external_test
  • main/waeup.uniben/trunk/src/waeup/uniben/students/tests/test_browser.py

    r9727 r9728  
    593593        self.assertEqual(payment.p_level, 100)
    594594        self.assertEqual(payment.p_session, 2004)
    595         self.assertEqual(payment.amount_auth, 8550.0)
     595        self.assertEqual(payment.amount_auth, 8150.0)
    596596        self.assertEqual(payment.p_item, u'Hall 1-4 M/F Ekehuan')
    597597        self.assertEqual(error, None)
     
    601601        self.assertEqual(payment.p_level, 100)
    602602        self.assertEqual(payment.p_session, 2004)
    603         self.assertEqual(payment.amount_auth, 13050.0)
     603        self.assertEqual(payment.amount_auth, 12650.0)
    604604        self.assertEqual(payment.p_item, u'Hall 5 M/F')
    605605        self.assertEqual(error, None)
     
    609609        self.assertEqual(payment.p_level, 100)
    610610        self.assertEqual(payment.p_session, 2004)
    611         self.assertEqual(payment.amount_auth, 10050.0)
     611        self.assertEqual(payment.amount_auth, 9650.0)
    612612        self.assertEqual(payment.p_item, u'Clinical Hostel')
    613613        self.assertEqual(error, None)
  • main/waeup.uniben/trunk/src/waeup/uniben/students/utils.py

    r9727 r9728  
    101101            amount = academic_session.maint_fee
    102102        elif category == 'tempmaint_1':
    103             amount = 8550.0
     103            amount = 8150.0
    104104        elif category == 'tempmaint_2':
    105             amount = 13050.0
     105            amount = 12650.0
    106106        elif category == 'tempmaint_3':
    107             amount = 10050.0
     107            amount = 9650.0
    108108        elif category == 'clearance':
    109109            try:
Note: See TracChangeset for help on using the changeset viewer.