Hello Guys,
i think that i found a bug. I've created new PDF template on demo.espocrm.com which contain footer with Footer position set to 10. Then i switched Footer editor to code and I've pasted this code:
I saved template and opened PDF template generated based on Account (if demo will not refresh till now, you can use this link) https://demo.eu.espocrm.com/?entryPoint=pdf&entityType=Account&entityId=5f5f1f cec41c41354&templateId=638cc76a928c298de
And that's a result:
I've changed background color of problematic cell to red to show you how big is this cell and it should fill only two lines, instead of three. Even if i remove <br> to get everything into one line, i can't:
It's also look weird if i switch alignment to right:
SO:
cell is big enough to show whole cell in one line, but it doesn't, probably because of tags? If i remove tags and replace them with Page 1 from 1, it looks normal:
i think that i found a bug. I've created new PDF template on demo.espocrm.com which contain footer with Footer position set to 10. Then i switched Footer editor to code and I've pasted this code:
HTML Code:
<table width="100%" style="border:none; font-size:8px;"> <tbody><tr> <td width="15%" style="text-align: left;"><strong>Test Inc.</strong><br>TAX ID: 1234567890</td> <td width="45%" style="text-align: left;">e-mail: contact@domain.com | phone 123 456 789<br>Correspondence address: ul. Test 13/2, 02-123 Warsaw</td> <td width="13%" style="text-align: left;background-color:red">Page <br>{pageNumber} from {totalPageNumber}</td> <td width="24%" style="text-align: left;">Generated at {{now}}<br>by Johne Doe</td> </tr></tbody></table>
And that's a result:
I've changed background color of problematic cell to red to show you how big is this cell and it should fill only two lines, instead of three. Even if i remove <br> to get everything into one line, i can't:
It's also look weird if i switch alignment to right:
SO:
cell is big enough to show whole cell in one line, but it doesn't, probably because of tags? If i remove tags and replace them with Page 1 from 1, it looks normal:
Comment