Changeset 3843


Ignore:
Timestamp:
13 Jan 2009, 07:58:18 (16 years ago)
Author:
Henrik Bettermann
Message:
  • pay_interswitch.py: add bank account for futminna spillovers
  • minor changes
Location:
WAeUP_SRP/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/profiles/fceoyo/layouts/student_application.xml

    r3716 r3843  
    9393  <property name="label">Mode of Entry</property>
    9494  <property name="label_edit">Mode of Entry</property>
    95   <property name="readonly_layout_modes">
    96    <element value="edit"/>
     95  <property name="readonly_if_expr">context/isStudent</property>
     96  <property name="readonly_layout_modes">
    9797  </property>
    9898  <property name="hidden_layout_modes">
  • WAeUP_SRP/trunk/skins/waeup_futminna/getAccommodationInfo.py

    r3795 r3843  
    1515logger = logging.getLogger('Skins.getAccommodationInfo')
    1616import DateTime
     17
     18booking_disabled = False
    1719
    1820request = context.REQUEST
     
    8688    info['acco_review_state'] = wf.getInfoFor(acco,'review_state',None)
    8789    info['maintenance_paid'] = info['acco_review_state'] == "maintenance_fee_paid"
     90elif booking_disabled:
     91    info['booking_allowed'] = False
     92   
    8893d = {}
    8994d['sex'] = 'male'
     
    95100student_status = "%(sex)s_%(bt)s" % d
    96101info['student_status'] = student_status
     102
    97103return info
    98104
  • WAeUP_SRP/trunk/skins/waeup_futminna/pay_interswitch.py

    r3790 r3843  
    151151    xmldict['fut_acct'] = "0591201005146"
    152152    xmldict['bank_id'] = '101' 
     153elif student_record.level in ('500'):
     154    xmldict['fut_acct'] = "0030001000017110"
     155    xmldict['bank_id'] = '89'   
    153156#remedial students
    154157elif student_record.level in ('000'):
Note: See TracChangeset for help on using the changeset viewer.