|
|
|
@ -63,9 +63,10 @@ function addCodeToScannerList(code) {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Regex of IMpb codes that don't need anything special
|
|
|
|
|
* Updated with July 9 2023 STC list from https://postalpro.usps.com/impb-stcs-excel
|
|
|
|
|
* @type {RegExp}
|
|
|
|
|
*/
|
|
|
|
|
var stcregex = /^(420[0-9]{5})?[0-9]{2}(001|023|055|056|112|113|134|135|138|140|141|142|164|209|211|259|265|269|346|361|389|390|419|431|490|502|551|563|612|624|671|701|702|703|704|723|746|748|790|791|793|794|905|906|907|909|971|972)[0-9]+$/;
|
|
|
|
|
var stcregex = /^(420[0-9]{5})?[0-9]{2}(001|017|019|020|022|024|037|055|058|091|112|113|116|120|134|135|138|140|141|142|164|184|185|187|190|209|211|217|218|219|259|265|269|346|361|362|363|367|368|385|388|389|390|395|419|431|453|468|483|490|502|515|526|551|563|596|597|598|612|624|671|676|701|702|703|704|746|748|760|785|786|790|791|793|794|798|837|859|905|906|907|909)[0-9]+$/;
|
|
|
|
|
|
|
|
|
|
var signatureRequired = false;
|
|
|
|
|
for (var i = 0; i < signatureregexes.length; i++) {
|
|
|
|
|