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
|
ins_co_id
|
||||||
dms_allocation
|
dms_allocation
|
||||||
id
|
id
|
||||||
|
inproduction
|
||||||
ded_amt
|
ded_amt
|
||||||
ded_status
|
ded_status
|
||||||
depreciation_taxes
|
depreciation_taxes
|
||||||
|
|||||||
@@ -250,7 +250,7 @@ export function JobsCloseComponent({ job, bodyshop, jobRO }) {
|
|||||||
onlyFuture={!!bodyshop.cdk_dealerid}
|
onlyFuture={!!bodyshop.cdk_dealerid}
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
{!jobRO && (
|
{!jobRO && job.inproduction && (
|
||||||
<Form.Item
|
<Form.Item
|
||||||
label={t("jobs.actions.removefromproduction")}
|
label={t("jobs.actions.removefromproduction")}
|
||||||
name="removefromproduction"
|
name="removefromproduction"
|
||||||
|
|||||||
Reference in New Issue
Block a user