Changeset 9406 for main


Ignore:
Timestamp:
24 Oct 2012, 21:58:51 (12 years ago)
Author:
Henrik Bettermann
Message:

The payment_categories vocab does no longer exist. We have a dict in KofaUtils? instead.

Location:
main/waeup.fceokene/trunk/src/waeup/fceokene
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.fceokene/trunk/src/waeup/fceokene/interswitch/browser.py

    r9129 r9406  
    2828from waeup.kofa.students.viewlets import ApprovePaymentActionButton as APABStudent
    2929from waeup.kofa.applicants.viewlets import ApprovePaymentActionButton as APABApplicant
    30 from waeup.kofa.payments.interfaces import payment_categories
    3130from waeup.fceokene.students.interfaces import ICustomStudentOnlinePayment
    3231from waeup.fceokene.applicants.interfaces import ICustomApplicantOnlinePayment
     
    198197            xmldict['department'] = None
    199198            xmldict['faculty'] = None
    200         self.category = payment_categories.getTermByToken(
    201             self.context.p_category).title
     199        self.category = getUtility(IKofaUtils).PAYMENT_CATEGORIES[self.context.p_category]
    202200        tz = getUtility(IKofaUtils).tzinfo
    203201        self.local_date_time = to_timezone(
     
    274272        self.amount_auth = 100 * self.context.amount_auth
    275273        xmldict = {}
    276         self.category = payment_categories.getTermByToken(
    277             self.context.p_category).title
     274        self.category = getUtility(IKofaUtils).PAYMENT_CATEGORIES[self.context.p_category]
    278275        tz = getUtility(IKofaUtils).tzinfo
    279276        self.local_date_time = to_timezone(
  • main/waeup.fceokene/trunk/src/waeup/fceokene/students/browser.py

    r9190 r9406  
    8787        return False
    8888
    89 class BedTicketAddPage(BedTicketAddPage):
     89class CustomBedTicketAddPage(BedTicketAddPage):
    9090    """ Page to add an online payment ticket
    9191    """
Note: See TracChangeset for help on using the changeset viewer.