Changeset 8011 for WAeUP_SRP


Ignore:
Timestamp:
30 Mar 2012, 12:55:31 (13 years ago)
Author:
Henrik Bettermann
Message:

Also fresh students in previous sessions can now pay with both scratch cards and cash cards.

File:
1 edited

Legend:

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

    r8004 r8011  
    5959info['payment_method'] = ""
    6060
    61 if review_state == 'cleared_and_validated':
     61if review_state == 'cleared_and_validated' and session in ('11','12','13'):
    6262    info['payment_method'] = "online_payment"
    6363elif review_state == 'returning' and session in ('11','12','13'):
    6464    info['payment_method'] = "online_payment"
    65 elif review_state == 'returning':
     65elif review_state == 'returning' or review_state == 'cleared_and_validated':
    6666    info['payment_method'] = "both_payments"
    6767else:
Note: See TracChangeset for help on using the changeset viewer.