|
|
|
@@ -606,7 +606,7 @@ const handleAssignByLane = useCallback(async ( |
|
|
|
{t("A4 Printer")}: |
|
|
|
</Typography> |
|
|
|
<Autocomplete |
|
|
|
options={printerCombo || []} |
|
|
|
options={(printerCombo || []).filter(printer => printer.type === 'A4')} |
|
|
|
getOptionLabel={(option) => |
|
|
|
option.name || option.label || option.code || `Printer ${option.id}` |
|
|
|
} |
|
|
|
@@ -623,7 +623,7 @@ const handleAssignByLane = useCallback(async ( |
|
|
|
{t("Label Printer")}: |
|
|
|
</Typography> |
|
|
|
<Autocomplete |
|
|
|
options={printerCombo || []} |
|
|
|
options={(printerCombo || []).filter(printer => printer.type === 'Label')} |
|
|
|
getOptionLabel={(option) => |
|
|
|
option.name || option.label || option.code || `Printer ${option.id}` |
|
|
|
} |
|
|
|
|