You have no recent shipments.
');
+ }
+ } else {
+ $("#tracking-account-list ul").html('Error: ' + success.msg + '
');
+ }
+ }, function (xhr, status, error) {
+ $("#tracking-account-list ul").html('Server or network error. Try again later.
');
+ sendErrorReport("Tracking", "Couldn't get account tracking codes", "Server/network problem: " + xhr.status + ": " + xhr.statusText);
+ }, "GET");
+ } else {
+ $("#tracking-account-list ul").html('Get an account to use this feature.
');
+ }
}
function openTrackingBarcodeScanner() {
diff --git a/www/pages/track.html b/www/pages/track.html
index 7cd3256..081b31a 100644
--- a/www/pages/track.html
+++ b/www/pages/track.html
@@ -43,11 +43,32 @@
-
diff --git a/www/settings.js b/www/settings.js
index 94501d0..c8d381e 100644
--- a/www/settings.js
+++ b/www/settings.js
@@ -13,6 +13,7 @@ var SETTINGS = {
dropandsendlocations: "http://localhost/helena.express/apis/dropandsend/locations/",
dropandsendpickup: "http://localhost/helena.express/apis/dropandsend/requestpickup/",
getaccountinfo: "http://localhost/helena.express/apis/account/getinfo/",
+ gettrackingnumbers: "http://localhost/helena.express/apis/account/gettrackingnumbers/",
authorstartverify: "http://localhost/helena.express/apis/account/authorstartverify/",
verifyauthcode: "http://localhost/helena.express/apis/account/verifyauthcode/",
accountregister: "http://localhost/helena.express/apis/account/register/",