New fix for NA mitchell items. RPS-46. Fixed vehicle age bug RPS-51
This commit is contained in:
@@ -20,7 +20,9 @@ export default function JobPartsGraphAtom({
|
||||
}
|
||||
|
||||
acc[val.part_type] = acc[val.part_type].add(
|
||||
Dinero({ amount: Math.round((val[price] || 0) * 100) })
|
||||
Dinero({ amount: Math.round((val[price] || 0) * 100) }).multiply(
|
||||
val.part_qty || 1
|
||||
)
|
||||
);
|
||||
|
||||
return acc;
|
||||
|
||||
@@ -60,6 +60,13 @@ export default function JobLinesTableMolecule({ loading, job }) {
|
||||
width: "15%",
|
||||
sorter: (a, b) => alphaSort(a.oem_partno, b.oem_partno),
|
||||
},
|
||||
{
|
||||
title: "Qty.",
|
||||
dataIndex: "part_qty",
|
||||
key: "part_qty",
|
||||
width: "5%",
|
||||
sorter: (a, b) => a.part_qty - b.part_qty,
|
||||
},
|
||||
{
|
||||
title: "Database Price",
|
||||
dataIndex: "db_price",
|
||||
|
||||
Reference in New Issue
Block a user