0003789: Comments is cut off when actual invoice is printed. Maximized to 130 characters.
authorJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 15 May 2017 14:22:21 +0000 (16:22 +0200)
committerJoe Hunt <joe.hunt.consulting@gmail.com>
Mon, 15 May 2017 14:22:21 +0000 (16:22 +0200)
reporting/includes/reports_classes.inc

index 5a3094409fb861afb6e91a0e64070f2db6855993..647209f8224a99e46b92fa4c1a19964f99c4ecfb 100644 (file)
@@ -265,7 +265,7 @@ class BoxReports
 
                                case 'TEXTBOX':
                                        $value = (isset($_POST[$name]) ? $_POST[$name] : "");
-                                       return "<textarea rows=4 cols=30 name='$name'>$value</textarea>";
+                                       return "<textarea rows=4 cols=30 maxlength=130 name='$name'>$value</textarea>";
 
                                case 'ACCOUNTS': // not used
                                        return gl_account_types_list($name, null, _("No Account Group Filter"), true);