You are here

commerce_invoice.workflows.yml in Commerce Invoice 8.2

File

commerce_invoice.workflows.yml
View source
  1. invoice_default:
  2. id: invoice_default
  3. group: commerce_invoice
  4. label: 'Default'
  5. states:
  6. draft:
  7. label: Draft
  8. pending:
  9. label: Pending
  10. paid:
  11. label: Paid
  12. refund_pending:
  13. label: Pending refund
  14. refunded:
  15. label: Refunded
  16. canceled:
  17. label: Canceled
  18. transitions:
  19. confirm:
  20. label: 'Confirm'
  21. from: [draft]
  22. to: pending
  23. pay:
  24. label: 'Pay'
  25. from: [draft, pending]
  26. to: paid
  27. refund:
  28. label: 'Refund'
  29. from: [refund_pending]
  30. to: refunded
  31. cancel:
  32. label: 'Cancel'
  33. from: [pending]
  34. to: canceled