Changeset 2865 for WAeUP_SRP


Ignore:
Timestamp:
5 Dec 2007, 21:36:41 (17 years ago)
Author:
joachim
Message:

fix

Location:
WAeUP_SRP/base/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/base/skins/waeup_accommodation/reserve_accommodation.py

    r2857 r2865  
    4848        return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % info['acco'].absolute_url())
    4949    elif info['online_payment']:
    50         return context.REQUEST.RESPONSE.redirect("%s/pay_interswitch_acco?paytype=HOM" % info['student'].absolute_url())
     50        return context.REQUEST.RESPONSE.redirect("%s/accommodation_view" % info['acco'].absolute_url())
     51        # return context.REQUEST.RESPONSE.redirect("%s/pay_interswitch_acco?paytype=HOM" % info['student'].absolute_url())
    5152    else:
    5253        mode = 'edit'
  • WAeUP_SRP/base/skins/waeup_student/accommodation_view.pt

    r2857 r2865  
    3434                enctype="multipart/form-data" class="workflow"
    3535                >
    36         <td colspan="2"> 
    37             <input type="submit"
    38                    class="standalone"
    39                    name="cpsdocument_create_button"
    40                    value="apply"
    41                    tal:attributes="value options/button"
    42                    tal:condition="creation" />
     36            <input type="hidden"
     37                   name="paytype"
     38                   value="HOM"
     39                   />
     40            <td colspan="2"> 
     41              <input type="submit"
     42                     class="standalone"
     43                     name="cpsdocument_create_button"
     44                     value="Pay Maintenance Fee online"
     45                     />
    4346            </td>
    4447          </form>
Note: See TracChangeset for help on using the changeset viewer.