IO-1967 Adjust display of convert to labor button.

This commit is contained in:
Patrick Fic
2022-06-30 14:16:10 -07:00
parent ece0946738
commit e0804099ee
4 changed files with 29 additions and 21 deletions

View File

@@ -176,7 +176,7 @@ export function JobLinesComponent({
state.sortedInfo.columnKey === "act_price" && state.sortedInfo.order,
ellipsis: true,
render: (text, record) => (
<>
<JobLineConvertToLabor jobline={record} job={job}>
<CurrencyFormatter>
{record.db_ref === "900510" || record.db_ref === "900511"
? record.prt_dsmk_m
@@ -189,7 +189,7 @@ export function JobLinesComponent({
) : (
<></>
)}
</>
</JobLineConvertToLabor>
),
},
{
@@ -337,7 +337,6 @@ export function JobLinesComponent({
</Button>
</>
)}
<JobLineConvertToLabor jobline={record} job={job} />
</Space>
),
},