Ignore:
Timestamp:
9 Jul 2020, 03:48:24 (4 years ago)
Author:
Henrik Bettermann
Message:

Add 'Make payment now' button.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.iuokada/trunk/src/kofacustom/iuokada/students/viewlets.py

    r16087 r16154  
    4343    target = 'switch_library_access'
    4444    icon = 'actionicon_book.png'
     45
     46class MakePaymentActionButton(ManageActionButton):
     47    grok.order(8)
     48    grok.context(ICustomStudent)
     49    grok.view(StudentBaseDisplayFormPage)
     50    grok.require('waeup.handleStudent')
     51    text = _('Make payment now')
     52    target = 'payments/addop'
     53    icon = 'actionicon_pay.png'
    4554
    4655class BaseDataSlipActionButton(ManageActionButton):
Note: See TracChangeset for help on using the changeset viewer.