Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Tabel row too high pdf template
(1 viewing) (1) Guest
Support forum for customers who have purchased this product. Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1

TOPIC: Tabel row too high pdf template

Tabel row too high pdf template 10 years ago #43066

Hi there,

Already in another topic this issue posted, but couldn't answer earlier and now the topic is locked
this topic

Anyway the tabel on the pdf is too high. Looks like there is an unnecessary row. Pama asked me to post the output in debug mode, so here it is an also a picture how the pdf looks now:

Body HTML Code:
---------------------------------------
<table style="width: 100%;" border="0">
<tbody>
<tr>
<td><br />
<table style="width: 100%;" border="0">
<tbody>
<tr>
<td valign="top" width="50%"> </td>
<td valign="top" width="50%">
<p>
<table width="100%"><tr><td align="right" width="60%">FACTUUR: </td><td align="right" width="40%">20140139</td></tr>
<tr><td align="right" width="60%">Factuurdatum: </td><td align="right" width="40%">04.03.2014</td></tr>
<tr><td align="right" width="60%">Betalingswijze: </td><td align="right" width="40%">iDeal</td></tr></table>
</p>
</td>
</tr>
</tbody>
</table>
<hr />
<table style="width: 100%;" border="0">
<tbody>
<tr>
<td valign="middle" width="50%">
<p> </p>
<p>
<strong>Factuuradres:</strong><br />
Louw spijkerman Zeevis<br />
spijkerman Spijkerman<br />
Phaesmawei 8<br />
9291 nb Kollum<br />
Netherlands</p>
</td>
<td align="right" width="50%">
<p> </p>
<p></p>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<p>
<table style="table-layout:fixed;width:100%" >
<tr bgcolor="#cccccc" nobr="true"><td width="1%"><span></span></td>
<td align="left" width="11%">Art. nr.</td>
<td align="center" width="1%"></td>
<td align="left" width="40%">Productnaam</td>
<td align="left" width="11%">Aantal</td>
<td align="right" width="17%">Prijs</td>
<td align="right" width="1%">Prijs totaal (excl. BTW)</td>
<td align="right" width="17%">Subtotaal</td>
</tr>
<tr nobr="true"><td width="100%" colspan="8"><hr style="color:black"></td></tr>
<tbody>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="11%">074071-H</td>
<td align="center" width="1%"></td>
<td align="left" width="40%">Birki Profi Birki Blue (074071-H)
<div style="font-size: 70%; text-align: left;">Maat: 47</div>
</td>
<td align="left" width="11%">2</td>
<td align="right" width="17%"> 46,90</td>
<td align="right" width="1%"> 93,80</td>
<td align="right" width="17%"> 93,80</td>
</tr>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="11%">025500</td>
<td align="center" width="1%"></td>
<td align="left" width="40%">Birki inlegzool voor Super Birki's (025500)
<div style="font-size: 70%; text-align: left;">Maat: 47</div>
</td>
<td align="left" width="11%">2</td>
<td align="right" width="17%"> 9,90</td>
<td align="right" width="1%"> 19,80</td>
<td align="right" width="17%"> 19,80</td>
</tr>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="11%"></td>
<td align="center" width="1%"></td>
<td align="left" width="40%">Verzendkosten
<div style="font-size: 70%; text-align: left;">Binnenland 3 t/m 5 paar: Bezorgen (GLS)</div>
</td>
<td align="left" width="11%"></td>
<td align="right" width="17%"> 9,00</td>
<td align="right" width="1%"> 9,00</td>
<td align="right" width="17%"> 9,00</td>
</tr>
</tbody>
<tfoot><tr nobr="true"><td colspan="5" width="64%"></td>
<td colspan="3" width="35%"><hr style="color:black"></td>
</tr>
<tr nobr="true"><td colspan="5" width="64%"></td>
<td colspan="3" width="35%"></td>
</tr>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="11%"></td>
<td align="center" width="1%"></td>
<td align="left" width="40%">
<div style="font-size: 70%; text-align: left;"></div>
</td>
<td align="left" width="11%"></td>
<td align="left" colspan="2" width="18%">Totaal BTW 21%:</td>
<td align="right" width="17%">€ 25,75</td>
</tr>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="11%"></td>
<td align="center" width="1%"></td>
<td align="left" width="40%">
<div style="font-size: 70%; text-align: left;"></div>
</td>
<td align="left" width="11%"></td>
<td align="left" colspan="2" width="18%">Totaal ex. BTW:</td>
<td align="right" width="17%">€ 122,60</td>
</tr>
<tr nobr="true"><td colspan="5" width="64%"></td>
<td colspan="3" width="35%"><hr style="color:black"></td>
</tr>
<tr nobr="true"><td width="1%"><span></span></td>
<td align="left" width="11%"></td>
<td align="center" width="1%"></td>
<td align="left" width="40%">
<div style="font-size: 70%; text-align: left;"></div>
</td>
<td align="left" width="11%"></td>
<td align="left" colspan="2" width="18%"><b>Totaalbedrag (incl. BTW):</b></td>
<td align="right" width="17%"><b>€ 148,35</b></td>
</tr>
</tfoot>
</table></p>
 
Notice: Undefined offset: 1 in /home/hovo/domains/hovo.nl/public_html/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 3556
 
Notice: Undefined offset: 2 in /home/hovo/domains/hovo.nl/public_html/administrator/components/com_vminvoice/libraries/tcpdf/tcpdf.php on line 3556
Attachments:
The topic has been locked.

Re: Tabel row too high pdf template 10 years ago #43067

It has to do with the collum "Prijs totaal (excl. BTW)" = Show Price Excl. Tax. See picture btw_debug. It only shows when I put debug on.

But if I turn it of in the configuration the height is gone but you don't see the endprice (see picture btw_no) With "show price excl. tax" on yes, the table height appears, because he wants to show it, but it isn't seen in the pdf template
Attachments:
The topic has been locked.

Re: Tabel row too high pdf template 10 years ago #43078

  • pama
  • OFFLINE
  • Posts: 489
Hello. Yes, it is caused by column second from end. It has set only 1% width, which causes problem to PDF library, which tries fit numbers there and stretches the row.
Solution si simple, go to your Invoice Config -> Template -> Items Table Header, switch it to HTML view and set column to same width as others (usually 10%, it doesn't matter if they add 100%, its only relative measurment). After that, switch back to non-html view (with some editors, Joomla won't save it).
ARTIO Support Team
Last Edit: 10 years ago by pama.
The topic has been locked.

Re: Tabel row too high pdf template 10 years ago #43081

Hi Pama,

Thank you, we are almost there. Only the text in the table footer. The text needs to be on one row. If you can help me with this were done :-)
Attachments:
The topic has been locked.

Re: Tabel row too high pdf template 10 years ago #43085

  • pama
  • OFFLINE
  • Posts: 489
Hello. Script is configurated to set footer width as most left needed column (currently only subtotal) + 1 left column for labels. It seems you have one hidden column between "Prijs" and "Subtotaal". If you remove it, labels should stretch along with "Prijs" field. Also check your width settings in items header (see last post), so labels will be wide enough. Also check if you have newest version of VM Invoice.

We know customizing of footer is not so flexible as it could be.
ARTIO Support Team
The topic has been locked.

Re: Tabel row too high pdf template 10 years ago #43086

Thnx Pama,

Now it's correct.

Gr. Pieter
The topic has been locked.
  • Page:
  • 1
User Login Empty