IO-1618 Prevent PAE posting of bills.

This commit is contained in:
Patrick Fic
2022-01-05 13:56:15 -08:00
parent 50926547b3
commit 172860b280
3 changed files with 8 additions and 4 deletions

View File

@@ -74,7 +74,9 @@ export function BillEnterModalLinesComponent({
actual_price: opt.cost,
cost_center: opt.part_type
? bodyshop.pbs_serialnumber || bodyshop.cdk_dealerid
? opt.part_type
? opt.part_type !== "PAE"
? opt.part_type
: null
: responsibilityCenters.defaults &&
(responsibilityCenters.defaults.costs[
opt.part_type