feat: refs#8290 expeditionLost
This commit is contained in:
parent
361ebddd2f
commit
a0ae1e37f1
|
@ -199,10 +199,10 @@ class LoadUnloadFragment(
|
||||||
ExpeditionSalixPosition(
|
ExpeditionSalixPosition(
|
||||||
expeditionFk = l.id,
|
expeditionFk = l.id,
|
||||||
stateCode = if (l.code == "FOUND") (l.code) else {
|
stateCode = if (l.code == "FOUND") (l.code) else {
|
||||||
if (state == "ON DELIVERY" && l.code != "ON DELIVERY" && l.code != "DELIVERED" && l.code != "LOST") {
|
if (state == "ON DELIVERY" && l.code != "ON DELIVERY" && l.code != "DELIVERED" && l.code != "LOST" && l.code != "PENDING") {
|
||||||
"NOT SCANNED"
|
"NOT SCANNED"
|
||||||
} else {
|
} else {
|
||||||
if (state == "DELIVERED" && l.code != "DELIVERED") "LOST" else l.code
|
if (state == "DELIVERED" && l.code != "DELIVERED") "PENDING" else l.code
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
isScanned = l.isScanned,
|
isScanned = l.isScanned,
|
||||||
|
@ -478,7 +478,7 @@ class LoadUnloadFragment(
|
||||||
code = if (item.code == "DELIVERED" || item.code == "ON DELIVERY") {
|
code = if (item.code == "DELIVERED" || item.code == "ON DELIVERY") {
|
||||||
item.code
|
item.code
|
||||||
} else {
|
} else {
|
||||||
"LOST"
|
"PENDING"
|
||||||
},
|
},
|
||||||
nickname = item.nickname,
|
nickname = item.nickname,
|
||||||
postalCode = item.postalCode
|
postalCode = item.postalCode
|
||||||
|
|
Loading…
Reference in New Issue