Added option to print delivery notes as packing slip in reports and links.
[fa-stable.git] / reporting / includes / doctext.inc
index 23a8c65d02aa8dc8f5c226eb66c89b516ff60046..0edc595fde9c28d9493396cb331ce6540443f054 100644 (file)
@@ -71,7 +71,7 @@ if (isset($header2type))
                elseif ($doctype == 8)
                        $this->title = _("PURCHASE ORDER");
                elseif ($doctype == 13)
-                       $this->title = _("DELIVERY NOTE");
+                       $this->title = ($packing_slip==1 ? _("PACKING SLIP") : _("DELIVERY NOTE"));
                elseif ($doctype == 9)
                        $this->title = ($print_as_quote==1 ? _("QUOTE") : _("SALES ORDER"));
                elseif ($doctype == 10)