Ignore:
Timestamp:
28 Mar 2008, 10:07:38 (17 years ago)
Author:
joachim
Message:

check for expiration

Location:
WAeUP_SRP/base/skins/waeup_student
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_student/apply_admission.py

    r3342 r3392  
    163163without_reg_no = screening_type in ('prence','cest','sandwich')
    164164info['expired'] = current.greaterThan(deaddates[screening_type])
     165info['expiration_date'] = deaddates[screening_type]
    165166
    166167
     
    176177                             ob=object,
    177178                             commit = False,
     179                             expiration_date = deaddates[screening_type],
    178180                            )
    179181if slip:
  • WAeUP_SRP/base/skins/waeup_student/apply_admission_form.pt

    r3384 r3392  
    3535                 tal:attributes="value ds/pin|nothing"
    3636                 tal:condition="ds/pin|nothing"/>
     37          <input type="hidden" name="expiration_date"
     38                 tal:attributes="value info/expiration_date|nothing"
     39                 tal:condition="info/expiration_date|nothing"/>
    3740               
    3841          <div tal:replace="structure rendered_main" />
Note: See TracChangeset for help on using the changeset viewer.