 		WHERE DATE( ehTimeStamp ) = '#form.reportDate#'
 		GROUP by pgNomGroup
 	</cfquery>
-	<!---<cfdump var="#QItemSum2#" label="QItemSum2" expand="false">--->
+	<cfdump var="#QItemSum2#" label="QItemSum2" expand="false">
 	
 	<cfquery name="QItemSummary" datasource="#parm.datasource#">
-		SELECT pcatGroup, prodCatID,prodEposCatID, eiClass, eiType, pgTitle, SUM(eiNet) AS net, SUM(eiVAT) as vat, Count(*) AS itemCount
+		SELECT pcatGroup, prodTitle,prodID,prodCatID,prodEposCatID, eiClass, eiType, pgTitle, SUM(eiNet) AS net, SUM(eiVAT) as vat, Count(*) AS itemCount
 		FROM `tblEPOS_Items`
 		INNER JOIN tblEPOS_Header ON ehID = eiParent
 		INNER JOIN tblProducts ON prodID = eiProdID

				<td></td>
			</tr>
			<tr>
				<th align="right" colspan="4">Totals</th>
				<th align="right">#DecimalFormat(drtotal)#</th>
				<th align="right">#DecimalFormat(-crtotal)#</th>
				<th align="right">#countTotal#</th>

	<cfset epos = ecfc.LoadEPOSTotals(parm)>
	<!---<cfdump var="#epos#" label="epos" expand="true">--->
	<cfquery name="QItemSum2" datasource="#parm.datasource#">
		SELECT pcatGroup, prodCatID,prodEposCatID, eiClass,eiType, pgTitle,pgNomGroup, nomTitle, SUM(eiNet) AS net, SUM(eiVAT) as vat, Count(*) AS itemCount
		FROM `tblEPOS_Items`
		INNER JOIN tblEPOS_Header ON ehID = eiParent
		INNER JOIN tblProducts ON prodID = eiProdID
