You are here

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.yml
View source
  1. invoice_test_workflow:
  2. id: invoice_test_workflow
  3. group: commerce_invoice
  4. label: 'Test workflow'
  5. states:
  6. pending:
  7. label: Pending
  8. paid:
  9. label: Paid
  10. canceled:
  11. label: Canceled
  12. transitions:
  13. pay:
  14. label: 'Pay invoice'
  15. from: [pending]
  16. to: paid
  17. cancel:
  18. label: 'Cancel invoice'
  19. from: [pending]
  20. to: canceled