Skip to content

Commit

Permalink
Merge pull request #27 from iron-security/feat/configurator
Browse files Browse the repository at this point in the history
fix: fix toFixed error
  • Loading branch information
hazcod authored Apr 25, 2023
2 parents 1178e4f + 26af8c3 commit 53d1db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workers/quote.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ function generatePDF(request)
let itemCost = totalCost * 0.12;

doc.setFont(undefined, 'normal');
docText(20, itemY, 'x1'.toFixed(2).padEnd(15) + ' Support fee (12%)');
docText(20, itemY, 'x1'.padEnd(15) + ' Support fee (12%)');
docText(-40, itemY, '€ ' + itemCost);

itemY += 5;
Expand Down

0 comments on commit 53d1db1

Please sign in to comment.