3 ms·
> I looked at the software, it had two separate copies of the invoice calculation (separate for on screen and for printing to PDF). And of course it would send
by formerly_proven 3y ago
> I looked at the software, it had two separate copies of the invoice calculation (separate for on screen and for printing to PDF). And of course it would send the invoice to the accounting software which calculated the invoice in a different way still.
Your setup made it sound like something crazy and inane, like "the PDF printer used on those machines changed floating point rounding modes" or what have you.
- onetimeuse92304 3y agoIn olden times we would "print to PDF" as in have a little piece of code to format the document that would be sent to a printer which could be a PDF document. In this particular case we had two separate pieces of code, one running on the client (for on screen presentation) and one on the backend (to create the PDF on a shared location and produce a download URL).
- pjc50 3y agoThere was the famous "Xerox photocopier changes digits sometimes" bug, but that's not what's happening here.