diff --git a/lnbits/extensions/tpos/templates/tpos/index.html b/lnbits/extensions/tpos/templates/tpos/index.html
index 946edd0..5942d1c 100644
--- a/lnbits/extensions/tpos/templates/tpos/index.html
+++ b/lnbits/extensions/tpos/templates/tpos/index.html
@@ -94,6 +94,101 @@
+
+
+
+
+
+
+
+
+
+
@@ -171,7 +266,7 @@ function drawwithdraw() {
walname = document.getElementById("fauselect").value
thewithdraw = walname.split("-");
- theurl = window.location.hostname + "{{ url_for('tpos.tpos') }}?pos=" + thewithdraw[1] + "&exc=9000"
+ theurl = window.location.hostname + "{{ url_for('tpos.tpos') }}?pos=" + thewithdraw[1]
new QRCode(document.getElementById('qrcode'), {
text: theurl,
@@ -184,7 +279,7 @@ function drawwithdraw() {
document.getElementById('qrcodetxt').innerHTML =
- "Shareable link
"
+ "Shareable link
"
document.getElementById("qrcode").style.backgroundColor = "white";
document.getElementById("qrcode").style.padding = "20px";
@@ -194,9 +289,13 @@ function drawwithdraw() {
function postfau(){
nme = document.getElementById('nme').value
+ wal = document.getElementById('wal').value
+ cur = document.getElementById('cur').value
+ wall = wal.split("-")
+ console.log(window.location.hostname + "-" + wall[1])
getAjax(
- "{{ url_for('tpos.index') }}?nme=" + nme + "&usr=" + user,
+ "{{ url_for('tpos.index') }}?nme=" + nme + "&usr=" + user + "&cur=" + cur + "&wal=" + wall[1],
"filla",
function(data) { location.replace("{{ url_for('tpos.index') }}?usr=" + user)