anchor.diff:  									<cfset loc.data.style = "red">
   
   									<cfset loc.tran.price = ListFirst(loc.dealRec.prices[loc.i]," ") * 1>
  -									<cfset loc.data.discount = 0>
   									<cfset loc.tran.cashonly = loc.data.cash neq 0>
   									<cfif session.till.info.staff AND loc.data.discountable>	<!--- staff sale and is a discountable item --->
   										<cfset loc.itemDiscount = round(loc.data.unitPrice * 100 * session.till.prefs.discount) / 100>
  
positive.code: 						<cfif args.data.cash is 0>
  							<cfset args.data.cash = session.basket.total.balance>
  						</cfif>
  						<cfset this.closeTranNow = args.data.cash gte session.basket.total.balance>
  						<cfset args.data.credit = 0>	<!--- force empty - only use cash figure --->
  						<cfset args.data.class = "pay">
  						<cfset args.data.itemClass = "CASHINDW">
  
negative.code: 									<cfset loc.tran.itemClass = 'CASHINDW'>
  									<cfset loc.tran.itemType = 'pay'>
  									<cfset loc.tran.payID = 12>
  									<cfset loc.tran.accID = 1>
  									<cfset loc.tran.cashonly = "YES">
  									<cfset loc.tran.gross = loc.thisBasket.info.change>
  									<cfset loc.tran.net = loc.thisBasket.info.change>
  