From f447e65bf90ec4c5eee61808fe592a2621e324c6 Mon Sep 17 00:00:00 2001 From: "jamie.priest" Date: Tue, 8 Sep 2009 13:41:26 +0000 Subject: [PATCH] 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 --- Modules/mip_quotation_document.pck | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Modules/mip_quotation_document.pck b/Modules/mip_quotation_document.pck index da0af34..fc0843c 100644 --- a/Modules/mip_quotation_document.pck +++ b/Modules/mip_quotation_document.pck @@ -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