Ignore:
Timestamp:
12 Mar 2015, 08:36:30 (10 years ago)
Author:
Henrik Bettermann
Message:

Rename contract workflow transition and change messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.ikoba/trunk/src/waeup/ikoba/customers/workflow.py

    r12663 r12747  
    199199
    200200    Transition(
    201         transition_id = 'discard',
    202         title = _('Discard payment'),
     201        transition_id = 'abort',
     202        title = _('Abort payment'),
    203203        source = AWAITING,
    204204        condition = NullCondition,
    205         msg = _('Payment discarded'),
     205        msg = _('Payment aborted'),
    206206        destination = CREATED),
    207207
     
    209209        transition_id = 'submit',
    210210        title = _('Submit for approval'),
    211         msg = _('Submitted for approval'),
     211        msg = _('Contract submitted'),
    212212        source = CREATED,
    213213        destination = SUBMITTED),
     
    216216        transition_id = 'confirm',
    217217        title = _('Confirm payment'),
    218         msg = _('Payment and submission confirmed'),
     218        msg = _('Payment made and contract submitted'),
    219219        source = AWAITING,
    220220        destination = SUBMITTED),
     
    222222    Transition(
    223223        transition_id = 'approve',
    224         title = _('Approve'),
    225         msg = _('Approved'),
     224        title = _('Approve contract'),
     225        msg = _('Contract approved'),
    226226        source = SUBMITTED,
    227227        destination = APPROVED),
     
    229229    Transition(
    230230        transition_id = 'reject',
    231         title = _('Reject'),
    232         msg = _('REJECTED'),
     231        title = _('Reject contract'),
     232        msg = _('Contract rejected'),
    233233        source = SUBMITTED,
    234234        destination = REJECTED),
     
    236236    Transition(
    237237        transition_id = 'reset1',
    238         title = _('Reset to initial state'),
     238        title = _('Reset contract to initial state'),
    239239        msg = _('Reset to initial state'),
    240240        source = REJECTED,
     
    271271    )
    272272
    273 PAYMENT_TRANSITIONS = ['await', 'discard', 'confirm']
     273PAYMENT_TRANSITIONS = ['await', 'abort', 'confirm']
    274274
    275275contract_workflow = IkobaWorkflow(CONTRACT_TRANSITIONS)
Note: See TracChangeset for help on using the changeset viewer.