From 31452a37e867bbdb010dcf57044aa46e363d40b6 Mon Sep 17 00:00:00 2001 From: alltheworld Date: Wed, 5 Mar 2014 18:42:48 +0200 Subject: [PATCH] report fixes --- public/js/script.js | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/public/js/script.js b/public/js/script.js index 53090ec2e170..708098d959c4 100644 --- a/public/js/script.js +++ b/public/js/script.js @@ -1224,6 +1224,13 @@ y2=GlobalY; doc.text(AmountX, x, AmountText); + + + + + if (terms ) + { + GlobalY=GlobalY+100; length=doc.splitTextToSize( terms, 200).length; @@ -1241,6 +1248,9 @@ y2=GlobalY; doc.text(40, GlobalY, terms); GlobalY=GlobalY+h; + } + if (public_notes ) + { //GlobalY=GlobalY+100; length=doc.splitTextToSize( public_notes, 200).length; @@ -1258,7 +1268,7 @@ y2=GlobalY; GlobalY=GlobalY+h; - +} return doc; }