Skip to content

Latest commit

 

History

History
44 lines (40 loc) · 1.42 KB

2021-11-19-multiple-select-generate-document-in-flow-builder.md

File metadata and controls

44 lines (40 loc) · 1.42 KB
title issue
Multiple select generate document in flow builder.
NEXT-17914

Core

  • 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

Administration

  • Changed sw-flow-generate-document-modal to be able to select multiple document types

Upgrade Information

Allow generating multiple document types at backend

  • Changed Shopware\Core\Content\Flow\Dispatching\Action\GenerateDocumentAction to be able to create single document and multiple documents

Allow selecting multiple document types at generating document action in the flow builder.

  • 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"
    }
  ]
},