• Resolved scsedel

    (@scsedel)


    Hi,
    even if in the debug html invoice page I get a proper layout, in the pdf I get the first line of the totals on the right (properly) and the others end at the beginning of the first, like they were in a different td. I try to reproduce the layout:

    --------------------
                                                   Subtotal       xx,xx
                               --------------------
                               VAT             x,xx
                               --------------------
                               Total          xx,xx
                               --------------------

    Is there any known issue about that?
    In the status I have this two orange:
    opcache: No. Recommended for better performances
    GMagick or IMagick: No. Recommended for better performances

    And this red:
    allow_url_fopen disabled

    Can you please advice?
    Thank you

    EDIT: The first line is right above the string Subtotal, not on the left

    https://www.ads-software.com/plugins/woocommerce-pdf-invoices-packing-slips/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ewout

    (@pomegranate)

    Hi!
    This is not a known issue, so it’s probably specific to your setup.

    Have you made any changes to the template?
    This could also be a plugin conflict, can you turn off woocommerce related plugins one by one to see if that fixes this?

    Let me know what you find!

    Ewout

    Thread Starter scsedel

    (@scsedel)

    I’m sorry,
    there was an error on my functions.php file.
    I added some useless <br> for debug purpose, and those were the responsible of the wrong layout.

    Thank you

    Plugin Contributor Ewout

    (@pomegranate)

    Glad to hear you found the culprit. Do let me know if you have any other questions!

    Ewout

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Wrong layout of totals table in pdf’ is closed to new replies.