IO-2070 Credit memos no longer update line status.

This commit is contained in:
Patrick Fic
2022-10-18 10:39:58 -07:00
parent c83ff03ae8
commit 05bfd217be

View File

@@ -229,7 +229,9 @@ function BillEnterModalContainer({
}); });
} }
} }
//If it's not a credit memo, update the statuses.
if (!values.is_credit_memo) {
await Promise.all( await Promise.all(
remainingValues.billlines remainingValues.billlines
.filter((il) => il.joblineid !== "noline") .filter((il) => il.joblineid !== "noline")
@@ -246,6 +248,7 @@ function BillEnterModalContainer({
}); });
}) })
); );
}
///////////////////////// /////////////////////////
if (upload && upload.length > 0) { if (upload && upload.length > 0) {