IO-1862 Only show remove from production when job in production on close screen.
This commit is contained in:
@@ -1829,6 +1829,7 @@ export const QUERY_JOB_CLOSE_DETAILS = gql`
|
||||
ins_co_id
|
||||
dms_allocation
|
||||
id
|
||||
inproduction
|
||||
ded_amt
|
||||
ded_status
|
||||
depreciation_taxes
|
||||
|
||||
@@ -250,7 +250,7 @@ export function JobsCloseComponent({ job, bodyshop, jobRO }) {
|
||||
onlyFuture={!!bodyshop.cdk_dealerid}
|
||||
/>
|
||||
</Form.Item>
|
||||
{!jobRO && (
|
||||
{!jobRO && job.inproduction && (
|
||||
<Form.Item
|
||||
label={t("jobs.actions.removefromproduction")}
|
||||
name="removefromproduction"
|
||||
|
||||
Reference in New Issue
Block a user