Ignore:
Timestamp:
27 Apr 2010, 09:57:56 (15 years ago)
Author:
Henrik Bettermann
Message:

separate fresh and returning students, payment must be split for all 2008/2009 payments (not yet tested)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_aaua/getPaymentsFolderInfo.py

    r5164 r5171  
    5656# begin customization
    5757
    58 if review_state in ('cleared_and_validated','returning',):
    59     if session in ('07','06',):
     58if review_state in ('returning',):
     59    if session in ('06',):
    6060        info['payment_method'] = "online_payment"
    6161    else:
    6262        info['payment_method'] = "first_instalment"
    63 else:
     63elif review_state in ('cleared_and_validated',):
     64    if session in ('06','07',):
     65        info['payment_method'] = "online_payment"
     66    else:
     67        info['payment_method'] = "first_instalment"
     68elif review_state in ('school_fee_paid','courses_registered','courses_validated',):
    6469    second_instalment_records = aq_payments(Eq('student_id',student_id) & Eq('category','schoolfee2') & Eq('session_id',session) & Eq('status','paid'))
    6570    if not second_instalment_records:
Note: See TracChangeset for help on using the changeset viewer.