Ignore:
Timestamp:
8 Mar 2012, 19:00:51 (13 years ago)
Author:
uli
Message:

Rename all non-locales stuff from sirp to kofa.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/payments
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/__init__.py

    r6864 r7811  
    22"""
    33# Make this a package.
    4 from waeup.sirp.payments.container import PaymentsContainer
    5 from waeup.sirp.payments.payment import SCPayment, OnlinePayment
     4from waeup.kofa.payments.container import PaymentsContainer
     5from waeup.kofa.payments.payment import SCPayment, OnlinePayment
    66
    77__all__ = [
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/container.py

    r7195 r7811  
    2121import grok
    2222from grok import index
    23 from waeup.sirp.payments.interfaces import IPaymentsContainer
    24 from waeup.sirp.utils.helpers import attrs_to_fields
     23from waeup.kofa.payments.interfaces import IPaymentsContainer
     24from waeup.kofa.utils.helpers import attrs_to_fields
    2525
    2626class PaymentsContainer(grok.Container):
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/interfaces.py

    r7717 r7811  
    1818from zope.interface import Attribute
    1919from zope import schema
    20 from waeup.sirp.interfaces import ISIRPObject, SimpleSIRPVocabulary
    21 from waeup.sirp.interfaces import MessageFactory as _
     20from waeup.kofa.interfaces import IKOFAObject, SimpleKOFAVocabulary
     21from waeup.kofa.interfaces import MessageFactory as _
    2222
    23 payment_states = SimpleSIRPVocabulary(
     23payment_states = SimpleKOFAVocabulary(
    2424    (_('Not yet paid'),'unpaid'),
    2525    (_('Paid'),'paid'),
     
    2727    )
    2828
    29 payment_categories = SimpleSIRPVocabulary(
     29payment_categories = SimpleKOFAVocabulary(
    3030    (_('School Fee'),'schoolfee'),
    3131    (_('Clearance'),'clearance'),
     
    3737    )
    3838
    39 class IPaymentsContainer(ISIRPObject):
     39class IPaymentsContainer(IKOFAObject):
    4040    """A container for all kind of payment objects.
    4141
    4242    """
    4343
    44 class IPayment(ISIRPObject):
     44class IPayment(IKOFAObject):
    4545    """A base representation of payments.
    4646
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/payment.py

    r7627 r7811  
    2222from datetime import datetime
    2323from grok import index
    24 from waeup.sirp.payments.interfaces import (
     24from waeup.kofa.payments.interfaces import (
    2525    IPayment, ISCPayment, IOnlinePayment,
    2626    payment_states, payment_categories)
    27 from waeup.sirp.utils.helpers import attrs_to_fields
     27from waeup.kofa.utils.helpers import attrs_to_fields
    2828
    2929class Payment(grok.Container):
  • main/waeup.kofa/trunk/src/waeup/kofa/payments/tests.py

    r7195 r7811  
    2020"""
    2121from zope.interface.verify import verifyClass, verifyObject
    22 from waeup.sirp.payments.interfaces import (
     22from waeup.kofa.payments.interfaces import (
    2323    IPaymentsContainer, ISCPayment, IOnlinePayment)
    24 from waeup.sirp.payments.container import PaymentsContainer
    25 from waeup.sirp.payments.payment import (
     24from waeup.kofa.payments.container import PaymentsContainer
     25from waeup.kofa.payments.payment import (
    2626    SCPayment, OnlinePayment)
    27 from waeup.sirp.testing import (FunctionalLayer, FunctionalTestCase)
     27from waeup.kofa.testing import (FunctionalLayer, FunctionalTestCase)
    2828
    2929class PaymentsContainerTestCase(FunctionalTestCase):
Note: See TracChangeset for help on using the changeset viewer.