pickware / shopware

Shopware Repository
http://www.shopware.com
Other
0 stars 0 forks source link

Allow optional creation of multiple documents per order with the same type #53

Closed samuelvogel closed 6 years ago

samuelvogel commented 7 years ago

Shopware currently only allows one document per type for an order, which is enforced here: https://github.com/VIISON/shopware/blob/709dbfc765dafa0dcc6c1b29f2efad4e58a08b80/engine/Shopware/Components/Document.php#L578-L583

There should be an optional parameter which allows to skip this check.

hanneswernery commented 6 years ago

PR pending.