Resolved a couple of formatting issues on the pdf quote.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@12552 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
jamie.priest
2009-09-08 13:41:26 +00:00
parent 44a6ce11a5
commit f447e65bf9

View File

@@ -429,7 +429,7 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
p_caveats(l_caveats_counter);
l_caveats_counter := l_caveats_counter + 1;
END LOOP;
RETURN l_caveat_total_text;
RETURN ltrim(l_caveat_total_text);
END glue_one_line_caveat;
/*
@@ -1164,7 +1164,7 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
,NULL
,'NULL'
,qi.selling_price)
,t.condition)
,t.condition)--consider the condition for this caveat (allows user to input regular expression against the cost)
ORDER BY 1
,2
,3
@@ -2877,13 +2877,12 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
,10); --set bold
plpdf.printtext(85
,p_vertical_offset + 62
,'#' || TO_CHAR(p_quote_data.total_cost
,'FM999999D90'));
,TO_CHAR(p_quote_data.total_cost
,'FML999999D90'));
plpdf.setcurrenty(66);
l_ybefore := plpdf.getcurrenty;
-- CONT_SUM_QA caveat here
IF p_quote_data.caveat_cont_sum_qa IS NOT NULL THEN
--print_caveats(p_quote_data.caveat_cont_sum_qa, p_vertical_offset+63,4,1);
print_one_line_caveats(p_quote_data.caveat_cont_sum_qa
,p_vertical_offset + 59
,plpdf.getcurrenty + 40