 			
 			<table class="tableList" border="1">
 				<tr>
-					<th colspan="29">From: #DateFormat(reportDateFrom,"ddd dd-mmm-yy")# To: #DateFormat(reportDateTo,"ddd dd-mmm-yy")# #DayRange# Days</th>
+					<th colspan="29">From: #DateFormat(parm.reportDateFrom,"ddd dd-mmm-yy")# To: #DateFormat(parm.reportDateTo,"ddd dd-mmm-yy")# #DayRange# Days</th>
 				</tr>
 				<tr>
 					<th>Group</th>

		AND eiClass = 'sale'
        GROUP BY groupTitle, catTitle, prodTitle, siUnitSize, hh
	</cfquery>
</cfif>
<body>
	<div>

	</div>
	<cfif StructKeyExists(variables,"QItemAnalysis")>
		<cfoutput>
			<cfset DayRange = parm.reportDateTo - parm.reportDateFrom + 1>
			<cfset currProd = 0>
			<cfset totCount = 0>
			<cfset products = {}>
