From ca2e9ea3be528550729d503da1ba0c2e15a1812c Mon Sep 17 00:00:00 2001 From: Paul Trowbridge Date: Sat, 30 Aug 2025 08:55:48 -0400 Subject: [PATCH] add approval columns to quote review --- quote_review/quote_review.pg.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/quote_review/quote_review.pg.sql b/quote_review/quote_review.pg.sql index 8e972d5..930b059 100644 --- a/quote_review/quote_review.pg.sql +++ b/quote_review/quote_review.pg.sql @@ -105,6 +105,9 @@ lq AS MATERIALIZED ( -- ,jsonb_pretty(pricing) pricing ,p.guidance_price ,p.guidance_reason + ,p.approval_price + ,p.approval_reason + ,p.tprice guidance_target ,jsonb_pretty(p.ui_json->'data') expl FROM lq @@ -175,4 +178,4 @@ lq AS MATERIALIZED ( WHERE COALESCE(g.bestprice,1) = 1 ) -SELECT * FROM hist --WHERE qid = 108655 +SELECT * FROM hist --LIMIT 1000--WHERE qid = 108655