diff --git a/lnbits/extensions/tpos/templates/tpos/tpos.html b/lnbits/extensions/tpos/templates/tpos/tpos.html index d23a0c3..5add967 100644 --- a/lnbits/extensions/tpos/templates/tpos/tpos.html +++ b/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) + " " + "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}} )))) } }