IO-3121 Generic Report Header
Signed-off-by: Allan Carr <allan.carr@thinkimex.com>
This commit is contained in:
@@ -391,7 +391,7 @@ const fetchContextData = async (templateObject, jsrAuth) => {
|
|||||||
});
|
});
|
||||||
contextData = data;
|
contextData = data;
|
||||||
}
|
}
|
||||||
return { contextData, useShopSpecificTemplate };
|
return { contextData, useShopSpecificTemplate, shopSpecificFolder };
|
||||||
}
|
}
|
||||||
|
|
||||||
return await generateTemplate(templateQueryToExecute, templateObject, useShopSpecificTemplate, shopSpecificFolder);
|
return await generateTemplate(templateQueryToExecute, templateObject, useShopSpecificTemplate, shopSpecificFolder);
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ export function printQuery(query) {
|
|||||||
* @param templateObject
|
* @param templateObject
|
||||||
* @param useShopSpecificTemplate
|
* @param useShopSpecificTemplate
|
||||||
* @param shopSpecificTemplate
|
* @param shopSpecificTemplate
|
||||||
* @returns {Promise<{contextData: {}, useShopSpecificTemplate}>}
|
* @returns {Promise<{contextData: {}, useShopSpecificTemplate, shopSpecificTemplate}>}
|
||||||
*/
|
*/
|
||||||
export async function generateTemplate(templateQueryToExecute, templateObject, useShopSpecificTemplate, shopSpecificFolder) {
|
export async function generateTemplate(templateQueryToExecute, templateObject, useShopSpecificTemplate, shopSpecificFolder) {
|
||||||
// Advanced Filtering and Sorting modifications start here
|
// Advanced Filtering and Sorting modifications start here
|
||||||
|
|||||||
Reference in New Issue
Block a user