Ignore:
Timestamp:
11 Nov 2011, 06:12:45 (13 years ago)
Author:
Henrik Bettermann
Message:

Enable payment approval by officers also for acceptance fee payments.

File:
1 edited

Legend:

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

    r6982 r7069  
    108108    url = row['url'] = "%s/p%s" % (payments_path,oid[start_pos:])
    109109    row['is_requeryable'] = "%s_%s" % (payment.category,payment.session_id) not in paid_fees and payment.type == 'online' or str(member) in ('admin',)
    110     row['is_approvable'] = is_so and row['is_requeryable'] and payment.category == 'schoolfee' # does not make sense for maitenance
     110
     111    if review_state == 'objection_raised' and payment.category == 'acceptance':
     112        row['is_requeryable'] = True
     113
     114    row['is_approvable'] = is_so and row['is_requeryable'] and \
     115        payment.category in ('schoolfee', 'acceptance')
    111116    if payment.resp_desc:
    112117        row['resp_desc'] = payment.resp_desc
Note: See TracChangeset for help on using the changeset viewer.