Changeset 3311
- Timestamp:
- 10 Mar 2008, 14:31:26 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/uniben/waeup_custom/getPaymentsFolderInfo.py
r3276 r3311 96 96 payment.amount, 97 97 payment.date.strftime("%d/%m/%y %H:%M:%S")) 98 url = row['url'] = "%s/p%s" % (payments_path,payment.order_id[6:]) 98 oid = payment.order_id 99 onr = oid.rfind('-')+1 100 if onr > 0: 101 start_pos = onr 102 else: 103 start_pos = 6 104 url = row['url'] = "%s/p%s" % (payments_path,oid[start_pos:]) 99 105 row['is_requeryable'] = "%s_%s" % (payment.category,payment.session_id) not in paid_fees and payment.type == 'online' or str(member) in ('admin',) 100 106 row['is_approvable'] = is_so and row['is_requeryable'] and payment.category == 'schoolfee' # does not make sense for maitenance
Note: See TracChangeset for help on using the changeset viewer.