Merge remote-tracking branch 'origin/release/2025-10-17' into feature/IO-3357-Reynolds-and-Reynolds-DMS-API-Integration
This commit is contained in:
@@ -384,6 +384,8 @@ async function CalculateRatesTotals({ job, client }) {
|
||||
if (item.lbr_op === "OP14" && item.act_price > 0 && (!item.part_type || item.mod_lb_hrs === 0)) {
|
||||
//Scenario where SGI may pay out hours using a part price.
|
||||
if (!ret[item.mod_lbr_ty.toLowerCase()].total) {
|
||||
ret[item.mod_lbr_ty.toLowerCase()].base = Dinero();
|
||||
ret[item.mod_lbr_ty.toLowerCase()].adjustment = Dinero();
|
||||
ret[item.mod_lbr_ty.toLowerCase()].total = Dinero();
|
||||
}
|
||||
ret[item.mod_lbr_ty.toLowerCase()].total = ret[item.mod_lbr_ty.toLowerCase()].total.add(
|
||||
|
||||
Reference in New Issue
Block a user