Ignore:
Timestamp:
15 Apr 2012, 06:40:01 (13 years ago)
Author:
Henrik Bettermann
Message:

Use new date and datetime widgets everywhere in base package.

Use standard datetime widgets for imports. I don't know if this is really necessary.

File:
1 edited

Legend:

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

    r7931 r8160  
    2020from waeup.kofa.interfaces import IKofaObject, SimpleKofaVocabulary
    2121from waeup.kofa.interfaces import MessageFactory as _
     22from waeup.kofa.schema import FormattedDatetime
    2223
    2324payment_states = SimpleKofaVocabulary(
     
    6869        )
    6970
    70     creation_date = schema.Datetime(
     71    creation_date = FormattedDatetime(
    7172        title = _(u'Ticket Creation Date'),
    7273        readonly = False,
    7374        )
    7475
    75     payment_date = schema.Datetime(
     76    payment_date = FormattedDatetime(
    7677        title = _(u'Payment Date'),
    7778        required = False,
     
    171172        readonly = False,
    172173        )
     174
     175class IOnlinePaymentImportExport(IOnlinePayment):
     176    """A base representation of payments.
     177
     178    """
     179
     180    creation_date = schema.Datetime(
     181        title = _(u'Ticket Creation Date'),
     182        readonly = False,
     183        )
     184
     185    payment_date = schema.Datetime(
     186        title = _(u'Payment Date'),
     187        required = False,
     188        readonly = False,
     189        )
     190
     191
Note: See TracChangeset for help on using the changeset viewer.