feat(ocme): cycle count added to db will add to front end later for users to inspect

This commit is contained in:
2025-04-14 22:17:51 -05:00
parent 26798ca140
commit fbc2282aee
3 changed files with 89 additions and 49 deletions

View File

@@ -31,6 +31,15 @@ export const assignedPrinters = async () => {
const printers: any = print.data ?? [];
const lots: any = l.data.length === 0 ? [] : l.data;
if (!lots) {
createLog(
"error",
"lst",
"ocp",
`There was an error getting the lots: ${lots.message}`
);
return;
}
for (let i = 0; i < printers.length; i++) {
// is the printer assinged in alplalabel online?
const assigned = lots?.filter(