Edit instant and email pdf amounts to always show positive values


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?



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.


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