Changeset 3275
- Timestamp:
- 7 Mar 2008, 07:28:11 (17 years ago)
- Location:
- WAeUP_SRP/fceokene
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/fceokene/profiles/default/layouts/payment.xml
r2930 r3275 207 207 <property name="hidden_readonly_layout_modes"/> 208 208 </widget> 209 210 209 210 211 211 <table> 212 212 <row> 213 <cell name="type_description"/>214 </row>215 <row>216 213 <cell name="status"/> 217 </row> 214 </row> 218 215 <row> 219 216 <cell name="order_id"/> -
WAeUP_SRP/fceokene/profiles/default/vocabularies/payment_status.xml
r2877 r3275 10 10 <item key="paid" msgid="">Paid</item> 11 11 <item key="started" msgid="">Started</item> 12 <item key="due" msgid="">Due</item>13 12 <item key="failed" msgid="">Unsuccessfull</item> 13 <item key="invalid" msgid="">Invalid</item> 14 14 </object> -
WAeUP_SRP/fceokene/waeup_custom/getPaymentsFolderInfo.py
r3270 r3275 88 88 row = {} 89 89 row['id'] = payment.key 90 row['title'] = "%s for Session %s, Naira %s, %s" % (vocabularies.payment_categories.get(payment.category), 91 vocabularies.sessions.get(payment.session_id), 92 payment.amount, 93 payment.date.strftime("%d/%m/%y %H:%M:%S")) 90 if payment.status == 'invalid': 91 row['title'] = "Invalid Payment, Naira %s, %s" % (payment.amount, 92 payment.date.strftime("%d/%m/%y %H:%M:%S")) 93 else: 94 row['title'] = "%s for Session %s, Naira %s, %s" % (vocabularies.payment_categories.get(payment.category), 95 vocabularies.sessions.get(payment.session_id), 96 payment.amount, 97 payment.date.strftime("%d/%m/%y %H:%M:%S")) 94 98 url = row['url'] = "%s/p%s" % (payments_path,payment.order_id[6:]) 95 99 row['is_requeryable'] = "%s_%s" % (payment.category,payment.session_id) not in paid_fees and payment.type == 'online' or str(member) in ('admin',)
Note: See TracChangeset for help on using the changeset viewer.