Add prepaid return label checkbox to package pickup form

master
Skylar Ittner 2 years ago
parent adc8b1d07a
commit 0ff5b13ec3

@ -32,7 +32,8 @@ function requestPickup() {
accountkey: getStorage("accountkey"),
count: $("#pickupRequestForm #packagecount").val(),
address: $("#pickupRequestForm #streetaddress").val() + " " + $("#pickupRequestForm #zipcode").val(),
instructions: instructions
instructions: instructions,
prepaid: $("#prepaid-label-checkbox").is(":checked") ? "1" : "0"
}, function (success) {
app.dialog.close();
if (success.status == "OK") {

@ -102,6 +102,17 @@
</div>
</div>
</li>
<li>
<label class="item-checkbox item-content text-align-left">
<!-- Checkbox input -->
<input type="checkbox" id="prepaid-label-checkbox" />
<!-- Checkbox icon -->
<i class="icon icon-checkbox"></i>
<span class="item-inner">
<span class="item-title">Package has a prepaid return label</span>
</span>
</label>
</li>
<li class="padding">
By requesting a pickup, you confirm that you aren't sending any <a onclick="openBrowser('https://helena.express/articles/restricted-items')">restricted items</a>.
You agree that we can bill your saved payment method for the shipping cost.

Loading…
Cancel
Save