Skip to content

Commit

Permalink
Merge pull request #527 from USEPA/feature/update-2024-frf-bus-annual…
Browse files Browse the repository at this point in the history
…-mileage-query

Feature/update 2024 frf bus annual mileage query
  • Loading branch information
courtneymyers authored Jan 9, 2025
2 parents 31a2f93 + cf79ff7 commit 6badabe
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/server/app/utilities/bap.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ const { submissionPeriodOpen } = require("../config/formio");
* CSB_Manufacturer__c: string
* CSB_Manufacturer_if_Other__c: string | null
* CSB_Annual_Fuel_Consumption__c: number
* Annual_Mileage__c: number
* Old_Bus_Average_Annual_Mileage__c: number
* Old_Bus_Estimated_Remaining_Life__c: number
* Old_Bus_Annual_Idling_Hours__c: number
* New_Bus_Infra_Rebate_Requested__c: number
Expand Down Expand Up @@ -1465,7 +1465,7 @@ async function queryBapFor2024PRFData(req, frfReviewItemId) {
// CSB_Manufacturer__c,
// CSB_Manufacturer_if_Other__c,
// CSB_Annual_Fuel_Consumption__c,
// Annual_Mileage__c,
// Old_Bus_Average_Annual_Mileage__c,
// Old_Bus_Estimated_Remaining_Life__c,
// Old_Bus_Annual_Idling_Hours__c,
// New_Bus_Infra_Rebate_Requested__c,
Expand Down Expand Up @@ -1501,7 +1501,7 @@ async function queryBapFor2024PRFData(req, frfReviewItemId) {
CSB_Manufacturer__c: 1,
CSB_Manufacturer_if_Other__c: 1,
CSB_Annual_Fuel_Consumption__c: 1,
Annual_Mileage__c: 1,
Old_Bus_Average_Annual_Mileage__c: 1,
Old_Bus_Estimated_Remaining_Life__c: 1,
Old_Bus_Annual_Idling_Hours__c: 1,
New_Bus_Infra_Rebate_Requested__c: 1,
Expand Down
4 changes: 2 additions & 2 deletions app/server/app/utilities/formio.js
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ function fetchDataForPRFSubmission({ rebateYear, req, res }) {
CSB_Manufacturer__c,
CSB_Manufacturer_if_Other__c,
CSB_Annual_Fuel_Consumption__c,
Annual_Mileage__c,
Old_Bus_Average_Annual_Mileage__c,
Old_Bus_Estimated_Remaining_Life__c,
Old_Bus_Annual_Idling_Hours__c,
New_Bus_Infra_Rebate_Requested__c,
Expand Down Expand Up @@ -661,7 +661,7 @@ function fetchDataForPRFSubmission({ rebateYear, req, res }) {
bus_existing_manufacturer: CSB_Manufacturer__c,
bus_existing_manufacturer_other: CSB_Manufacturer_if_Other__c,
bus_existing_annual_fuel_consumption: CSB_Annual_Fuel_Consumption__c, // prettier-ignore
bus_existing_annual_mileage: Annual_Mileage__c,
bus_existing_annual_mileage: Old_Bus_Average_Annual_Mileage__c,
bus_existing_remaining_life: Old_Bus_Estimated_Remaining_Life__c,
bus_existing_idling_hours: Old_Bus_Annual_Idling_Hours__c,
bus_new_owner: {
Expand Down

0 comments on commit 6badabe

Please sign in to comment.