Optimized database indexes.
[fa-stable.git] / reporting / includes / doctext2.inc
index 9f94b1b4c26fa33ed895d052be912659b03e78d6..d4a725b76ab43c1189dd74efa4a48c74917b4392 100644 (file)
@@ -74,7 +74,7 @@ if (isset($header2type))
                elseif ($doctype == 10)
                        $this->title = "INVOICE";
                elseif ($doctype == 13)
-                       $this->title = "DELIVERY NOTE";
+                       $this->title = ($packing_slip==1 ? "PACKING SLIP" : "DELIVERY NOTE");
                elseif ($doctype == 26)
                        $this->title = "WORK ORDER";
                else
@@ -120,6 +120,7 @@ if (isset($linetype))
                $doc_Amount = "amount";
                $doc_TOTAL_INVOICE = $doctype==10 ? "TOTAL INVOICE" : "TOTAL CREDIT";
                $doc_TOTAL_ORDER = "TOTAL ORDER EX VAT";
+               $doc_TOTAL_ORDER2 = "TOTAL ORDER VAT INCL.";
                $doc_TOTAL_PO = "TOTAL PO EX VAT";
                $doc_TOTAL_DELIVERY = "TOTAL DELIVERY INCL. VAT";
        }