Invoice preview Bug

marvays
marvays
Offline
0
Hi again.
I found bug. If i setup in invoce phone number, and VAT id is blank . . . . on preview is bug. PDF is good. Online link is good. Only preview. See images.
Responses (3)
  • Accepted Answer

    Wednesday, February 28 2018, 11:54 AM - #Permalink
    0
    it's not a bug. it's just that this is rendered inside a "address" HTML tag, and if the VAT is empty, then that row is now shown...
    The reply is currently minimized Show
  • Accepted Answer

    marvays
    marvays
    Offline
    Wednesday, February 28 2018, 12:03 PM - #Permalink
    0
    It's a little bug :)
    If the VAT is empty, title VAT ID must be hiden.
    I have to invent a solution for customers who do not have a VAT ID.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, February 28 2018, 12:06 PM - #Permalink
    0
    dear, it's not a bug because this is the HTML from the TEMPLATE. it's not code.

    you can just change your template (the way the invoice is rendered) to avoid this. if you transform it into a table, for example, it will be ok.

    this is just the way elements are RENDERED (not processed), it's not code, it's HTML rendered...
    The reply is currently minimized Show
Your Reply