Changeset 3736 for WAeUP_SRP/trunk/skins/waeup_epayment
- Timestamp:
- 26 Oct 2008, 11:07:26 (16 years ago)
- Location:
- WAeUP_SRP/trunk/skins/waeup_epayment
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_epayment/getPaymentsFolderInfo.py
r3709 r3736 73 73 info['prod_id'] = '61' 74 74 75 try: 76 level = int(student_record.level) 77 end_level = int(student_record.end_level) 78 if level >= end_level: 79 info['gown'] = True 80 except: 81 pass 82 75 83 # end customization 76 84 -
WAeUP_SRP/trunk/skins/waeup_epayment/payments_view.pt
r3481 r3736 84 84 tal:attributes="value string:Pay ${info/next_session_str} School Fee by Scratch Card" 85 85 /> 86 </form> 86 </form> 87 88 <form tal:condition="info/gown|nothing" 89 tal:attributes="action string: ${context/absolute_url}/request_gown" method="post" class="group"> 90 <input type="submit" name="epayment" 91 class="context" 92 value="Initiate Gown Hiring" 93 /> 94 </form> 95 96 87 97 <div tal:condition="info/reasons"> 88 98 <font color="red" tal:content="info/reasons"></font>
Note: See TracChangeset for help on using the changeset viewer.