Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Using these ID numbers, you can customise the header and footer of any report, by amending the corresponding customheader_x.html and customfooter_x.html files (where x is the ID number of the report), located in \data in

Referencemacro
Labeldata
folder of the main installation folderprogram.

For example, if you want to add the company name to the heading of each telephone bill you produce, you need to locate the customheader_2.html within the \

Referencemacro
Labeldata
folder.

The raw An HTML example for such a file may look something like the followingfile is shown below:

Code Block
languagehtml/xml
 <html>
    <body>
        <div align="left">
            <table border="0" cellpadding="3" cellspacing="0" width="100%" style="font-family:Tahoma, Arial; font-size: 9pt">
                <tr>
                    <td width="66%" colspan="2">
                        <font size="6">Telephone Bill<br></font>
                        <font size="5">for<#SSI_PARAM:extngroup><#SSI_PARAM:extension><#SSI_PARAM:account></font>
                    </td>
                    <td width="34%"><img src="img/company_logo.gif" align="right" width="100" height="100"></td>
                </tr>
                <tr>
                    <td width="33%"></td>
                    <td width="33%"></td>
                    <td width="34%"><p align="right">Bill enquiries 020 7265 2600</td>
                </tr>
            </table>
        </div>
 
        <table border="0" width="100%" cellspacing="0" cellpadding="4" style="font-family: Tahoma; font-size: 9pt">
            <tr>
                <td width="20%"><strong>Covering period</strong></td>
                <td width="80%"><#SSI_PARAM:fromdate><#SSI_PARAM:fromtime>&nbsp;<strong>to</strong>&nbsp;<#SSI_PARAM:todate>&nbsp;<#SSI_PARAM:totime></td>
            </tr>
            <tr>
                <td width="20%"><strong>Billing Entity</strong></td>
                <td width="80%"><#SSI_PARAM:extngroup><#SSI_PARAM:extension><#SSI_PARAM:account></td>
            </tr>
        </table>

This The example above uses server-side includes (SSIs), explained later described in the Dynamic reports section below.

The example code would produce an output similar to the following output:

Screenshotmacro
Borderfalse
Shadowfalse
URL/download/attachments/7241982/customisation.png

...