Skip to content

Commit

Permalink
improve (fix) paymentRef calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
Bert Bruynooghe committed Jun 3, 2024
1 parent 63ddd48 commit afb3221
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cv/invoice-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@

const nominator = parseInt(`${invoiceNumber}0000`)
const remainder = (nominator % 97) || 97
const theString = `${nominator}${remainder}`
const theString = `${nominator * 100 + remainder}`
const paymentRef = `+++${theString.slice(0,3)}/${theString.slice(3,7)}/${theString.slice(7)}+++`
</script>
</head>
Expand Down

0 comments on commit afb3221

Please sign in to comment.