= p1.start_time))
)and
(
(e.arch_short_name = "product.service" and $P{includeServices}) or
(e.arch_short_name = "product.medication" and $P{includeMedications}) or
(e.arch_short_name = "product.merchandise" and $P{includeMerchandise})
) and
(
(d1.value >= $P{lowMarkup}) and (d1.value <= $P{highMarkup})
)
order by e.name]]>