Added optional link for electronic payment on invoices (PayPal)
[fa-stable.git] / reporting / includes / doctext2.inc
index b042aa0850cbe996fee6faf9c32442a9ef1412d0..f509b5d7173405a67883e7f5a52178e212cd1da7 100644 (file)
@@ -22,12 +22,13 @@ if (isset($header2type))
        $doc_Phone_Fax_Email = "Phone/Fax/Email";
        $doc_Bank = "Bank";
        $doc_Bank_Account = "Bank Account";
+       $doc_Payment_Link = "You can pay through";
        if ($doctype == 8 || $doctype == 9 || $doctype == 10 || $doctype == 11)
        {
                if ($doctype == 8)
                        $this->title = "PURCHASE ORDER";
                else if ($doctype == 9)
-                       $this->title = "SALES ORDER";
+                       $this->title = ($print_as_quote==1 ? _("QUOTE") : _("SALES ORDER"));
                else if ($doctype == 10)
                        $this->title = "INVOICE";
                else
@@ -51,6 +52,7 @@ if (isset($emailtype))
        $doc_Dear_Sirs = "Dear Sirs";
        $doc_AttachedFile = "Attached you will find ";
        $doc_Kindest_regards = "Kindest regards";
+       $doc_Payment_Link = "You can pay through";
 }
 if (isset($header2type) || isset($linetype))
 {