From: Joe Hunt Date: Thu, 6 Sep 2007 20:15:37 +0000 (+0000) Subject: Link blue color X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=0aba53f122f696d29a4e4d1ddb70a9f766877925;p=textcart.git Link blue color --- diff --git a/reporting/includes/pdf_report.inc b/reporting/includes/pdf_report.inc index 03598f4..c72fce9 100644 --- a/reporting/includes/pdf_report.inc +++ b/reporting/includes/pdf_report.inc @@ -444,25 +444,29 @@ class FrontReport extends Cpdf $temp = $this->row - 2 * $this->lineHeight; $this->row = $iline5 - $this->lineHeight - 6; $this->Text($ccol, $doc_Please_Quote . " - " . $myrow['curr_code']); + $this->NewLine(); if ($branch['disable_branch'] > 0 && $doctype == 10) // payment links { if ($branch['disable_branch'] == 1) { - $this->NewLine(); $amt = number_format($myrow["ov_freight"] + $myrow["ov_gst"] + $myrow["ov_amount"], user_price_dec()); $txt = $doc_Payment_Link . " PayPal: "; $name = urlencode($this->title . " " . $myrow['reference']); $url = "https://www.paypal.com/xclick/business=" . $this->company['email'] . "&item_name=" . $name . "&amount=" . $amt . "¤cy_code=" . $myrow['curr_code']; $this->fontSize -= 2; - $this->Text($ccol, $txt.$url); - $this->addLink($url, $ccol, $this->row, $this->pageWidth - $this->rightMargin, $this->row - $this->lineHeight); + $this->Text($ccol, $txt); + $this->NewLine(); + $this->SetTextColor(0, 0, 255); + $this->Text($ccol, $url); + $this->SetTextColor(0, 0, 0); + $this->addLink($url, $ccol, $this->row, $this->pageWidth - $this->rightMargin, $this->row + $this->lineHeight); $this->fontSize += 2; } } if ($this->params['comments'] != '') { - $this->NewLine(2); + $this->NewLine(); $this->Font('bold'); $this->Text($ccol, $this->params['comments']); $this->Font();