feat(materials): added in a bigger window on eom transfer lots

This commit is contained in:
2025-08-28 10:14:41 -05:00
parent 0a6ddea8c0
commit 53ed2c4e6a
5 changed files with 286 additions and 39 deletions

View File

@@ -9,7 +9,7 @@ import { lotMaterialTransfer } from "../../controller/materials/lotTransfer.js";
const app = new OpenAPIHono({ strict: false });
const LotTransfer = z.object({
runnungNumber: z.number().openapi({ example: 1234 }),
runningNumber: z.number().openapi({ example: 1234 }),
lotNumber: z.number().openapi({ example: 1235 }),
originalAmount: z.number().openapi({ example: 457 }),
level: z.number().openapi({ examples: [0.24, 0.5, 0.75, 0.95] }),
@@ -45,7 +45,7 @@ app.openapi(
);
if (transferError) {
console.log(transferError);
//console.log(transferError);
return c.json({
success: false,
message: