• Resolved josede

    (@josede)


    I have 2 issue:

    • I want to put the footer just on bottom with bottom: 0;, I was editing the template but I cant do it.
    • I want to change the font-family I tried with @font-face, inline html, nothing…
    • This topic was modified 4 years, 1 month ago by josede.
    • This topic was modified 4 years, 1 month ago by josede.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support tomasz_bednarek

    (@tomasz_bednarek)

    Hi Josede,

    thank you for your message!

    You may copy/ edit the template of generated-invoice.php file from /wp-content/plugins/flexible-invoices/templates/invoice/generated_invoice.php and add its copy to your theme directory /wp-content/themes/[your-theme]/flexible-invoices/invoice/generated_invoice.php

    You may add additional info e.g. footer like this: https://wpdesk.me/tb/9CrnTS4WHK.png

    The Flexible Invoices WordPress plugin supports Latin characters and the DejaVuSans font by default.

    The plugins use the mPDF library and the font to issue invoices dynamically.

    You could try to add ttf version of a font into:
    wp-content/plugins/flexible-invoices/class/mpdf/ttfonts

    In the upcoming version of the plugin, there will be a possibility to change/ choose the font. I may inform you about that update if you want to.

    Let me know if you have any further questions.

    Thread Starter josede

    (@josede)

    Thx.
    But I want the table with class totals just in the bottom, but not in the bottom of content, I want it at bottom of the page.

    I tried adding products with empty fields, but I get nginx error when I generate the PDF.

    Would be great some system to put our custom tff fonts

    Would be awesome if you can add a tax like IVA, Its IRPF and its minus.

    Product 1000 euros
    IVA 21% 210 euros
    IRPF 19% -190 euros
    Total 1020 euros

    • This reply was modified 4 years, 1 month ago by josede.
    • This reply was modified 4 years, 1 month ago by josede.
    • This reply was modified 4 years, 1 month ago by josede.
    Plugin Support tomasz_bednarek

    (@tomasz_bednarek)

    Hi Josede,

    you may do that like that: https://wpdesk.me/tb/HroD8N4xOf.png adjusting the code to get information dynamically of course. You may change the settings of position:relative to position:absolute or change the place of code itself between other divs. Then upload the new template via FTP and reload the page to see the changes on an invoice.

    Thread Starter josede

    (@josede)

    Thx so much for you patience.

    • I was speaking about IRPF like an extra option, maybe You can add this option like IVA in then next versions. (Admin panel area)
    • The font is working if I change it in FTP (but i should rename the file with the same name as default). But It is weird, the name of the font as default in css is Roboto and the name of the font in ′wp-content/plugins/flexible-invoices/class/mpdf/ttfonts′ is HelveticaCondensed or something like this, I cant remeber it.
    • This reply was modified 4 years, 1 month ago by josede.
    Plugin Support tomasz_bednarek

    (@tomasz_bednarek)

    Hi Josede,

    thank you for your message!

    I informed our programmer about the need and this possible improvement to get 2 or more taxes for one product on invoices. I will let you know when the update is ready.

    Thank you for this information about the font – I will inform him as well.

    If you have any further questions, let me know.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘font-family & footer on bottom’ is closed to new replies.