Minor fixed + refactored job details screens based on review.
This commit is contained in:
@@ -20,11 +20,6 @@ export function JobCostingModalComponent({ bodyshop, job }) {
|
||||
const jobLineTotalsByProfitCenter = job.joblines.reduce(
|
||||
(acc, val) => {
|
||||
const laborProfitCenter = defaultProfits[val.mod_lbr_ty] || "?";
|
||||
// if (!!!laborProfitCenter)
|
||||
// console.log(
|
||||
// "Unknown cost/profit center mapping for labor.",
|
||||
// val.mod_lbr_ty
|
||||
// );
|
||||
|
||||
const rateName = `rate_${(val.mod_lbr_ty || "").toLowerCase()}`;
|
||||
const laborAmount = Dinero({
|
||||
|
||||
Reference in New Issue
Block a user