Altered code to only display the watermark on the pdf if the watermark jpeg has a flow id the same as the current application

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@4860 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-04-21 14:42:37 +00:00
parent 481e3d46a3
commit 03cdf0fa79

View File

@@ -1472,7 +1472,7 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
CURSOR c_get_watermark(cp_watermark varchar2) IS
SELECT blob_content
FROM wwv_flow_files
WHERE filename = cp_watermark;
WHERE filename = cp_watermark and flow_id=apex_application.g_flow_id;
begin
IF NOT c_get_logo%ISOPEN THEN