Moved the body of the quotation front page up by 4 units to give space below the signature block (mip_quotation_document.pck).

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@25663 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
andrew.hardy
2010-08-13 14:23:32 +00:00
parent 78497b6b8f
commit b66ed437f4

View File

@@ -1396,21 +1396,24 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
,'Quotation Contact: Non Standard Customer Service Team'); ,'Quotation Contact: Non Standard Customer Service Team');
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 70 ,p_vertical_offset + 70
,'Mailbox ; ic.nonstandard1@uk.ngrid.com'); ,'Mailbox: ic.nonstandard1@uk.ngrid.com');
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 74 ,p_vertical_offset + 74
,'Hunt Group 02476 286322'); ,'Hunt Group: 02476 286322');
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 78 ,p_vertical_offset + 78
,'Fax 02476 286044'); ,'Fax: 02476 286044');
--
-- start of letter body
--
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 90 ,p_vertical_offset + 86
,'Dear ' || p_quote_data.agent_first_name); --agent first name ,'Dear ' || p_quote_data.agent_first_name || ','); --agent first name
plpdf.setprintfont(p_font plpdf.setprintfont(p_font
,'B' ,'B'
,10); --set bold ,10); --set bold
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 98 ,p_vertical_offset + 94
,'Re: ' || rtrim(ltrim(p_quote_data.site_address(1) || ', ' || ,'Re: ' || rtrim(ltrim(p_quote_data.site_address(1) || ', ' ||
p_quote_data.site_address(2) || ', ' || p_quote_data.site_address(2) || ', ' ||
p_quote_data.site_address(3) || ', ' || p_quote_data.site_address(3) || ', ' ||
@@ -1427,7 +1430,7 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
l_cell_margin := plpdf.getcellmargin; l_cell_margin := plpdf.getcellmargin;
plpdf.setleftmargin(33.7); plpdf.setleftmargin(33.7);
plpdf.setcellmargin(-2); plpdf.setcellmargin(-2);
plpdf.setcurrenty(p_vertical_offset + 106); plpdf.setcurrenty(p_vertical_offset + 102);
plpdf.printflowingtext(4 plpdf.printflowingtext(4
,l_note_text); ,l_note_text);
plpdf.linebreak; plpdf.linebreak;
@@ -1454,55 +1457,39 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
,' Please note, if you accept this quotation you are agreeing to be bound by the terms of the ' || ,' Please note, if you accept this quotation you are agreeing to be bound by the terms of the ' ||
p_quote_data.mam || p_quote_data.mam ||
' and General Conditions of Contract for Transactional Meter Works Not Exceeding 7 Bar, and all subsequent work will be performed in accordance with that contract.'); ' and General Conditions of Contract for Transactional Meter Works Not Exceeding 7 Bar, and all subsequent work will be performed in accordance with that contract.');
plpdf.setcellmargin(l_cell_margin); -- plpdf.setcellmargin(l_cell_margin);
plpdf.setleftmargin(31.7); plpdf.setleftmargin(33.7); --31.7
plpdf.setprintfont(p_font plpdf.setprintfont(p_font
,NULL ,NULL
,10); --unset bold ,10); --unset bold
plpdf.printtext(p_indent plpdf.linebreak;
,p_vertical_offset + 148 plpdf.linebreak;
,'This quotation is produced on the basis that, the information provided in the request is correct.'); plpdf.printflowingtext(p_h => 4
plpdf.printtext(p_indent ,p_txt => 'This quotation is produced on the basis that the information provided in the request is correct. ' ||
,p_vertical_offset + 152 'Your acceptance of the quotation will be taken to mean that you also accept that the stated ' ||
,'Your acceptance of the quotation will be taken to mean that you also accept that the stated'); 'assumptions are correct. If it is later determined, by either party prior to works commencing on ' ||
plpdf.printtext(p_indent 'site, that any stated assumption is significantly incorrect, National Grid Metering will determine ' ||
,p_vertical_offset + 156 'whether the quotation shall be varied or withdrawn. Works will only then commence if any ' ||
,'assumptions are correct. If it is later determined, by either party prior to works commencing on'); 'variation is agreed in line with the relevant General Conditions of Contract.');
plpdf.printtext(p_indent
,p_vertical_offset + 160 plpdf.linebreak;
,'site, that any stated assumption is significantly incorrect, National Grid Metering will determine'); plpdf.linebreak;
plpdf.printtext(p_indent plpdf.printflowingtext(p_h => 4
,p_vertical_offset + 164 ,p_txt => 'To accept the quotation please submit acceptance using the Online Quotation System, as ' ||
,'whether the quotation shall be varied or withdrawn. Works will only then commence if any'); 'outlined in the Rainbow Manual, or complete the enclosed Acceptance Form and return it to ' ||
plpdf.printtext(p_indent 'the above National Grid Metering'' office.');
,p_vertical_offset + 168 plpdf.linebreak;
,'variation is agreed in line with the relevant General Conditions of Contract.'); plpdf.linebreak;
plpdf.printflowingtext(p_h => 4
,p_txt => 'Please note that this quotation is valid for 90 days from the date specified in the quotation.' ||
' Please use the Online Quotation Reference, which is at the top of the letter, on any future ' ||
'correspondence relating to this request.');
-- --
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 176 ,p_vertical_offset + 204
,'To accept the quotation please submit acceptance using the Online Quotation System, as');
plpdf.printtext(p_indent
,p_vertical_offset + 180
,'outlined in the Rainbow Manual, or complete the enclosed Acceptance Form and return it to');
plpdf.printtext(p_indent
,p_vertical_offset + 184
,'the above National Grid Metering'' office.');
--
plpdf.printtext(p_indent
,p_vertical_offset + 192
,'Please note that this quotation is valid for 90 days from the date specified in the quotation.');
plpdf.printtext(p_indent
,p_vertical_offset + 196
,'Please use the Online Quotation Reference, which is at the top of the letter, on any future');
plpdf.printtext(p_indent
,p_vertical_offset + 200
,'correspondence relating to this request.');
--
plpdf.printtext(p_indent
,p_vertical_offset + 208
,'If you have any queries, please contact the team on the number above.'); ,'If you have any queries, please contact the team on the number above.');
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 216 ,p_vertical_offset + 212
,'Yours sincerely'); ,'Yours sincerely');
--put on signature --put on signature
plpdf.putimage('signature' plpdf.putimage('signature'
@@ -1512,11 +1499,14 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS
,44 ,44
,11); ,11);
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 234 ,p_vertical_offset + 230
,'Hilary Parry'); ,'Hilary Parry');
plpdf.printtext(p_indent
,p_vertical_offset + 234
,'Order Fulfilment Manager');
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 238 ,p_vertical_offset + 238
,'I&C Technical Manager'); ,'Customer Operations');
plpdf.printtext(p_indent plpdf.printtext(p_indent
,p_vertical_offset + 242 ,p_vertical_offset + 242
,'National Grid Metering'); ,'National Grid Metering');