CSR-2102
only drop one of the leading zeroes if the length is > 5. There are some provider numbers that actually start with 00. 00729, MI 48195 zip
This commit is contained in:
parent
8d73880b3f
commit
5852e3980e
1 changed files with 1 additions and 1 deletions
|
|
@ -2423,7 +2423,7 @@ export const actions = {
|
|||
const order = context.getters.order;
|
||||
|
||||
var providerNumber = order.serviceLocation?.provider?.providerNumber ?? order.serviceLocation?.zipCodeCtu;
|
||||
if (providerNumber.startsWith("00")) {
|
||||
if (providerNumber.startsWith("00") && providerNumber.length > 5) {
|
||||
providerNumber = providerNumber.substring(1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue