|
|
|
@ -23,6 +23,7 @@ var pagesToCompile = [
|
|
|
|
|
"shop",
|
|
|
|
|
"shoppingcart_fragment",
|
|
|
|
|
"rateresult",
|
|
|
|
|
// "labelrateresult",
|
|
|
|
|
"crypto",
|
|
|
|
|
"crypto_wallet",
|
|
|
|
|
"account",
|
|
|
|
@ -205,11 +206,17 @@ var routes = [
|
|
|
|
|
resolve({
|
|
|
|
|
content: compiledPages.send({
|
|
|
|
|
pages: [
|
|
|
|
|
// {
|
|
|
|
|
// title: "From My Phone",
|
|
|
|
|
// href: "/labelmaker",
|
|
|
|
|
// icon: "fa-duotone fa-mobile-alt",
|
|
|
|
|
// text: "Send USPS Flat Rate packages from your phone. Printer optional."
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
title: "Use a Drop Box",
|
|
|
|
|
title: "From a Drop Box",
|
|
|
|
|
href: "/dropandsend",
|
|
|
|
|
icon: "fa-duotone fa-box-alt",
|
|
|
|
|
text: "Bring your package to a Drop and Send location and we'll ship it for you. No postage or appointment needed."
|
|
|
|
|
text: "Bring your package to a Drop and Send drop box or kiosk and we'll ship it for you. No postage or appointment needed."
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "Request a Pickup",
|
|
|
|
@ -224,7 +231,7 @@ var routes = [
|
|
|
|
|
text: "Our Mobile Shipping Center roams the Helena area like a food truck for mail. Find dates and places here."
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: "Book an Appointment",
|
|
|
|
|
title: "By Appointment",
|
|
|
|
|
href: "/appointment/shipping",
|
|
|
|
|
icon: "fa-duotone fa-calendar-alt",
|
|
|
|
|
text: "A courier will come to you on your schedule. No account required."
|
|
|
|
@ -307,7 +314,7 @@ var routes = [
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
{
|
|
|
|
|
path: '/quicksend',
|
|
|
|
|
content: compiledPages.address_qrcode(),
|
|
|
|
|
name: 'quicksend'
|
|
|
|
@ -512,6 +519,25 @@ var routes = [
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// path: '/labelmaker',
|
|
|
|
|
// url: './pages/labelmaker.html',
|
|
|
|
|
// name: 'labelmaker',
|
|
|
|
|
// on: {
|
|
|
|
|
// pageBeforeIn: function () {
|
|
|
|
|
// checkIfAccountGoodWithPaymentMethod(function (ok) {
|
|
|
|
|
// if (!ok) {
|
|
|
|
|
// $("#addPaymentMethodNag").css("display", "");
|
|
|
|
|
// }
|
|
|
|
|
// }, function (error) {
|
|
|
|
|
// $("#addPaymentMethodNag").css("display", "");
|
|
|
|
|
// });
|
|
|
|
|
// },
|
|
|
|
|
// pageAfterIn: function () {
|
|
|
|
|
// initLabelMakerForm();
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
// },
|
|
|
|
|
{
|
|
|
|
|
path: '/account',
|
|
|
|
|
name: 'account',
|
|
|
|
@ -534,7 +560,8 @@ var routes = [
|
|
|
|
|
var latitude = $(mapboxel).data("latitude");
|
|
|
|
|
var longitude = $(mapboxel).data("longitude");
|
|
|
|
|
var accurate = $(mapboxel).data("accurate") == true;
|
|
|
|
|
trackingMap.clearMarkersAndCenterMapOnNewMarker("package-marker", latitude, longitude, accurate);
|
|
|
|
|
var geoiscountrylevel = $(mapboxel).data("geoiscountrylevel") == true;
|
|
|
|
|
trackingMap.clearMarkersAndCenterMapOnNewMarker("package-marker", latitude, longitude, accurate, geoiscountrylevel);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|