Update tpos.html

This commit is contained in:
Arc 2020-02-26 19:13:32 +00:00 committed by GitHub
parent 539bce0d54
commit 89dc5bc3f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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