Changeset 2171 for WAeUP_SRP/trunk


Ignore:
Timestamp:
30 Aug 2007, 06:50:02 (17 years ago)
Author:
Henrik Bettermann
Message:

show the correct name of the bank (not yet tested)

Location:
WAeUP_SRP/trunk/skins/waeup_epayment
Files:
2 added
2 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/goto_interswitch_form.pt

    r1937 r2171  
    3434            Bank:
    3535            </td>
    36             <td>Wema Bank</td>
     36            <td><span tal:content="info/bank" /></td>
    3737          </tr>         
    3838        </table>
  • WAeUP_SRP/trunk/skins/waeup_epayment/interswitch_form.pt

    r2153 r2171  
    3131            Bank:
    3232            </td>
    33             <td>Wema Bank</td>
     33            <td><span tal:content="info/bank" /></td>
    3434          </tr>         
    3535        </table>
  • WAeUP_SRP/trunk/skins/waeup_epayment/pay_interswitch.py

    r2153 r2171  
    3838info['student'] = sbrain
    3939info['payment_possible'] = False
     40info['amount'] = '0'
     41info['bank'] = ''
     42info['type_description'] = ''
     43info['pay_bill_to'] = ''
    4044fee_dict = context.getSchoolFee(sbrain)
    4145fulltime = sbrain.mode.endswith('_ft')
     
    5155elif returning:
    5256    amount = info['amount'] = fee_dict['returning']
    53 else:
    54     amount = info['amount'] = '0'
    5557if fulltime:
    5658    pay_item_id = "6100"
    5759    info['type_code'] = sbrain.faculty
     60    info['bank'] = 'Wema Bank'
    5861else:
    5962    pay_item_id = "6101"
    6063    info['type_code'] = sbrain.course
     64    info['bank'] = 'Intercontinental Bank'
    6165info['payment_possible'] = True
    6266info['type_description'] = fee_dict['description']
Note: See TracChangeset for help on using the changeset viewer.