@zauru-sdk/hooks 1.0.103 → 1.0.104

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.
@@ -112,8 +112,8 @@ const useGetPesadas = (purchaseOrder, stocks_only_integer = false) => {
112
112
  discount,
113
113
  netWeight: (0, common_1.toFixedIfNeeded)(netWeight),
114
114
  weightByBasket: (0, common_1.toFixedIfNeeded)(weightByBasket),
115
- probableUtilization,
116
- lbDiscounted,
115
+ probableUtilization: (0, common_1.toFixedIfNeeded)(probableUtilization),
116
+ lbDiscounted: (0, common_1.toFixedIfNeeded)(lbDiscounted),
117
117
  };
118
118
  }),
119
119
  ];
@@ -195,8 +195,8 @@ const getPesadasByForm = (formInput) => {
195
195
  discount,
196
196
  netWeight: (0, common_1.toFixedIfNeeded)(netWeight),
197
197
  weightByBasket: (0, common_1.toFixedIfNeeded)(weightByBasket),
198
- probableUtilization,
199
- lbDiscounted,
198
+ probableUtilization: (0, common_1.toFixedIfNeeded)(probableUtilization),
199
+ lbDiscounted: (0, common_1.toFixedIfNeeded)(lbDiscounted),
200
200
  });
201
201
  index++;
202
202
  }
@@ -112,8 +112,8 @@ const useGetPesadas = (purchaseOrder, stocks_only_integer = false) => {
112
112
  discount,
113
113
  netWeight: (0, common_1.toFixedIfNeeded)(netWeight),
114
114
  weightByBasket: (0, common_1.toFixedIfNeeded)(weightByBasket),
115
- probableUtilization,
116
- lbDiscounted,
115
+ probableUtilization: (0, common_1.toFixedIfNeeded)(probableUtilization),
116
+ lbDiscounted: (0, common_1.toFixedIfNeeded)(lbDiscounted),
117
117
  };
118
118
  }),
119
119
  ];
@@ -195,8 +195,8 @@ const getPesadasByForm = (formInput) => {
195
195
  discount,
196
196
  netWeight: (0, common_1.toFixedIfNeeded)(netWeight),
197
197
  weightByBasket: (0, common_1.toFixedIfNeeded)(weightByBasket),
198
- probableUtilization,
199
- lbDiscounted,
198
+ probableUtilization: (0, common_1.toFixedIfNeeded)(probableUtilization),
199
+ lbDiscounted: (0, common_1.toFixedIfNeeded)(lbDiscounted),
200
200
  });
201
201
  index++;
202
202
  }
@@ -44,8 +44,8 @@ type PesadaBody = {
44
44
  discount: number;
45
45
  netWeight: string;
46
46
  weightByBasket: string;
47
- probableUtilization: number;
48
- lbDiscounted: number;
47
+ probableUtilization: string;
48
+ lbDiscounted: string;
49
49
  };
50
50
  type PesadaFooter = {
51
51
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/hooks",
3
- "version": "1.0.103",
3
+ "version": "1.0.104",
4
4
  "description": "Hooks reutilizables dentro de las webapps de Zauru.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -34,5 +34,5 @@
34
34
  "react": "^18.2.0",
35
35
  "react-dom": "^18.2.0"
36
36
  },
37
- "gitHead": "d2c3b9c7a7ba534d207552c09e14f2474998eef6"
37
+ "gitHead": "98dc3dfc6b85afae4bbf0ac21ecb8d03d5c107ef"
38
38
  }