Browse Source

Update tpos.html

fee_issues
Arc 5 years ago
committed by GitHub
parent
commit
e08aec9fc8
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      lnbits/extensions/tpos/templates/tpos/tpos.html

5
lnbits/extensions/tpos/templates/tpos/tpos.html

@ -169,7 +169,7 @@
function keys(num){
if(Number.isInteger(num)){
total = total + String(num)
document.getElementById("fiat").innerHTML = String(parseInt(total)/100) + " " + {{ ratee }}
document.getElementById("fiat").innerHTML = String(parseInt(total)/100) + " " + "{{ ratee }}"
document.getElementById("sats").innerHTML = parseInt( (parseInt(total)/100) * parseInt( {{exchange}} )) + " " + "Sats"
@ -190,12 +190,11 @@
}
else if(num == "OK"){
submitforticket(parseInt((parseInt(total)/100)* parseInt( {{exchange}} ))))
submitforticket(parseInt((parseInt(total)/100)* parseInt( {{exchange}} )))
}
}
function submitforticket(sats){
console.log(sats)

Loading…
Cancel
Save