<div class="no-display"> <!-- NO CONTENT IN THIS DIV WILL DISPLAY -->
<!-- BEGIN SET STARTUP VALUES -->
<!-- BEGIN FEE SCHEDULE VALUES -->
<!-- IF ONLY CHANGING FEE VALUES EDIT THESE VARIABLE VALUES -->
<<set $application_fee to 16>>
<<set $lead_fee to 0>>
<<set $travel_fee to 5.50>>
<<set $inspection_fee to 14>>
<!-- END FEE SCHEDULE VALUES -->
<!-- BEGIN OTHER STARTUP VALUES -->
<<set $rental_units_error to 0>>
<!-- END OTHER STARTUP VALUES -->
<!-- END SET STARTUP VALUES -->
<!-- BEGIN DATA VALIDATION LOGIC -->
<<widget 'data-validation'>>
<<if validateNumber($rental_units) is "NaN">>
<<set $rental_units_validated to "">>
<<else>>
<<set $rental_units_validated to validateNumber($rental_units)>>
<</if>>
<</widget>>
<!-- END DATA VALIDATION LOGIC -->
<!-- BEGIN WIDGET FOR CALCULATION BUTTON -->
<<widget 'button-calculation'>>
<<data-validation>> <!-- RUNS DATA VALIDATION -->
<!-- BEGIN FEE CALC -->
<<set $total_inspection_fee to ($rental_units_validated * $inspection_fee)>>
<<set $total_fee to ($application_fee + $lead_fee + $travel_fee + $total_inspection_fee)>>
<!-- END FEE CALC -->
<!-- BEGIN ERROR CHECKING FUNCTION -->
<<if $rental_units is "" or $rental_units_validated is "" or $rental_units_validated is "NaN">>
<<set $rental_units_error to 1>>
<<else>>
<<set $rental_units_error to 0>>
<</if>>
<<if $rental_units_error is 1>>
<<replace "#Results">> <span id="rental-units-error"></span> <</replace>>
<<if $rental_units_error is 1>>
<<replace "#rental-units-error">>
<span class="Error">Please enter a value for the number of Rental Units.</span>
<</replace>>
<<else>>
<<replace "#value-error">><</replace>>
<</if>>
<<else>>
<!-- BEGIN RESULTS REPLACEMENT FUNCTION -->
<<if $achd_exemption or $affordable_housing>>
<<replace "#Results">> <span id="section-title">Your Calculated Fee</span>
''Application Type:'' Rental Registration Permit
''Rental Registration Application Fee:'' <<print numberWithCommas(asDollars(0))>>
''General Inspection Fee:'' <<print numberWithCommas(asDollars(0))>>
''Unit Inspection Fee:'' <<print numberWithCommas(asDollars(0))>>
----
''Total Cost:'' <<print numberWithCommas(asDollars(0))>>
Your application fee will be <<print numberWithCommas(asDollars(0))>>. You have indicated that you have an applicable exemption.
<span id="Exemption-Text"></span>
Additional fees may be assessed as appropriate. Please see the 2025 PLI Fee Schedule for a full break down of fees.
<</replace>>
<<else>>
<<replace "#Results">> <span id="section-title">Your Calculated Fee</span>
''Application Type:'' Rental Registration Permit
''Rental Registration Application Fee:'' <<print numberWithCommas(asDollars($application_fee))>>
''General Inspection Fee:'' <<print numberWithCommas(asDollars($travel_fee))>>
''Unit Inspection Fee:'' <<print numberWithCommas(asDollars($total_inspection_fee))>>
----
''Total Cost:'' <<print numberWithCommas(asDollars($total_fee))>>
Your application fee will be <<print numberWithCommas(asDollars($total_fee))>>.
Additional fees may be assessed as appropriate. Please see the 2025 PLI Fee Schedule for a full break down of fees.
<</replace>>
<</if>>
<!-- END RESULTS REPLACEMENT FUNCTION -->
<!-- BEGIN RESULTS REPLACEMENT FUNCTION LOGIC - THIS MUST COME AFTER THE RESULTS REPLACEMENT FUNCTION -->
<!-- USE THIS SECTION IF CHANGES NEED MADE WITHIN THE RESULTS -->
<<if $affordable_housing and not $achd_exemption>>
<<replace "#Exemption-Text">>You have indicated an Affordable Housing Exemption. You must still complete a registration and demonstrate your exemption by providing documentation. You will be subject to Rental Registration inspection.<</replace>>
<<elseif $achd_exemption>>
<<replace "#Exemption-Text">><</replace>>
<<else>>
<</if>>
<!-- END RESULTS REPLACEMENT FUNCTION LOGIC - THIS MUST COME AFTER THE RESULTS REPLACEMENT FUNCTION -->
<</if>>
<</widget>>
<!-- END WIDGET FOR CALCULATION BUTTON -->
<!-- BEGIN HELP WIDGETS -->
<<widget 'rental-units-help'>>
<<replace "#rental-units-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<rental-units-help-close>>')">The number of rental units on the parcel.</div> </span> <</replace>>
<</widget>>
<<widget 'rental-units-help-close'>>
<<replace "#rental-units-tooltip">> <div class="help-prompt" onclick="$.wiki('<<rental-units-help>>')">?</div> <</replace>>
<</widget>>
<<widget 'affordable-housing-help'>>
<<replace "#affordable-housing-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<affordable-housing-help-close>>')">Select this if you are part of the HUD Affordable Housing program.</div> </span> <</replace>>
<</widget>>
<<widget 'affordable-housing-help-close'>>
<<replace "#affordable-housing-tooltip">> <div class="help-prompt" onclick="$.wiki('<<affordable-housing-help>>')">?</div> <</replace>>
<</widget>>
<<widget 'achd-exemption-help'>>
<<replace "#achd-exemption-tooltip">>
<span class="help"><div class = "help-message" onclick="$.wiki('<<achd-exemption-help-close>>')">Select this if you are part of the ACHD Environmental Exemption program.</div> </span> <</replace>>
<</widget>>
<<widget 'achd-exemption-help-close'>>
<<replace "#achd-exemption-tooltip">> <div class="help-prompt" onclick="$.wiki('<<achd-exemption-help>>')">?</div> <</replace>>
<</widget>>
<!-- END HELP WIDGETS -->
</div> <!-- END NO DISPLAY DIV -->
<!-- BEGIN DISPLAYED CONTENT -->
<!-- BEGIN GRID CONTAINER -->
<div class="grid-container">
<!-- BEGIN TITLE-HEADER DIV. HEADER IS A PROTECTED DIV DO NOT RENAME. -->
<div class="title-header">
<span id="header-title"> <<print passage()>> </span>
</div>
<!-- END TITLE-HEADER DIV -->
<!-- BEGIN INFO HEADER -->
<!-- END INFO HEADER -->
<!-- BEGIN COL1 DIV. ALL DATA ENTRY HAPPENS IN THIS COLUMN -->
<div class="col1"> <span id="section-title">Number of Rental Units:</span> <!-- VALUE OF CONSTRUCTION ENTRY -->
<<textbox "$rental_units" "">> <span id="rental-units-tooltip" title="Click here for more information about determining your number of Rental Units."> <div class="help-prompt" onclick="$.wiki('<<rental-units-help>>')">?</div> </span>
<label> <<checkbox "$affordable_housing" false true>> <span id="section-title">Affordable Housing:</span> </label> <span id="affordable-housing-tooltip" title="Click here for more information about Affordable Housing Exemptions."> <div class="help-prompt" onclick="$.wiki('<<affordable-housing-help>>')">?</div> </span>
<label> <<checkbox "$achd_exemption" false true>> <span id="section-title">ACHD Environmental Exemption:</span></label> <span id="achd-exemption-tooltip" title="Click here for more information about ACHD Environmental Exemptions."> <div class="help-prompt" onclick="$.wiki('<<achd-exemption-help>>')">?</div> </span>
<!-- BUTTON RUNS ALL LOGIC TO POPULATE VALUES IN DIV COL2 -->
<span id="enterAct"> <div class="button"> <<button "Calculate">>
<<button-calculation>> <!-- RUNS MACRO LOCATED IN NO-DISPLAY DIV -->
<</button>> </div> </span> <!-- END BUTTON -->
<!-- BUTTON RELOADS THE CURRENT PASSAGE TO RESET THE FORM AND RESULTS --><div class="button"> <<button [[Reset Form | PLI Rental Registration Fee Calculator]]>><</button>> </div>
<!-- END BUTTON -->
</div>
<!-- END COL1 DIV -->
<!-- BEGIN COL2 DIV. ALL RESULTS DISPLAYED HERE -->
<div class="col2"> <span id="section-title">Results:</span>
<span id="Results">Please enter all information in the fields to the left. After you've entered your information, click or tap the "Calculate" button.
Click or tap the question mark buttons for more information about each field. Click or tap the help message to dismiss it.</span>
</div>
<!-- END COL2 DIV -->
<!-- BEGIN FOOTER -->
<div class="footer">
<div class="footer1"> <div class="button"> <<button "Return to PLI's Fee Page">>
<<script>>window.location = "https://www.pittsburghpa.gov/Business-Development/Permits-Licenses-and-Inspections/Fees";<</script>>
<</button>> </div>
</div>
<div class="footer2"> <div class="button"> <<button "Return to PLI's Home Page">>
<<script>>window.location = "https://www.pittsburghpa.gov/Business-Development/Permits-Licenses-and-Inspections";<</script>>
<</button>> </div>
</div>
<div class="footer3"><div class="button"> <<button "OneStopPGH">>
<<script>>window.location = "https://onestoppgh.pittsburghpa.gov/pghprod/webui/";<</script>>
<</button>> </div>
</div>
</div>
<!-- END FOOTER -->
</div>
<!-- END GRID CONTAINER -->
<!-- END DISPLAYED CONTENT -->