commerce_invoice_test.workflows.yml in Commerce Invoice 8.2
tests/modules/commerce_invoice_test/commerce_invoice_test.workflows.yml
File
tests/modules/commerce_invoice_test/commerce_invoice_test.workflows.ymlView source
- invoice_test_workflow:
- id: invoice_test_workflow
- group: commerce_invoice
- label: 'Test workflow'
- states:
- pending:
- label: Pending
- paid:
- label: Paid
- canceled:
- label: Canceled
- transitions:
- pay:
- label: 'Pay invoice'
- from: [pending]
- to: paid
- cancel:
- label: 'Cancel invoice'
- from: [pending]
- to: canceled