Ignore:
Timestamp:
30 Oct 2008, 09:11:49 (16 years ago)
Author:
Henrik Bettermann
Message:

enable selecting session for gown hire

Location:
WAeUP_SRP/trunk/skins/waeup_epayment
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_epayment/request_gown.py

    r3736 r3744  
    3434student = getattr(students,student_id)
    3535student_record = context.students_catalog.getRecordByKey(student_id)
    36 session = context.getSessionId()
     36
     37#session = context.getSessionId()
    3738
    3839validate = request.has_key("cpsdocument_create_button")
     
    7778p_id = "p%s" % ds.get('pin_n')
    7879pin = str(ds.get('pin'))
     80session = str(ds.get('session'))
     81
     82#from Products.zdb import set_trace; set_trace()
     83
    7984try:
    8085    cost = context.portal_pins(pin="".join(pin.split('-')))[0].cost
     
    95100    info['type'] = 'sc'
    96101    info['status'] = 'paid'
    97     info['session_id'] = session[0]
     102    #info['session_id'] = session[0]
     103    info['session_id'] = session
    98104    info['item'] = ''
    99105    info['category'] = 'gown'
  • WAeUP_SRP/trunk/skins/waeup_epayment/request_gown_form.pt

    r3736 r3744  
    99
    1010        <span tal:condition="rendered_main">
    11           <h3>Hire Gown for Session <span tal:replace="session_str" />!</h3>
     11          <h3>Hire Gown!</h3>
    1212          <br />
    1313          <div tal:replace="structure rendered_main" />
Note: See TracChangeset for help on using the changeset viewer.