Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sow tab 7 total estimated project cost not importing #3629

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/backend/lib/sow_import/tab_7.ts
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ const readBudget = async (sow_id, wb, sheet_name) => {
// -- SUMMARY OF ESTIMATED PROJECT COSTS --

// first pass - column B
for (let row = 1000; row < 1075; row++) {
for (let row = 1000; row < 1076; row++) {
const suspect = budget[row]['B'];
let value;
if (suspect === undefined) continue;
Expand Down
4 changes: 2 additions & 2 deletions app/tests/backend/lib/sow_tab_7.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1787,7 +1787,7 @@ describe('sow tab 7 tests', () => {
eligibleMobile: 0,
totalEligibleCosts: 500000,
totalIneligibleCosts: 250000,
totalProjectCost: '',
totalProjectCost: 750000,
},
totalCostsPerCostCategory: {
directLabour: { cost: 80000, percentOfTotalEligibleCosts: 0.16 },
Expand Down Expand Up @@ -2015,7 +2015,7 @@ describe('sow tab 7 tests', () => {
eligibleMobile: 0,
totalEligibleCosts: 500000,
totalIneligibleCosts: 250000,
totalProjectCost: '',
totalProjectCost: 750000,
},
totalCostsPerCostCategory: {
directLabour: { cost: 80000, percentOfTotalEligibleCosts: 0.16 },
Expand Down
Loading