Quick Search
Browse
Pages
Blog
Labels
Attachments
Mail
Advanced
What’s New
Space Directory
Feed Builder
Keyboard Shortcuts
Confluence Gadgets
Log In
Dashboard
TIM Plus
Copy Page
You are not logged in. Any changes you make will be marked as
anonymous
. You may want to
Log In
if you already have an account. You can also
Sign Up
for a new account.
This page is being edited by
.
Paragraph
Paragraph
Heading 1
Heading 2
Heading 3
Heading 4
Heading 5
Heading 6
Preformatted
Quote
Bold
Italic
Underline
More colours
Strikethrough
Subscript
Superscript
Monospace
Clear Formatting
Bullet list
Numbered list
Outdent
Indent
Align left
Align center
Align right
Link
Table
Insert
Insert Content
Image
Link
Attachment
Symbol
Emoticon
Wiki Markup
Horizontal rule
tinymce.confluence.insert_menu.macro_desc
Info
JIRA Issue
Status
Gallery
Tasklist
Table of Contents
Other Macros
Undo
Redo
Find/Replace
Keyboard Shortcuts Help
<p><img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3N1bW1hcnlfbGlzdDpUYXNrMT1JbnRyb2R1Y3Rpb258VGFzazI9Q2hhbmdpbmcgV2ViIGZvcm1hdHxUYXNrMz1DaGFuZ2luZyBQREYgZm9ybWF0fQ&locale=en_GB&version=2" data-macro-name="summary_list" data-macro-parameters="Task1=Introduction|Task2=Changing Web format|Task3=Changing PDF format"></p><table class="wysiwyg-macro" data-macro-name="html" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2h0bWx9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre><a id="Introduction"></a></pre></td></tr></table><h1>Introduction</h1><p>Every report in TIM Plus can be fully customised, from how they perform their calculations to the way they appear.</p><p>To amend a report, you need to edit its associated XSL or PDF script file, paying attention to the class of web user whose content you want to change, and which report format.</p><p class="reference">This document details how to change the tax rate in the <span class="reference">Phone Bill </span>report in both <span class="reference">Web</span> and <span class="reference">PDF</span> formats, for any web user with a class of <span class="reference">Administrator</span>.</p><p>Every report has a unique ID number which the system uses to identify the report type (the report ID for a <span class="reference">Phone Bill </span>report is <span class="reference">2</span>)</p><table class="wysiwyg-macro" data-macro-name="html" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2h0bWx9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre><a id="Changing Web format"></a></pre></td></tr></table><h1>Changing Web format<strong><br /></strong></h1><p>Open the following file in a plain text editor such as Notepad:</p><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>{Program Files}\Tri-Line\TIM Plus\ssldata\_siteadmin\scripts\web\2.xsl</pre></td></tr></table><p>Look in the first few lines of code for the VAT amount, then change it to the new amount, respecting the decimal point and number of decimal places:</p><p><img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3NjcmVlbnNob3RtYWNybzpVUkw9L2Rvd25sb2FkL2F0dGFjaG1lbnRzLzE2NzEzMTgvdmF0X3hzbC5wbmd9&locale=en_GB&version=2" data-macro-name="screenshotmacro" data-macro-parameters="URL=/download/attachments/1671318/vat_xsl.png"></p><p class="reference">Save the file and run a new <span class="reference">Phone Bill</span> report in <span class="reference">Web </span>format to verify whether the amount has changed. If it hasn't then you may be running the report as a web user with a different web class than <img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3JlZmVyZW5jZW1hY3JvOkxhYmVsPUFkbWluaXN0cmF0b3J9&locale=en_GB&version=2" data-macro-name="referencemacro" data-macro-parameters="Label=Administrator">; in which case, modify the file in the path specified above, but choose the appropriate folder other than <span class="keyword">_admin</span>.</p><table class="wysiwyg-macro" data-macro-name="html" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2h0bWx9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre><a id="Changing PDF format"></a></pre></td></tr></table><h1>Changing PDF format</h1><p>Again, in a plain text editor such as Notepad, edit the following file:</p><p>You'll notice that this is a Javascript file, and that it is located in the <span class="keyword">\pdf\</span> folder of the <span class="keyword">\scripts\</span> folder.</p><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>{Program Files}\Tri-Line\TIM Plus\ssldata\_admin\scripts\pdf\2.js</pre></td></tr></table><p>Search for the following line (the value shown below may be different on your system):</p><table class="wysiwyg-macro" data-macro-name="code" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e2NvZGV9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre>var _vat = 20.0;</pre></td></tr></table><p>Change the value to the new amount, then save the file.</p><p class="reference">Run a new <img class="editor-inline-macro" src="/plugins/servlet/confluence/placeholder/macro?definition=e3JlZmVyZW5jZW1hY3JvOkxhYmVsPVBob25lIEJpbGx9&locale=en_GB&version=2" data-macro-name="referencemacro" data-macro-parameters="Label=Phone Bill"> report in <span class="reference">PDF </span>format to verify that the amount has changed.</p>
Attachments
Labels
Location
< Edit
Preview >
Loading…
Save
Cancel
Next hint
search
attachments
weblink
advanced