hvp-shared 6.74.0 → 6.76.0

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.
@@ -26,6 +26,7 @@ export declare enum InventoryItemStatus {
26
26
  verify_qvet = "verify_qvet",
27
27
  confirmed = "confirmed",
28
28
  recount = "recount",
29
+ recounted = "recounted",
29
30
  loss = "loss",
30
31
  justified = "justified"
31
32
  }
@@ -39,6 +39,8 @@ var InventoryItemStatus;
39
39
  InventoryItemStatus["confirmed"] = "confirmed";
40
40
  // Set by manager
41
41
  InventoryItemStatus["recount"] = "recount";
42
+ // Auto-set after recount (still has discrepancy)
43
+ InventoryItemStatus["recounted"] = "recounted";
42
44
  InventoryItemStatus["loss"] = "loss";
43
45
  InventoryItemStatus["justified"] = "justified";
44
46
  })(InventoryItemStatus || (exports.InventoryItemStatus = InventoryItemStatus = {}));
@@ -50,6 +52,7 @@ exports.INVENTORY_ITEM_STATUS_LABELS = {
50
52
  [InventoryItemStatus.verify_qvet]: "Verificar QVET",
51
53
  [InventoryItemStatus.confirmed]: "Confirmado",
52
54
  [InventoryItemStatus.recount]: "Recontar",
55
+ [InventoryItemStatus.recounted]: "Recontado",
53
56
  [InventoryItemStatus.loss]: "Pérdida",
54
57
  [InventoryItemStatus.justified]: "Justificado",
55
58
  };
@@ -16,8 +16,6 @@ export interface InventorySessionItem {
16
16
  description: string;
17
17
  section: string;
18
18
  family: string;
19
- /** Stock at session creation (reference only, does not change) */
20
- initialQvetStock: number;
21
19
  /** Latest QVET stock (refreshed on each upload/download) */
22
20
  currentQvetStock: number;
23
21
  /** QVET stock at the moment this item was last counted (frozen at upload time) */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hvp-shared",
3
- "version": "6.74.0",
3
+ "version": "6.76.0",
4
4
  "description": "Shared types and utilities for HVP backend and frontend",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",