QB/O Exporting Adjustments

This commit is contained in:
Patrick Fic
2023-09-28 09:31:32 -07:00
parent 805149daea
commit 68b4bc66ff
4 changed files with 39 additions and 31 deletions

View File

@@ -36,6 +36,8 @@ export function JobsCloseAutoAllocate({ bodyshop, joblines, form, disabled }) {
ret.profitcenter_part = defaults.profits["MAPA"];
} else if (lineDesc.includes("ats amount")) {
ret.profitcenter_part = defaults.profits["ATS"];
} else if (jl.act_price > 0) {
ret.profitcenter_part = defaults.profits["PAO"];
} else {
ret.profitcenter_part = null;
}