mirror of
https://github.com/lnbits/lnbits.git
synced 2025-03-26 17:51:53 +01:00
Update tpos.html
This commit is contained in:
parent
89dc5bc3f5
commit
e08aec9fc8
@ -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…
x
Reference in New Issue
Block a user