WIP: Implement teamer document upload handling

This commit is contained in:
Björn Fromme
2023-10-12 19:50:08 +02:00
parent bfd18b21ce
commit 6df725edc4
25 changed files with 611 additions and 165 deletions
+6
View File
@@ -18,6 +18,12 @@ oneup_uploader:
namer: app.upload_namer
storage:
directory: '%kernel.project_dir%/uploads/contract'
invoice:
frontend: dropzone
use_orphanage: true
namer: app.upload_namer
storage:
directory: '%kernel.project_dir%/uploads/invoice'
document:
frontend: dropzone
use_orphanage: true
+33
View File
@@ -0,0 +1,33 @@
framework:
workflows:
disposition:
type: state_machine
marking_store:
type: method
property: status
supports:
- App\Entity\Disposition
initial_marking: new
places:
- new
- checking_contract
- confirmed
- checking_invoice
- paid
- completed
transitions:
upload_contract:
from: new
to: checking_contract
confirm_contract:
from: checking_contract
to: confirmed
upload_invoice:
from: confirmed
to: checking_invoice
confirm_invoice:
from: checking_invoice
to: paid
complete:
from: confirmed
to: completed