Ignore:
Timestamp:
18 Apr 2012, 09:09:28 (13 years ago)
Author:
Henrik Bettermann
Message:

Add payment receipt for imported payments.

File:
1 edited

Legend:

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

    r7901 r8205  
    3636payment = context.getContent()
    3737info['payment_doc'] = payment
     38info['is_im_pmt'] = im = payment.resp_code in ('IM',)
    3839info['is_etranzact_pmt'] = ie = payment.type == 'etranzact'
    3940info['is_online_pmt'] = io = payment.resp_code in ('0','00','AP','IP',)
     
    4142info['is_scratchcard_pmt'] = isc =  payment.resp_code == 'SC'
    4243info['is_interrupted'] = ii = payment.resp_code == '' and not ie
    43 info['unknown_code'] = not (io or isc or ii or ir or ie)
     44info['unknown_code'] = not (io or isc or ii or ir or ie or im)
    4445info['resp_code'] = payment.resp_code
    4546info['resp_desc'] = payment.resp_desc
Note: See TracChangeset for help on using the changeset viewer.