Fix two Quick Send bugs

This commit is contained in:
Skylar Ittner 2023-05-05 15:54:40 -06:00
parent e9950a222d
commit 0244e9e333
2 changed files with 5 additions and 4 deletions

View File

@ -7,7 +7,7 @@
function showAddressQRCode() { function showAddressQRCode() {
var content = "QSv1|tofrom" var content = "QSv1|tofrom"
+ "|" + inStorage("accountnumber") ? getStorage("accountnumber") : "" + "|" + (inStorage("accountnumber") ? getStorage("accountnumber") : "")
+ "|" + $("#addresscodeform #to_name").val() + "|" + $("#addresscodeform #to_name").val()
+ "|" + $("#addresscodeform #to_company").val() + "|" + $("#addresscodeform #to_company").val()
+ "|" + $("#addresscodeform #to_street1").val() + "|" + $("#addresscodeform #to_street1").val()

View File

@ -23,7 +23,7 @@
<div class="col-100 medium-90 margin-horizontal"> <div class="col-100 medium-90 margin-horizontal">
<div class="card margin"> <div class="card margin">
<div class="card-content text-align-center padding"> <div class="card-content text-align-center padding">
For faster service, fill in this form and press Show Barcode. We'll just scan your phone screen instead of typing everything in by hand. For faster service, fill in this form and press Show Barcode, then scan the barcode that appears.
<br> <br>
All fields are optional, but fill in as much as possible. All fields are optional, but fill in as much as possible.
</div> </div>
@ -446,8 +446,9 @@
<div class="popup" id="qrCodePopup"> <div class="popup" id="qrCodePopup">
<div class="block text-align-center"> <div class="block text-align-center">
<img id="addresscode-barcode" style="max-width: 90%;" /> <span style="padding: 20px; background-color: white; display: inline-block;">
<p>Present this code for scanning.</p> <img id="addresscode-barcode" style="max-width: 90%;" />
</span>
<p><a class="button popup-close" href="#">Close</a></p> <p><a class="button popup-close" href="#">Close</a></p>
</div> </div>
</div> </div>