fix: rework document and disposition workflow

This commit is contained in:
Björn Fromme
2024-04-19 12:34:04 +02:00
parent 94e01773d4
commit 4372cdaaeb
6 changed files with 52 additions and 27 deletions
+6 -15
View File
@@ -12,8 +12,8 @@ framework:
- new
- checking_contract
- confirmed
- ended
- checking_invoice
- paid
- completed
transitions:
upload_contract:
@@ -23,23 +23,14 @@ framework:
from: checking_contract
to: confirmed
reject_contract:
from:
- confirmed
- checking_contract
from: checking_contract
to: new
upload_invoice:
from:
- confirmed
- completed
from: ended
to: checking_invoice
reject_invoice:
from: checking_invoice
to: ended
confirm_invoice:
from: checking_invoice
to: paid
reject_invoice:
from:
- paid
- checking_invoice
to: confirmed
complete:
from: confirmed
to: completed