title | issue |
---|---|
Multiple select generate document in flow builder. |
NEXT-17914 |
- Changed
Shopware\Core\Content\Flow\Dispatching\Action\GenerateDocumentAction
to be able to create single document and multiple documents - Added migration
\Shopware\Core\Migration\V6_4\Migration1636362839FlowBuilderGenerateMultipleDoc
- Changed
sw-flow-generate-document-modal
to be able to select multiple document types
- Changed
Shopware\Core\Content\Flow\Dispatching\Action\GenerateDocumentAction
to be able to create single document and multiple documents
- We are able to select multiple document types in a generated document action in the flow builder.
- The flow builder is to be able to show the action with the configuration data as a single document or multiple documents.
- the configuration schema payload in the flow builder for this action will change:
Before:
"config": {
"documentType": "credit_note",
"documentRangerType": "document_credit_note"
},
After:
"config": {
"documentTypes": [
{
"documentType": "credit_note",
"documentRangerType": "document_credit_note"
},
{
"documentType": "delivery_note",
"documentRangerType": "document_delivery_note"
}
]
},