From c17b8ed40f555d095af8ad8b9216c31053a01b54 Mon Sep 17 00:00:00 2001 From: alltheworld Date: Sun, 9 Mar 2014 03:23:05 +0200 Subject: [PATCH] fix --- public/js/script.js | 27 ++++++++++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/public/js/script.js b/public/js/script.js index 560f79fdbc43..f05fc890476a 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1082,33 +1082,54 @@ function GetReportTemplate1 (invoice,checkMath) var left = marginLeft; - doc.setFontSize(7); + + + doc.setFontSize(9); + + var MaxLen=0; + + SetPdfColor('LightBlue',doc); if (account.name) { y += rowHeight; doc.text(left, y, account.name); + + + + + test=(doc.getStringUnitWidth(account.name) * doc.internal.getFontSize()); + if (MaxLen