add approval columns to quote review

This commit is contained in:
Paul Trowbridge 2025-08-30 08:55:48 -04:00
parent a8d83cc042
commit ca2e9ea3be

View File

@ -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