@fayz-ai/pos 0.27.1 → 0.27.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/screen/DeliveryBoard.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4963,7 +4963,7 @@ var ICONE = {
|
|
|
4963
4963
|
"Entregue": PackageCheck
|
|
4964
4964
|
};
|
|
4965
4965
|
function lateness(p, now) {
|
|
4966
|
-
if (!p.dueAt) return void 0;
|
|
4966
|
+
if (!p.dueAt || deliveryStatus(p.dispatch) === "delivered") return void 0;
|
|
4967
4967
|
return Math.floor((now - new Date(p.dueAt).getTime()) / 6e4);
|
|
4968
4968
|
}
|
|
4969
4969
|
var GHOST_MS = 300;
|