Help for this page

Select Code to Download


  1. or download this
    use autouse WQ_Finish => qw(EmailQuote QuotePage genHTMLquote genTextQ
    +uote zoneBreak);
    
    ...
    ...
    
    EmailQuote();    # Send quote to customer
    
  2. or download this
    local $crlf = "\x0d\x0a";
    
  3. or download this
         $retval .= '<b><i>This quote is good for ' . $main::QteExpires . 
    +' from the date above.</i></b><br><br>' . $crlf;
         if ($main::QtePostscript ne '') { $retval .= '<font size=-1>' . m
    +ain::esc2HTML($main::QtePostscript) . '</font>' . $crlf; }
    
  4. or download this
    sub esc2HTML {                     # Convert plain text to HTML (&s, <
    +s, >s, "s, double spaces, etc.)
         my $retval = shift;
    ...
         $retval =~ s/\n/\<br\>\<br\>\n/g;
         return $retval;
    }