Skip to content

Commit

Permalink
fix: update listing export (#3802)
Browse files Browse the repository at this point in the history
  • Loading branch information
YazeedLoonat authored Jan 9, 2024
1 parent dbcd45c commit d86b61b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/core/src/listings/listings-csv-exporter.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class ListingsCsvExporterService {
"Minimum Occupancy": hideZero(listing.unit?.minOccupancy),
"Max Occupancy": hideZero(listing.unit?.maxOccupancy),
"AMI Chart": listing.unit?.amiChart?.name,
"AMI Level": listing.unit?.amiChart?.items[0]?.percentOfAmi,
"AMI Level": listing.unit?.amiPercentage,
"Rent Type": formatRentType(
listing.unit?.monthlyRentAsPercentOfIncome,
listing.unit?.monthlyRent
Expand Down
2 changes: 1 addition & 1 deletion backend/core/src/listings/views/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,13 @@ views.unitsExport = {
"units.number",
"unitType.name",
"units.numBathrooms",
"units.amiPercentage",
"units.floor",
"units.sqFeet",
"units.minOccupancy",
"units.maxOccupancy",
"units.monthlyIncomeMin",
"amiChart.id",
"amiChart.items",
"amiChart.name",
"units.monthlyRent",
"units.monthlyRentAsPercentOfIncome",
Expand Down

0 comments on commit d86b61b

Please sign in to comment.