include cost section
This commit is contained in:
parent
81736b51b1
commit
42f8d1b777
@ -471,6 +471,21 @@ BEGIN
|
|||||||
panel.detailLevel,
|
panel.detailLevel,
|
||||||
JSON_QUERY(panel.details) AS details
|
JSON_QUERY(panel.details) AS details
|
||||||
FROM (
|
FROM (
|
||||||
|
-- Cost
|
||||||
|
SELECT
|
||||||
|
'Cost' AS label,
|
||||||
|
5 AS detailLevel,
|
||||||
|
(
|
||||||
|
SELECT
|
||||||
|
'Current Std' AS label,
|
||||||
|
5 AS detailLevel,
|
||||||
|
COALESCE(q.listprice,0) AS value,
|
||||||
|
'currency' AS type,
|
||||||
|
'' AS note
|
||||||
|
FOR JSON PATH
|
||||||
|
) AS details
|
||||||
|
|
||||||
|
UNION ALL
|
||||||
-- History Panel
|
-- History Panel
|
||||||
SELECT
|
SELECT
|
||||||
'History' AS label,
|
'History' AS label,
|
||||||
|
Loading…
Reference in New Issue
Block a user