Merged in feature/IO-3121-Generic-Report-Header (pull request #2107)

IO-3121 Adjust Footer
This commit is contained in:
Allan Carr
2025-02-06 16:32:50 +00:00

View File

@@ -74,7 +74,7 @@ export default async function RenderTemplate(
...templateObject.variables,
...templateObject.context,
headerpath: shopSpecificFolder ? `/${bodyshop.imexshopid}/header.html` : `/GENERIC/header.html`,
footerpath: shopSpecificFolder ? `/${bodyshop.imexshopid}/header.html` : `/GENERIC/footer.html`,
footerpath: shopSpecificFolder ? `/${bodyshop.imexshopid}/footer.html` : `/GENERIC/footer.html`,
bodyshop: bodyshop,
filters: templateObject?.filters,
sorters: templateObject?.sorters,