diff --git a/Modules/mip_quotation_document.pck b/Modules/mip_quotation_document.pck index a6fa130..6224020 100644 --- a/Modules/mip_quotation_document.pck +++ b/Modules/mip_quotation_document.pck @@ -1396,21 +1396,24 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS ,'Quotation Contact: Non Standard Customer Service Team'); plpdf.printtext(p_indent ,p_vertical_offset + 70 - ,'Mailbox ; ic.nonstandard1@uk.ngrid.com'); + ,'Mailbox: ic.nonstandard1@uk.ngrid.com'); plpdf.printtext(p_indent ,p_vertical_offset + 74 - ,'Hunt Group 02476 286322'); + ,'Hunt Group: 02476 286322'); plpdf.printtext(p_indent ,p_vertical_offset + 78 - ,'Fax 02476 286044'); + ,'Fax: 02476 286044'); + -- + -- start of letter body + -- plpdf.printtext(p_indent - ,p_vertical_offset + 90 - ,'Dear ' || p_quote_data.agent_first_name); --agent first name + ,p_vertical_offset + 86 + ,'Dear ' || p_quote_data.agent_first_name || ','); --agent first name plpdf.setprintfont(p_font ,'B' ,10); --set bold plpdf.printtext(p_indent - ,p_vertical_offset + 98 + ,p_vertical_offset + 94 ,'Re: ' || rtrim(ltrim(p_quote_data.site_address(1) || ', ' || p_quote_data.site_address(2) || ', ' || p_quote_data.site_address(3) || ', ' || @@ -1427,7 +1430,7 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS l_cell_margin := plpdf.getcellmargin; plpdf.setleftmargin(33.7); plpdf.setcellmargin(-2); - plpdf.setcurrenty(p_vertical_offset + 106); + plpdf.setcurrenty(p_vertical_offset + 102); plpdf.printflowingtext(4 ,l_note_text); 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 ' || 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.'); - plpdf.setcellmargin(l_cell_margin); - plpdf.setleftmargin(31.7); + -- plpdf.setcellmargin(l_cell_margin); + plpdf.setleftmargin(33.7); --31.7 plpdf.setprintfont(p_font ,NULL ,10); --unset bold - plpdf.printtext(p_indent - ,p_vertical_offset + 148 - ,'This quotation is produced on the basis that, the information provided in the request is correct.'); - plpdf.printtext(p_indent - ,p_vertical_offset + 152 - ,'Your acceptance of the quotation will be taken to mean that you also accept that the stated'); - plpdf.printtext(p_indent - ,p_vertical_offset + 156 - ,'assumptions are correct. If it is later determined, by either party prior to works commencing on'); - plpdf.printtext(p_indent - ,p_vertical_offset + 160 - ,'site, that any stated assumption is significantly incorrect, National Grid Metering will determine'); - plpdf.printtext(p_indent - ,p_vertical_offset + 164 - ,'whether the quotation shall be varied or withdrawn. Works will only then commence if any'); - plpdf.printtext(p_indent - ,p_vertical_offset + 168 - ,'variation is agreed in line with the relevant General Conditions of Contract.'); + plpdf.linebreak; + plpdf.linebreak; + plpdf.printflowingtext(p_h => 4 + ,p_txt => 'This quotation is produced on the basis that the information provided in the request is correct. ' || + '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 ' || + 'site, that any stated assumption is significantly incorrect, National Grid Metering will determine ' || + 'whether the quotation shall be varied or withdrawn. Works will only then commence if any ' || + 'variation is agreed in line with the relevant General Conditions of Contract.'); + + plpdf.linebreak; + plpdf.linebreak; + plpdf.printflowingtext(p_h => 4 + ,p_txt => 'To accept the quotation please submit acceptance using the Online Quotation System, as ' || + 'outlined in the Rainbow Manual, or complete the enclosed Acceptance Form and return it to ' || + 'the above National Grid Metering'' office.'); + plpdf.linebreak; + 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 - ,p_vertical_offset + 176 - ,'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 + ,p_vertical_offset + 204 ,'If you have any queries, please contact the team on the number above.'); plpdf.printtext(p_indent - ,p_vertical_offset + 216 + ,p_vertical_offset + 212 ,'Yours sincerely'); --put on signature plpdf.putimage('signature' @@ -1512,11 +1499,14 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS ,44 ,11); plpdf.printtext(p_indent - ,p_vertical_offset + 234 + ,p_vertical_offset + 230 ,'Hilary Parry'); + plpdf.printtext(p_indent + ,p_vertical_offset + 234 + ,'Order Fulfilment Manager'); plpdf.printtext(p_indent ,p_vertical_offset + 238 - ,'I&C Technical Manager'); + ,'Customer Operations'); plpdf.printtext(p_indent ,p_vertical_offset + 242 ,'National Grid Metering');