IO-1255 Resolve parts return and posting for non-defined lines

This commit is contained in:
Patrick Fic
2021-07-13 11:02:54 -07:00
parent c6635845f5
commit 34422dfef7
2 changed files with 4 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ export function PartsOrderListTableComponent({
quantity: pol.quantity,
actual_price: pol.act_price,
cost_center: pol.jobline.part_type
cost_center: pol.jobline?.part_type
? responsibilityCenters.defaults.costs[
pol.jobline.part_type
] || null