diff --git a/src/components/Ashp/ApartmentTypeDropdown.js b/src/components/Ashp/ApartmentTypeDropdown.js new file mode 100644 index 0000000000000000000000000000000000000000..564bc513de7b9da4beb42202173bc4b7d6e496ba --- /dev/null +++ b/src/components/Ashp/ApartmentTypeDropdown.js @@ -0,0 +1,56 @@ +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; +import { + Input, +} from 'reactstrap'; + + +class ApartmentTypeDropdown extends Component { + constructor(props) { + super(props); + this.state = { + numOfApartment: props.numOfApartment, + }; + } + + handleInputChange = (event) => { + const val = event.target.value; + // const name = event.target.name; + this.setState({ + numOfApartment: val, + }, () => { + this.props.onChange(this.props.inputName, this.state.numOfApartment); + console.log('changed!'); // eslint-disable-line + }); + } + + render() { + return ( +
| + Building Intake + | +||||||||||||||||||||
|
+
+
+
|
+ ||||||||||||||||||||
| + Financial Initial Go/NoGo + | +||||||||||||
|
+
+
+
|
+
| + Remote Survey + | +||||||||||||||||||||||||||||||||
|
+
+
+
|
+
| + {props.title} + | +|
|
+
+ First Name
+
+
+ {props.upperFirstLetter(props.data.firstName)}
+
+ |
+
+
+ Last Name
+
+
+ {props.upperFirstLetter(props.data.lastName)}
+
+ |
+
|
+
+ Email
+
+
+ {props.data.email}
+
+ |
+
+
+ Phone
+
+
+ {props.data.phone}
+
+ |
+
|
+
+ Address
+
+
+ {address}
+
+ |
+ |
|
+
+ Number of Studio
+
+
+ {props.data.numOfStudio}
+
+ |
+
+
+ Number of One Bedroom Apartment
+
+
+ {props.data.numOfOneBedroom}
+
+ |
+
|
+
+ Number of Two Bedroom Apartment
+
+
+ {props.data.numOfTwoBedroom}
+
+ |
+
+
+ Number of Three Bedroom Apartment
+
+
+ {props.data.numOfThreeBedroom}
+
+ |
+
|
+
+ Number of Four Bedroom Apartment
+
+
+ {props.data.numOfFourBedroom}
+
+ |
+
+
+ Other Apartment
+
+
+ {props.data.other} {props.data.numOfOther}
+
+ |
+
| + {props.title} + | +|
|
+
+ Any bankruptcy in the past three years?
+
+
+ {props.upperFirstLetter(props.data.bankruptyPast)}
+
+ |
+ |
|
+
+ Current on energy bills?
+
+
+ {props.upperFirstLetter(props.data.currentOnEnergyBills)}
+
+ |
+ |
|
+
+ What is the current outstanding balance of the mortgage?
+
+
+ {props.upperFirstLetter(props.data.currentMortgageBalance)}
+
+ |
+ |
|
+
+ Is your building currently profitable?
+
+
+ {props.upperFirstLetter(props.data.profitable)}
+
+ |
+ |
|
+
+ What is your current budget for a down payment?
+
+
+ {props.upperFirstLetter(props.data.budgetForDownPayment)}
+
+ |
+
| + {props.title} + | +|
|
+
+ Heating System
+
+
+ {props.upperFirstLetter(props.data.heatingSystem)}
+
+ |
+
+
+ Heating Fuel Source
+
+
+ {props.upperFirstLetter(props.data.heatingFuelSource)}
+
+ |
+
|
+
+ Is Domestic Hot Water (DHW) and heat prepared by the same boiler?
+
+
+ {props.upperFirstLetter(props.data.DHWSameBoiler)}
+
+ |
+ |
|
+
+ Age of heat generating system?
+
+
+ {props.upperFirstLetter(props.data.AgeOfHeatGenerateSystem)}
+
+ |
+ |
|
+
+ When do you plan to replace the heating system?
+
+
+ {props.upperFirstLetter(props.data.planToReplaceHS)}
+
+ |
+ |
|
+
+ Hallways heated?
+
+
+ {props.upperFirstLetter(props.data.hallwaysHeated)}
+
+ |
+
+
+ Basement heated?
+
+
+ {props.upperFirstLetter(props.data.basementHeated)}
+
+ |
+
|
+
+ Stairwells heated?
+
+
+ {props.upperFirstLetter(props.data.stairwellsHeated)}
+
+ |
+
+
+ Floors heated?
+
+
+ {props.upperFirstLetter(props.data.floorsHeated)}
+
+ |
+
|
+
+ Is the roof flat and easily accessible by a stairwell?
+
+
+ {props.upperFirstLetter(props.data.accessibleByStairwell)}
+
+ |
+ |
|
+
+ Is the back facade of your building attached to an adjacent building or structure?
+
+
+ {props.upperFirstLetter(props.data.backFacadeAttached)}
+
+ |
+ |
|
+
+ Are the exterior walls of your building attached to an adjacent building or structure?
+
+
+ {props.upperFirstLetter(props.data.exteriorWallsAttached)}
+
+ |
+ |
|
+
+ Any tenant complaints about comfort issues? (Temperature)
+
+
+ {props.upperFirstLetter(props.data.tenantComplaintsComfort)}
+
+ |
+ |
|
+
+ Any tenant complaints about drafty windows?
+
+
+ {props.upperFirstLetter(props.data.tenantComplaintsWindows)}
+
+ |
+ |
|
+
+ Is the building directly metered for electricity (tenants pay ConEd bills)?
+
+
+ {props.upperFirstLetter(props.data.meteredForElectricity)}
+
+ |
+ |