feat(ocp): added dual printing back in

This commit is contained in:
2025-04-01 18:50:03 -05:00
parent dd62ceb133
commit 814861e59c
2 changed files with 149 additions and 1 deletions

View File

@@ -11,6 +11,7 @@ import { prolinkCheck } from "../lots/prolinkCheck.js";
import { createLabel } from "./createLabel.js";
import { bookInLabel } from "./bookIn.js";
import { delieryInhouse } from "../specialProcesses/inhouse/inhouseDelivery.js";
import { dualPrintingProcess } from "../specialProcesses/dualPrinting/dualPrinting.js";
interface Printer {
name: string;
@@ -120,7 +121,7 @@ export const labelingProcess = async ({
`${printer?.name}, being sent over for dual printing processing.`
);
// process what line to print the label for and return the lot info and change filteredLot to returned one.
//filteredLot = await dualPrintingProcess(filteredLot);
filteredLot = await dualPrintingProcess(filteredLot);
}
// if there are more than 2 lots it might be an auto labeler, autolabeler will be defined by its id for now only dayton