IO-2478 resolve incorrect labor type during conversion calculation.
This commit is contained in:
@@ -250,8 +250,7 @@ function CalculateExpectedHoursForJob(job, filterToLbrTypes) {
|
|||||||
.forEach((jobline) => {
|
.forEach((jobline) => {
|
||||||
if (jobline.convertedtolbr) {
|
if (jobline.convertedtolbr) {
|
||||||
// Line has been converte to labor. Temporarily re-assign the hours.
|
// Line has been converte to labor. Temporarily re-assign the hours.
|
||||||
jobline.mod_lbr_ty =
|
jobline.mod_lbr_ty = jobline.convertedtolbr_data.mod_lbr_ty;
|
||||||
jobline.mod_lbr_ty || jobline.convertedtolbr_data.mod_lbr_ty;
|
|
||||||
jobline.mod_lb_hrs += jobline.convertedtolbr_data.mod_lb_hrs;
|
jobline.mod_lb_hrs += jobline.convertedtolbr_data.mod_lb_hrs;
|
||||||
}
|
}
|
||||||
if (jobline.mod_lb_hrs != 0) {
|
if (jobline.mod_lb_hrs != 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user