From ce77ad7de35f798fb3a7f5bc8e74d15caba502ad Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Wed, 27 Aug 2025 15:08:33 -0400 Subject: [PATCH] flip the labels on last quote and last sale --- procs/single_price_call.ms.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/procs/single_price_call.ms.sql b/procs/single_price_call.ms.sql index b572d3f..45cbbaa 100644 --- a/procs/single_price_call.ms.sql +++ b/procs/single_price_call.ms.sql @@ -461,8 +461,8 @@ BEGIN CASE ISNULL(q.last_source, '') WHEN 'mrq' THEN 'Similar Quote' WHEN 'mrs' THEN 'Similar Sale' - WHEN 'dsq' THEN 'Last Sale' - WHEN 'dss' THEN 'Last Quote' + WHEN 'dsq' THEN 'Last Quote' + WHEN 'dss' THEN 'Last Sale' ELSE '' END ELSE 'No Recent' @@ -596,5 +596,5 @@ BEGIN -------------------------------------------------------------------------------- -- Final: Return all calculated fields and JSON payloads. -------------------------------------------------------------------------------- - SELECT guidance_price, ui_json FROM @queue; + SELECT guidance_price, ui_json FROM @queue; END;