title | issue |
---|---|
Customer order document |
NEXT-10975 |
- Added new bool field
displayInCustomerAccount
to data propgeneralFormFields
inmodule/sw-settings-document/page/sw-settings-document-detail/index.js
- Added
documents.documentType
association toShopware\Storefront\Page\Account\Order\AccountOrderPageLoader.php
- Added
documents.documentType
association toShopware\Storefront\Page\Account\Overview\AccountOverviewPageLoader.php
- Added
EqualsFilter
toShopware\Core\Checkout\Order\SalesChannel\OrderRoute.php
. Order documents will be filter bysent
status anddisplayInCustomerAccount
configuration.
- Added block
page_account_order_documents_table
to thesrc/Storefront/Resources/views/storefront/page/account/order-history/order-detail.html.twig
template - Added 2 new templates
src/Storefront/Resources/views/storefront/page/account/order-history/order-detail-document.html.twig
andsrc/Storefront/Resources/views/storefront/page/account/order-history/order-detail-document-item.html.twig