Home Forums Support Edit instant and email pdf amounts to always show positive values

This topic contains 2 replies, has 2 voices, and was last updated by  Yoal Madriz 1 month, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #16773

    Yoal Madriz
    Participant

    Hi;

    Due to local regulations for my country, I need to submit all the amounts as positive values to the clients in the PDF file, when I am creating a credit note all values turn to negative (as it should be), I will like to modify the PDF creation code to always show positive values, do you know where I can modify this?

    Thanks;

    Yoal.

    #16774

    Hillel Coren
    Keymaster

    I believe most of the code is in resources/assets/js/pdf.pdfmake.js

    If you change the file you’d need to recompile the JS code with gulp.

    https://invoice-ninja.readthedocs.io/en/latest/developer_guide.html#code

    #16775

    Yoal Madriz
    Participant

    Hi Hillel, I found it there and made changes to it, but I was missing the recompiling piece, thanks for your advice as always!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Posted in: