Fix for #518, moved caveat print out to be a little further to the right so that larger costs do not get overwritten.

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@5344 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-06-18 14:45:15 +00:00
parent b2449b1700
commit ea2b52225b

View File

@@ -77,6 +77,15 @@ END mip_quotation_document;
/
CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
PROCEDURE pl(p_in IN VARCHAR2
,p_line IN NUMBER DEFAULT NULL) IS
BEGIN
$IF mip_debug_constants.debugging $THEN mip_debug.pl(p_unit => $$PLSQL_UNIT
,p_line => p_line
,p_in => p_in);
$END NULL;
END pl;
/*
function get_meter_type_code_desc
@@ -877,8 +886,11 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
begin
plpdf.NewPage;
--set watermark if it exists
if p_watermark_blob is not null then
if p_watermark_blob is not null THEN
pl('watermark IS NOT null',$$plsql_line);
plpdf.PutImage('test watermark',p_watermark_blob,50,50,200,200);
ELSE
pl('watermark IS null',$$plsql_line);
end if;
-- set margins
plpdf.SetLeftMargin(31.7);
@@ -1031,7 +1043,7 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
-- CONT_SUM caveat here
if p_quote_data.caveat_cont_sum is not null then
print_one_line_caveats(p_quote_data.caveat_cont_sum, p_vertical_offset+111,plpdf.GetCurrentY+4,4);
print_one_line_caveats(p_quote_data.caveat_cont_sum, p_vertical_offset+111,plpdf.GetCurrentY+8,4);
end if;
l_vertical_offset_for_costs := l_vertical_offset_for_costs+(plpdf.GetCurrentY-l_ybefore);
plpdf.SetPrintFont(p_font,null,10); --unset bold