fix(transfers): corrected to be a int vs float

This commit is contained in:
2025-12-08 08:37:07 -06:00
parent 8d90f27514
commit 567579ef35

View File

@@ -236,7 +236,8 @@ export const lotMaterialTransfer = async (data: NewLotData) => {
const newQty = const newQty =
data.amount > 0 data.amount > 0
? data.amount ? data.amount
: (data.originalAmount * data.level).toFixed(0); : // : (data.originalAmount * data.level).toFixed(0);
Math.floor(data.originalAmount * data.level);
//console.log(data.amount); //console.log(data.amount);