@zauru-sdk/hooks 2.0.70 → 2.0.71
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/esm/receptions.js +4 -4
- package/dist/receptions.d.ts +2 -2
- package/package.json +2 -2
package/dist/esm/receptions.js
CHANGED
|
@@ -114,8 +114,8 @@ const useGetPesadas = (purchaseOrder, stocks_only_integer = false) => {
|
|
|
114
114
|
discount,
|
|
115
115
|
netWeight: (0, common_1.toFixedIfNeeded)(netWeight)?.toString(),
|
|
116
116
|
weightByBasket: (0, common_1.toFixedIfNeeded)(weightByBasket)?.toString(),
|
|
117
|
-
probableUtilization,
|
|
118
|
-
lbDiscounted,
|
|
117
|
+
probableUtilization: (0, common_1.toFixedIfNeeded)(probableUtilization)?.toString(),
|
|
118
|
+
lbDiscounted: (0, common_1.toFixedIfNeeded)(lbDiscounted)?.toString(),
|
|
119
119
|
};
|
|
120
120
|
}),
|
|
121
121
|
];
|
|
@@ -236,8 +236,8 @@ const getPesadasByForm = (formInput, stocks_only_integer = false) => {
|
|
|
236
236
|
discount,
|
|
237
237
|
netWeight: (0, common_1.toFixedIfNeeded)(netWeight)?.toString(),
|
|
238
238
|
weightByBasket: (0, common_1.toFixedIfNeeded)(weightByBasket)?.toString(),
|
|
239
|
-
probableUtilization,
|
|
240
|
-
lbDiscounted,
|
|
239
|
+
probableUtilization: (0, common_1.toFixedIfNeeded)(probableUtilization)?.toString(),
|
|
240
|
+
lbDiscounted: (0, common_1.toFixedIfNeeded)(lbDiscounted)?.toString(),
|
|
241
241
|
});
|
|
242
242
|
index++;
|
|
243
243
|
}
|
package/dist/receptions.d.ts
CHANGED
|
@@ -44,8 +44,8 @@ type PesadaBody = {
|
|
|
44
44
|
discount: number;
|
|
45
45
|
netWeight: string;
|
|
46
46
|
weightByBasket: string;
|
|
47
|
-
probableUtilization:
|
|
48
|
-
lbDiscounted:
|
|
47
|
+
probableUtilization: string;
|
|
48
|
+
lbDiscounted: string;
|
|
49
49
|
};
|
|
50
50
|
export type FooterColumnConfig = {
|
|
51
51
|
content: React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/hooks",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.71",
|
|
4
4
|
"description": "Hooks reutilizables dentro de las webapps de Zauru.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -33,5 +33,5 @@
|
|
|
33
33
|
"react": "^18.2.0",
|
|
34
34
|
"react-dom": "^18.2.0"
|
|
35
35
|
},
|
|
36
|
-
"gitHead": "
|
|
36
|
+
"gitHead": "60dc6250f32f91277f9681f34c73e36ea55db543"
|
|
37
37
|
}
|