From 2b0ecbdd917eda4ba8e3dcc5205400f89e2b7753 Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Thu, 25 Jan 2024 16:03:34 -0500 Subject: [PATCH] - Fix CC Cart stuff Signed-off-by: Dave Richer --- .../jobs-detail-header-actions.component.jsx | 16 ++++++---------- .../payable-export-all-button.component.jsx | 2 +- .../payable-export-button.component.jsx | 2 +- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx index 2c8de1c33..e396982d8 100644 --- a/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx +++ b/client/src/components/jobs-detail-header-actions/jobs-detail-header-actions.component.jsx @@ -624,7 +624,7 @@ export function JobsDetailHeaderActions({ { key: 'cancelallappointments', onClick: () => { - if ( job.status !== bodyshop.md_ro_statuses.default_scheduled) { + if (job.status !== bodyshop.md_ro_statuses.default_scheduled) { return; } showCancelScheduleModal() @@ -713,12 +713,7 @@ export function JobsDetailHeaderActions({ menuItems.push({ key: 'cccontract', disabled: jobRO || !job.converted, - label: + label: {t("menus.jobsactions.newcccontract")} }); @@ -993,10 +988,11 @@ export function JobsDetailHeaderActions({ onOk={handleCancelScheduleOK} onCancel={handleCancelScheduleModalCancel} footer={[ - , - , ]} @@ -1004,7 +1000,7 @@ export function JobsDetailHeaderActions({
{ + onFinish={s => { console.log(s); handleLostSaleFinish(s); }} diff --git a/client/src/components/payable-export-all-button/payable-export-all-button.component.jsx b/client/src/components/payable-export-all-button/payable-export-all-button.component.jsx index c448e4f4a..ca6753dca 100644 --- a/client/src/components/payable-export-all-button/payable-export-all-button.component.jsx +++ b/client/src/components/payable-export-all-button/payable-export-all-button.component.jsx @@ -225,7 +225,7 @@ export function PayableExportAll({ if (bodyshop.pbs_serialnumber) return ( - + ); diff --git a/client/src/components/payable-export-button/payable-export-button.component.jsx b/client/src/components/payable-export-button/payable-export-button.component.jsx index c2970b8d8..3a8d1b559 100644 --- a/client/src/components/payable-export-button/payable-export-button.component.jsx +++ b/client/src/components/payable-export-button/payable-export-button.component.jsx @@ -218,7 +218,7 @@ export function PayableExportButton({ if (bodyshop.pbs_serialnumber) return ( - + );