From 492cee29e7367acfac02b5912495dd23ff631afa Mon Sep 17 00:00:00 2001 From: Allan Carr Date: Mon, 12 Aug 2024 12:36:31 -0700 Subject: [PATCH] IO-2861 LEGACY Disable Editing of InHouse Invoice for Vendor and Invoice Number Signed-off-by: Allan Carr --- .../bill-detail-edit/bill-detail-edit-component.jsx | 3 ++- client/src/components/bill-form/bill-form.component.jsx | 5 +++-- client/src/components/bill-form/bill-form.container.jsx | 2 ++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/client/src/components/bill-detail-edit/bill-detail-edit-component.jsx b/client/src/components/bill-detail-edit/bill-detail-edit-component.jsx index 4380c77d2..e70e57a94 100644 --- a/client/src/components/bill-detail-edit/bill-detail-edit-component.jsx +++ b/client/src/components/bill-detail-edit/bill-detail-edit-component.jsx @@ -164,6 +164,7 @@ export function BillDetailEditcontainer({ if (!search.billid) return <>; //
{t("bills.labels.noneselected")}
; const exported = data && data.bills_by_pk && data.bills_by_pk.exported; + const isinhouse = data && data.bills_by_pk && data.bills_by_pk.isinhouse; return ( <> @@ -207,7 +208,7 @@ export function BillDetailEditcontainer({ initialValues={transformData(data)} layout="vertical" > - + {t("general.labels.media")} {bodyshop.uselocalmediaserver ? ( - +