feature/IO-3255-simplified-parts-management - Record Labor Again

This commit is contained in:
Dave
2025-08-18 11:02:03 -04:00
parent 6bd2828176
commit 1941034dcb
2 changed files with 4 additions and 2 deletions

View File

@@ -101,6 +101,7 @@ export function JobLinesComponent({
: {})
}
});
const { t } = useTranslation();
const jobIsPrivate = bodyshop.md_ins_cos.find((c) => c.name === job.ins_co_nm)?.private;

View File

@@ -34,8 +34,9 @@ const KNOWN_PART_RATE_TYPES = [
"CCM",
"CCDR"
];
// Config: include labor lines and labor in totals (default false for development ease)
const INCLUDE_LABOR = process.env.PARTS_MGMT_INCLUDE_LABOR === "true";
const INCLUDE_LABOR = true;
/**
* Fetches the default order status for a bodyshop.
* @param {string} shopId - The bodyshop UUID.