From 0ff5b13ec372522d48dfe16049cfebfafaffeb88 Mon Sep 17 00:00:00 2001 From: Skylar Ittner Date: Tue, 7 Jun 2022 12:11:56 -0600 Subject: [PATCH] Add prepaid return label checkbox to package pickup form --- www/assets/js/pickup.js | 3 ++- www/pages/pickup.html | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/www/assets/js/pickup.js b/www/assets/js/pickup.js index c4cc970..86e7763 100644 --- a/www/assets/js/pickup.js +++ b/www/assets/js/pickup.js @@ -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") { diff --git a/www/pages/pickup.html b/www/pages/pickup.html index 166e6fe..4744cc2 100644 --- a/www/pages/pickup.html +++ b/www/pages/pickup.html @@ -102,6 +102,17 @@ +
  • + +
  • By requesting a pickup, you confirm that you aren't sending any restricted items. You agree that we can bill your saved payment method for the shipping cost.