Trying to build an invoice with IQ but it's not working properly.
This used to work (slightly simplified for our purpose) but it doesn't anymore, I get weird chars (see bottom of post):
<head>
<META name=GENERATOR content="InfoQube 0.9.70a">
<META charset=UTF-8>
<STYLE> body {font-family:Calibri; font-size:12;}table {font-family:Arial Unicode MS; font-size:12;}
ol, ul { margin: 0.5em 3em; }
</STYLE>
<style type="text/css">
.auto-style1 {
text-align: center;
}
.auto-style2 {
text-align: left;
}
.auto-style3 {
margin-right: 0px;
}
.auto-style4 {
color: #FFFFFF;
background-color: #000000;
}
.auto-style5 {
font-size: 13pt;
}
</style>
</head>
<body>
<p>{DataBLK}{ItemBLK}</p>
<p> </p>
<p><strong>Xxxxxx Xxxxxx</strong><br />
blabla@balbal.com<br />
(123) 123-1234<br />
XXX Av. XXX XXXXX app.Y<br />
ThisPlace, Somewhere<br />
1234567<br />
</p>
<p> </p>
<p class="auto-style1" style="height: 22px; width: 675px"><strong>Facture</strong><br />
</p>
<p class="auto-style1" style="width: 675px">N<sup>o</sup> {InvoiceID}</p>
<p class="auto-style2" style="width: 675px">Date : {Date}</p>
<p class="auto-style2">De : XXXXX XXXXX</p>
<p class="auto-style2"><strong>À :</strong> {Parent.Item}<br />
{Parent.Company}<br />
{Parent.address}</p>
<table class="auto-style3" style="width: 675px">
<tr>
<td style="width: 243px" class="auto-style4">DATES</td>
<td style="width: 229px" class="auto-style4">DESCRIPTION</td>
<td style="width: 375px" class="auto-style4">COÛT</td>
</tr>
<tr>
<td rowspan="4" style="width: 243px">Du : {InvoiceStartDate}<br />
au : {InvoiceEndDate}</td>
<td rowspan="4" style="width: 229px">{Notes}</td>
<td style="width: 375px">{Duration} h<br />
à {HrsRate}/h</td>
</tr>
<tr>
<td style="width: 375px">Sous-total<br />
{InvoiceSubTotal} </td>
</tr>
<tr>
<td style="width: 375px">Taxes<br />
{InvoiceTaxes} </td>
</tr>
<tr>
<td style="width: 375px"><strong>Total</strong><br />
{InvoiceTotal} </td>
</tr>
</table>
<p> </p>
<p>Pour toute question, n'hésitez pas à me contacter.</p>
<p>Merci,</p>
<p> </p>
<p>XXXXXXXXXXXXX</p>
<p>{/ItemBLK}{/DataBLK}</p>
</body>
</html>
I get weird characters for every non english chars that are already in the template + a few weird chars at the top of the page. (Note : non english chars that come from IQ fields are OK.)
In the table :
At the top of the sheet (nothing should be there):
At the bottom :
What am I doing wrong? Is it a bug?
Thanks.
Comments