truncate the descriptor on guidance logic

This commit is contained in:
Paul Trowbridge 2025-08-12 09:57:48 -04:00
parent fb462fbcb1
commit 59b616c2b7

View File

@ -49,7 +49,8 @@ BEGIN
IF _last_price IS NOT NULL AND _last_date IS NOT NULL THEN
_reason := format(
'Last price ignored (too old: %s), using target price',
-- 'Last price ignored (too old: %s), using target price',
'Last price ignored, using target price',
to_char(_last_date, 'YYYY-MM-DD')
);
ELSE
@ -61,7 +62,8 @@ BEGIN
IF _last_price IS NOT NULL AND _last_date IS NOT NULL THEN
_reason := format(
'Last price ignored (too old: %s), no pricing available',
-- 'Last price ignored (too old: %s), no pricing available',
'Last price too old, no pricing available',
to_char(_last_date, 'YYYY-MM-DD')
);
ELSE