Changeset 3229 for WAeUP_SRP/fceokene


Ignore:
Timestamp:
25 Feb 2008, 22:53:37 (17 years ago)
Author:
Henrik Bettermann
Message:

adjust getPaymentsFolderInfo.py to Okene version

Location:
WAeUP_SRP/fceokene
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/fceokene/profiles/default/vocabularies/cos_sandwich.xml

    r3197 r3229  
    77    <property name="acl_write_roles">Manager</property>
    88
    9     <item key="" msgid="">--</item>
    10     <item key="DAE" msgid="">Diploma in Agricultural Economics</item>
    11     <item key="DAE" msgid="">Diploma in Agricultural Economics</item>
    12     <item key="DAE" msgid="">Diploma in Agricultural Economics</item>
    13     <item key="DAE" msgid="">Diploma in Agricultural Economics</item>
    14     <item key="DAE" msgid="">Diploma in Agricultural Economics</item>
    15     <item key="DAE" msgid="">Diploma in Agricultural Economics</item>
    16     <item key="DAE" msgid="">Diploma in Agricultural Economics</item>
     9
     10    <item key="BADTSW" msgid="">B.A (Ed) Adult Education (Sandwich)</item>
     11    <item key="BISCSW" msgid="">B.Sc (Ed) Integrated Science (Sandwich)</item>
     12    <item key="BHEDSW" msgid="">B.Sc (Ed) Health Education (Sandwich)</item>
     13    <item key="BSSTSW" msgid="">B.Sc (Ed) Social Studies (Sandwich)</item>
     14    <item key="BBEDSW" msgid="">B.Sc (Ed) Business Education (Sandwich)</item>
     15    <item key="BHECSW" msgid="">B.Sc (Ed) Home Economics (Sandwich)</item>
     16    <item key="BEMGTSW" msgid="">B.Sc (Ed) Educationaml Management (Sandwich)</item>
     17    <item key="BENLSW" msgid="">B.A (Ed) English and Literature (Sandwich)</item>
     18    <item key="BCSCSW" msgid="">B.Sc (Ed) Computer Science (Sandwich)</item>
     19    <item key="BCHESW" msgid="">B.Sc (Ed) Chemistry (Sandwich)</item>
     20    <item key="BAGRSW" msgid="">B.Sc (Ed) Agriculture (Sandwich)</item>
     21    <item key="BBIOSW" msgid="">B.Sc (Ed) Biology (Sandwich)</item>
     22    <item key="BITESW" msgid="">B.Sc (Ed) Industrial Technical Education (Sandwich)</item>
     23    <item key="BGEOSW" msgid="">B.Sc (Ed) Geography (Sandwich)</item>
     24    <item key="BPOLSW" msgid="">B.Sc (Ed) Political Science (Sandwich)</item>
     25    <item key="BHISSW" msgid="">B.A (Ed) History (Sandwich)</item>
     26    <item key="BENLSW" msgid="">B.A (Ed) English and Literature (Sandwich)</item>
     27    <item key="BECOSW" msgid="">B.Sc (Ed) Economics (Sandwich)</item>
     28
    1729
    1830</object>
  • WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py

    r3227 r3229  
    5858fulltime = student_record.mode and student_record.mode.endswith('_ft')
    5959
    60 #if review_state == 'cleared_and_validated' or (parttime and review_state == 'returning'):
    61 #    online_payment = True
    62 #elif fulltime and review_state == 'returning':
    63 #    sc_payment = True
    6460
    6561session = student_record.session
     
    7268if review_state == 'cleared_and_validated':
    7369    info['payment_method'] = "online_payment"
     70
     71
    7472elif review_state == 'returning' and info['next_session'] != session:
    7573    info['payment_method'] = "online_payment"
     
    9593    row['is_requeryable'] = "%s_%s" % (payment.type,payment.session_id) not in paid_fees or str(member) in ('admin',)
    9694    row['is_approvable'] = is_so and row['is_requeryable']
    97     row['resp_desc'] = payment.resp_desc or (row['is_requeryable'] and 'Payment Process Interrupted')
     95    row['resp_desc'] = payment.resp_desc or 'Payment Process Interrupted'
    9896    row['trans_ref'] = payment.order_id
    9997    if row['is_requeryable']:
Note: See TracChangeset for help on using the changeset viewer.