Files
myep-team/config/packages/workflow.yaml
T

38 lines
1.1 KiB
YAML

framework:
workflows:
disposition:
type: 'state_machine'
marking_store:
type: 'method'
property: 'status'
supports:
- App\Entity\Disposition
initial_marking: new
places:
- new
- checking_contract
- confirmed
- ended
- checking_invoice
- completed
- called_off
transitions:
upload_contract:
from: new
to: checking_contract
confirm_contract:
from: checking_contract
to: confirmed
reject_contract:
from: checking_contract
to: new
upload_invoice:
from: ended
to: checking_invoice
reject_invoice:
from: checking_invoice
to: ended
confirm_invoice:
from: checking_invoice
to: completed