IO-3514 Print Center Restrict Financial Group on Tech Station and Fix Drawer Close on Tech Console

Signed-off-by: Allan Carr <allan@imexsystems.ca>
This commit is contained in:
Allan Carr
2026-01-23 22:26:22 -08:00
parent 6643e92665
commit 4efa01edd3
3 changed files with 56 additions and 47 deletions

View File

@@ -59,7 +59,8 @@ export function TechLookupJobsDrawer({ bodyshop, setPrintCenterContext }) {
const handleDrawerClose = () => {
// Immutable omit (no delete/mutation)
const { ...rest } = searchParams || {};
const { selected, ...rest } = searchParams || {};
void selected;
history({
search: queryString.stringify(rest)
});
@@ -72,7 +73,6 @@ export function TechLookupJobsDrawer({ bodyshop, setPrintCenterContext }) {
{data ? (
<PageHeader
onBack={() => window.history.back()}
title={data.jobs_by_pk.ro_number || t("general.labels.na")}
extra={
<Button