Added quantity to entering invoices BOD-182
This commit is contained in:
@@ -14,7 +14,7 @@ export const CalculateAllocationsTotals = (
|
||||
const r = allCodes.reduce((acc, value) => {
|
||||
acc.push({
|
||||
opcode: value,
|
||||
cost_center: responsibilitycenters.defaults[value],
|
||||
cost_center: responsibilitycenters.defaults.costs[value],
|
||||
total: joblines.reduce((acc2, val2) => {
|
||||
return val2.mod_lbr_ty === value ? acc2 + val2.mod_lb_hrs : acc2;
|
||||
}, 0),
|
||||
|
||||
Reference in New Issue
Block a user