Add NMR option to route notes

v1.4.0
Skylar Ittner 4 years ago
parent 6eb2e028e0
commit d702653adf

@ -578,7 +578,7 @@ function addPackageByAddress(number, unit, street, citystate, zip, type, callbac
prelookup(); prelookup();
} else { } else {
app.dialog.confirm( app.dialog.confirm(
"A route note says this address is " + deliverable.reason + ". Add item anyways?", "A route note says this address " + deliverable.reason + ". Add item anyways?",
"Confirm", "Confirm",
function () { function () {
prelookup(); prelookup();

@ -56,7 +56,7 @@
{{#if notes}} {{#if notes}}
<p>{{newlinestobr notes}}</p> <p>{{newlinestobr notes}}</p>
{{/if}} {{/if}}
<div> <div class="margin-vertical-half">
<ul> <ul>
{{#each toggles}} {{#each toggles}}
{{#if this}} {{#if this}}

@ -322,21 +322,28 @@ var SETTINGS = {
name: "Vacant", name: "Vacant",
id: "vacant", id: "vacant",
preventsDelivery: true, preventsDelivery: true,
reason: "vacant", reason: "is vacant",
icon: "far fa-circle" icon: "far fa-circle"
}, },
{
name: "No Mail Receptacle",
id: "nmr",
preventsDelivery: true,
reason: "has no mailbox",
icon: "far fa-times-circle"
},
{ {
name: "Outside delivery radius", name: "Outside delivery radius",
id: "undeliverable", id: "undeliverable",
preventsDelivery: true, preventsDelivery: true,
reason: "too far from the route", reason: "is too far from the route",
icon: "fas fa-route" icon: "fas fa-route"
}, },
{ {
name: "On hold", name: "On hold",
id: "hold", id: "hold",
preventsDelivery: true, preventsDelivery: true,
reason: "on hold", reason: "is on hold",
icon: "fas fa-pause-circle" icon: "fas fa-pause-circle"
} }
], ],

Loading…
Cancel
Save