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

Deployment PR - 1300 #1854

Merged
merged 149 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
149 commits
Select commit Hold shift + click to select a range
cc65ad1
Make L/FNG return comment required
trslater Sep 11, 2024
47ad226
Fix multiple files showing in one line in public search view
Abradat Sep 11, 2024
3d7681d
Fix tiny font on comment input
trslater Sep 11, 2024
2efa1b4
Merge pull request #1845 from bcgov/bugfix/ALCS-2177
Abradat Sep 12, 2024
206c62a
Merge pull request #1851 from bcgov/feature/ALCS-2160
trslater Sep 12, 2024
7fb6bb7
Update NARU description
trslater Sep 12, 2024
d869e5e
Merge pull request #1853 from bcgov/backport/2024-09-11
Abradat Sep 12, 2024
cab75c1
Merge pull request #1855 from bcgov/feature/ALCS-1103
trslater Sep 12, 2024
a0352c1
Fix incorrect NARU text
trslater Sep 12, 2024
e9c32b7
Merge pull request #1856 from bcgov/feature/ALCS-1103-fix
trslater Sep 12, 2024
6c7d533
Remove NARU subtype selection
trslater Sep 12, 2024
92685a8
Remove NARU subtype from view/submit
trslater Sep 12, 2024
ea8624c
Remove NARU subtype from PDF
trslater Sep 12, 2024
889d2ed
Remove NARU subtype from public search
trslater Sep 12, 2024
8dfdca3
Remove NARU subtype from ALCS applicant info
trslater Sep 12, 2024
96c1ddc
Remove NARU subtype from ALCS app prep
trslater Sep 12, 2024
08df426
Remove NARU subtype from decisions
trslater Sep 12, 2024
ee9af5c
Remove, relabel, reorder questions in portal
trslater Sep 13, 2024
164201f
Remove, relabel, reorder fields in NARU PDF
trslater Sep 13, 2024
a84170d
Remove, relabel, reorder ALCS app info NARU fields
trslater Sep 13, 2024
ba35a56
Add new NARU fields to DB
trslater Sep 14, 2024
e77997f
Add new NARU fields to all services, components, and PDF
trslater Sep 16, 2024
e38539d
Add back residence necessity questions
trslater Sep 17, 2024
8b89ed5
Add building plans to portal, ALCS
trslater Sep 17, 2024
0065b34
Fix upload spacing
trslater Sep 23, 2024
adc557f
Add building plans to public search
trslater Sep 23, 2024
304e96d
Remove unused confirmation dialog
trslater Sep 23, 2024
31beb50
Add missing question mark
trslater Sep 23, 2024
fe5386c
Add existing residence base to portal proposal
Abradat Sep 24, 2024
aaed141
Update existing residence on proposal step
Abradat Sep 24, 2024
7ff9998
Add building plans to PDF
trslater Sep 24, 2024
ca95a12
Change ExistingResidence DTO
Abradat Sep 24, 2024
56fbd64
Make building plans available to PDF template
trslater Sep 24, 2024
4410e5a
Add necessity questions back to PDF template
trslater Sep 24, 2024
4a1c0d6
Add confirmation dialogs for the first 4 yes/no questions
trslater Sep 24, 2024
1ec99df
Add NARU existing residences column to application submission
Abradat Sep 24, 2024
c9964b7
Add remove action to NARU existing residence table
Abradat Sep 24, 2024
8e4aa10
Add truncate to NARU existing residences description
Abradat Sep 24, 2024
0e07918
Fix failing tests
trslater Sep 24, 2024
0b73848
Merge pull request #1866 from bcgov/feature/ALCS-994-and-2161
trslater Sep 25, 2024
a31f35f
Add mobile design for NARU existing residences
Abradat Sep 25, 2024
09ee000
Add NARU existing residences to public view
Abradat Sep 25, 2024
8b569dc
Add NARU existing residence to ALCS Application Info
Abradat Sep 25, 2024
12dd73a
Convert NARU subtypes to question answers
trslater Sep 25, 2024
ef7ab8f
Add NARU existing residence to portal PDF
Abradat Sep 26, 2024
37395c2
Merge pull request #1867 from bcgov/feature/ALCS-2188
trslater Sep 26, 2024
87c13a7
Merge branch 'develop' into feature/ALCS-2148
Abradat Sep 26, 2024
70a0bce
Merge pull request #1868 from bcgov/feature/ALCS-2148
Abradat Sep 26, 2024
e0610cc
Remove redundant necessity question
trslater Sep 26, 2024
9948f0b
Relabel necessity question
trslater Sep 26, 2024
23bb643
Merge pull request #1863 from bcgov/backport/2024-09-19
Abradat Sep 26, 2024
d710a76
Add NARU Proposed Residences entity
Abradat Sep 26, 2024
35f7843
Fix NARU ProposedResidence DTO
Abradat Sep 26, 2024
731d530
Add new TFWH columns to DB
trslater Sep 26, 2024
3e867e3
Add TFWH fields to all services/DTO's
trslater Sep 26, 2024
305899a
Add PDF generation to NARU Proposed Residence
Abradat Sep 26, 2024
e8ba421
Add new TFWH fields to portal UI
trslater Sep 26, 2024
2acb9a0
Add TFWH fields to ALCS UI
trslater Sep 26, 2024
dd7fed3
Fix using wrong values to show clustered/setback errors
trslater Sep 26, 2024
e86c88a
Conditionally display NARU fields based on questions in portal/public
trslater Sep 27, 2024
ab5a860
Conditionally display NARU fields based on questions in ALCS
trslater Sep 27, 2024
6501412
Fix building plans
trslater Sep 27, 2024
0830ad7
Fix value checks
trslater Sep 27, 2024
9c02722
Fix test mocks
trslater Sep 27, 2024
cbcd944
Remove debugging logs
trslater Sep 27, 2024
cfd2c32
Add migration to fix html text
fbarreta Sep 27, 2024
0920fb2
Typo fix
fbarreta Sep 27, 2024
f7dc372
Add SVG siting figures
trslater Sep 27, 2024
1b6b6cc
Add NARU drawer with figures
trslater Sep 27, 2024
421edc5
Update NARU PDF template with TFWH fields
trslater Sep 27, 2024
4456b89
New line break added
fbarreta Oct 1, 2024
7232e9f
Add classes for figures, fig caps, and images
trslater Oct 1, 2024
adedf3a
Merge pull request #1870 from bcgov/feature/ALCS-2174
fbarreta Oct 1, 2024
2fcade5
Add confirmation dialog for deleting existing residence
Abradat Oct 1, 2024
3096ca6
Wrap figures to make size more consistent
trslater Oct 1, 2024
5da6293
Add no data message to NARU existing residences
Abradat Oct 1, 2024
dbbcc6d
Merge branch 'develop' into feature/ALCS-2130
trslater Oct 1, 2024
81774b2
Merge pull request #1871 from bcgov/feature/ALCS-2187
trslater Oct 1, 2024
14e6b7e
Merge pull request #1872 from bcgov/feature/ALCS-2148-2
Abradat Oct 1, 2024
d2df845
Fix NARU proposed residence entity
Abradat Oct 1, 2024
f55cf52
Added confirmation dialog
fbarreta Oct 1, 2024
bd625a1
Remove console.log
fbarreta Oct 1, 2024
f2371e8
Rename ExistingResidenceDialog component
Abradat Oct 1, 2024
2a51276
Merge pull request #1873 from bcgov/feature/ALCS-2203
fbarreta Oct 1, 2024
b7d1ab2
Add extra text/link to NARU proposal
trslater Oct 1, 2024
33e678d
Make soil table volume field configurable
trslater Oct 1, 2024
fc836ae
Remove fill description, duration, and volume from all NARU UI elements
trslater Oct 1, 2024
d348906
Remove fill description, duration, and volume from all NFU UI elements
trslater Oct 1, 2024
2559720
Add extra text/link to NFU proposal
trslater Oct 1, 2024
21409d4
Remove NARU/NFU fill fields from backend
trslater Oct 1, 2024
9be07c3
Remove accidentally added Word temp file
trslater Oct 1, 2024
fc720fb
Make soil decision component volumes optional
trslater Oct 1, 2024
4cf7710
Fix API test
trslater Oct 1, 2024
0356133
Merge pull request #1875 from bcgov/feature/ALCS-2196
trslater Oct 1, 2024
c0b6429
Add NARU proposed residence to portal
Abradat Oct 1, 2024
94fb765
Add NARU Proposed Residence to ALCS frontend
Abradat Oct 1, 2024
5b00992
Merge branch 'develop' into feature/ALCS-2130
trslater Oct 1, 2024
14f0ea6
Merge pull request #1869 from bcgov/feature/ALCS-2130
trslater Oct 1, 2024
4cffd85
Merge branch 'develop' into feature/ALCS-2195
trslater Oct 2, 2024
eece74b
Fix margin and text size in NARU existing residence mobile view
Abradat Oct 2, 2024
bcdc572
Merge pull request #1874 from bcgov/feature/ALCS-2195
trslater Oct 2, 2024
97a62e6
Merge pull request #1877 from bcgov/feature/ALCS-2148-3
Abradat Oct 2, 2024
97b96ec
Merge branch 'develop' into feature/ALCS-2159
Abradat Oct 2, 2024
444a386
Remove comments from scss
Abradat Oct 2, 2024
382ed85
Merge pull request #1876 from bcgov/feature/ALCS-2159
Abradat Oct 2, 2024
5d383a2
Fix Proposed Residence table column in NARU submission PDF template
Abradat Oct 2, 2024
e45122e
Fix text alignment
Abradat Oct 2, 2024
a650fda
Add NARU proposed residence table to public view
Abradat Oct 2, 2024
9d57665
Merge pull request #1878 from bcgov/feature/ALCS-2159-2
Abradat Oct 2, 2024
b9068a3
Fix SRW create modal overflow
Abradat Oct 2, 2024
3bddf90
Merge pull request #1879 from bcgov/bugfix/ALCS-2205
Abradat Oct 2, 2024
fcbf428
Add non-zero and two decimal places validation to residence dialog
Abradat Oct 2, 2024
3d88b8b
Merge pull request #1880 from bcgov/feature/ALCS-2159-3
Abradat Oct 3, 2024
941090b
Make sure changes applied to PDF template
trslater Oct 3, 2024
fdea0d7
Merge pull request #1881 from bcgov/feature/ALCS-2130-QA
trslater Oct 3, 2024
94dda97
Transform TFWH design question from boolean to yes/no
trslater Oct 3, 2024
7e5cc45
Merge pull request #1882 from bcgov/feature/ALCS-2130-QA-2
trslater Oct 3, 2024
217de88
Swap NOI prep fill/soil columns
trslater Oct 3, 2024
60f2828
Make sure non-approved mods cannot be used in decisions
trslater Oct 3, 2024
ea8f328
Merge pull request #1883 from bcgov/bugfix/ALCS-2179
trslater Oct 3, 2024
68d2856
Resend the response when an email is changed
fbarreta Oct 3, 2024
6df42c5
Merge pull request #1884 from bcgov/feature/ALCS-2181-resend-notifica…
fbarreta Oct 3, 2024
b1fe0ed
Fix date picker value disappearing on selection in applications
Abradat Oct 4, 2024
13837a5
Fix ALR field not showing "Add Amount" on empty value in prep for app…
Abradat Oct 4, 2024
237a59c
Add space between staff comments header and text field in application…
Abradat Oct 4, 2024
cf0abd6
Merge pull request #1885 from bcgov/bugfix/ALCS-2181
Abradat Oct 4, 2024
2b38e01
Fix text issues in "sitting of the residence(s)" drawer
Abradat Oct 4, 2024
c086661
Fix wrong label ID
Abradat Oct 4, 2024
9d2be4e
Merge pull request #1886 from bcgov/bugfix/ALCS-2277
Abradat Oct 4, 2024
459d203
Fix NARU PDF missing question mark and no data for proposed and exist…
Abradat Oct 4, 2024
11b75a4
Merge pull request #1887 from bcgov/bugfix/ALCS-2279-2280
Abradat Oct 4, 2024
75c112b
Fixed the cache flags on SRW searches
fbarreta Oct 4, 2024
8c5ae0f
Merge pull request #1888 from bcgov/bugfix/ALCS-2242-fix-search-cache
fbarreta Oct 4, 2024
3184c99
Fix missing "No Data" for NARU existing residences tables with 0 length
Abradat Oct 4, 2024
884933f
Merge pull request #1889 from bcgov/bugfix/ALCS-2281
Abradat Oct 4, 2024
7db8915
Hide TFWH design response when null
trslater Oct 7, 2024
91d55c3
Merge pull request #1890 from bcgov/feature/ALCS-2282
trslater Oct 7, 2024
6eb5fc4
Fix NARU proposed residences empty text on mobile view
Abradat Oct 7, 2024
102c261
Merge pull request #1891 from bcgov/bugfix/ALCS-2284
Abradat Oct 7, 2024
f915c4d
Fix missing question marks
Abradat Oct 7, 2024
e13e493
Fix add existing/proposed residence button marking other fields touched
Abradat Oct 7, 2024
eb58b80
Merge pull request #1892 from bcgov/bugfix/ALCS-2279
Abradat Oct 7, 2024
3635ce6
Merge pull request #1893 from bcgov/bugfix/ALCS-2278
Abradat Oct 7, 2024
32ba27b
Add error state to NARU proposed residents with 0 length
Abradat Oct 7, 2024
136c5af
Merge pull request #1894 from bcgov/bugfix/ALCS-2289
Abradat Oct 7, 2024
65099f3
Fix reconsiderations not showing in "Incoming" column in commissioner…
Abradat Oct 7, 2024
b847927
Move siting diagram just before clustered question
trslater Oct 8, 2024
25e3154
Merge pull request #1899 from bcgov/bugfix/ALCS-2292
trslater Oct 8, 2024
00a4ae4
Merge pull request #1898 from bcgov/bugfix/ALCS-2259
Abradat Oct 8, 2024
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
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@ describe('ApplicationDetailsComponent', () => {
status: {} as ApplicationStatus,
type: '',
uuid: '',
naruWillBeOverFiveHundredM2: null,
naruWillRetainResidence: null,
naruWillHaveAdditionalResidence: null,
naruWillHaveTemporaryForeignWorkerHousing: null,
tfwhCount: null,
tfwhDesign: null,
tfwhFarmSize: null,
naruClustered: null,
naruSetback: null,
naruExistingStructures: null,
naruFillOrigin: null,
naruFillType: null,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,140 +1,174 @@
<div *ngIf="_applicationSubmission" class="review-table">
<div class="subheading2 grid-1">Selected Subtype:</div>
<div class="subheading2 grid-1">
Is your proposal for a principal residence with a total floor area greater than 500 m<sup>2</sup>?
</div>
<div class="grid-double">
{{ _applicationSubmission.naruWillBeOverFiveHundredM2 ? 'Yes' : 'No' }}
</div>

<div class="subheading2 grid-1">Is your proposal to retain an existing residence while building a new residence?</div>
<div class="grid-double">
{{ _applicationSubmission.naruWillRetainResidence ? 'Yes' : 'No' }}
</div>

<div class="subheading2 grid-1">Is your proposal for an additional residence?</div>
<div class="grid-double">
{{ _applicationSubmission.naruWillHaveAdditionalResidence ? 'Yes' : 'No' }}
</div>

<div class="subheading2 grid-1">Is your proposal for temporary foreign worker housing?</div>
<div class="grid-double">
{{ _applicationSubmission.naruSubtype?.label }}
{{ _applicationSubmission.naruWillHaveTemporaryForeignWorkerHousing ? 'Yes' : 'No' }}
</div>

<div class="subheading2 grid-1">
Do you need to import any fill to construct or conduct the proposed non-adhering residential use?
</div>
<div class="grid-double">
{{ _applicationSubmission.naruWillImportFill ? 'Yes' : 'No' }}
</div>

<div class="subheading2 grid-1">What is the purpose of the proposal?</div>
<div class="grid-double">
{{ _applicationSubmission.purpose }}
</div>
<ng-container *ngIf="_applicationSubmission.naruSubtype?.code === 'ARFU'">
<div class="subheading2 grid-1">
What is the total floor area (m<sup>2</sup>) of the proposed additional residence?
</div>
<div class="grid-double">
{{ _applicationSubmission.naruFloorArea }} <span *ngIf="_applicationSubmission.naruFloorArea">m<sup>2</sup></span>
</div>
<div class="subheading2 grid-1">
Describe the necessity for an additional residence for farm use and how it will support agriculture in the short
or long term.
</div>
<div class="grid-double">
{{ _applicationSubmission.naruResidenceNecessity }}
</div>
<div class="subheading2 grid-1">Describe the rationale for the proposed location of the additional residence.</div>
<div class="grid-double">
{{ _applicationSubmission.naruLocationRationale }}
</div>
<div class="subheading2 grid-1">
Provide the total area (m<sup>2</sup>) and a description of infrastructure necessary to support the additional
residence.
</div>
<div class="grid-double">
{{ _applicationSubmission.naruInfrastructure }}
</div>
</ng-container>
<ng-container *ngIf="_applicationSubmission.naruSubtype?.code === 'PRIN'">
<div class="subheading2 grid-1">
What is the total floor area (m<sup>2</sup>) of the proposed principal residence?
</div>
<div class="grid-double">
{{ _applicationSubmission.naruFloorArea }} <span *ngIf="_applicationSubmission.naruFloorArea">m<sup>2</sup></span>
</div>

<ng-container
*ngIf="
_applicationSubmission.naruWillBeOverFiveHundredM2 ||
_applicationSubmission.naruWillHaveAdditionalResidence ||
_applicationSubmission.naruWillHaveTemporaryForeignWorkerHousing
"
>
<div class="subheading2 grid-1">
Describe how the proposal for a principal residence more than 500 m<sup>2</sup> will support agriculture in the
short or long term.
Is your proposal necessary for farm use? If so, please explain<ng-container
*ngIf="_applicationSubmission.naruWillHaveTemporaryForeignWorkerHousing"
>
what the temporary foreign workers will be doing on the farm</ng-container
>.
</div>
<div class="grid-double">
{{ _applicationSubmission.naruResidenceNecessity }}
</div>
<div class="subheading2 grid-1">Describe the rationale for the proposed location of the principal residence.</div>
<div class="grid-double">
{{ _applicationSubmission.naruLocationRationale }}
</div>
<div class="subheading2 grid-1">
Provide the total area (m<sup>2</sup>) and a description of infrastructure necessary to support the principal
residence.
</div>
<div class="grid-double">
{{ _applicationSubmission.naruInfrastructure }}
</div>
</ng-container>

<ng-container *ngIf="_applicationSubmission.naruSubtype?.code === 'TOUR'">
<div class="subheading2 grid-1">What is the total floor area (m<sup>2</sup>) of the proposed accommodation?</div>
<ng-container *ngIf="_applicationSubmission.naruWillHaveTemporaryForeignWorkerHousing">
<div class="subheading2 grid-1">How many temporary foreign workers will be housed by the proposal?</div>
<div class="grid-double">
{{ _applicationSubmission.naruFloorArea }} <span *ngIf="_applicationSubmission.naruFloorArea">m<sup>2</sup></span>
</div>
<div class="subheading2 grid-1">How many "sleeping units" in total are proposed?</div>
<div class="grid-double">
{{ _applicationSubmission.naruSleepingUnits }}
{{ _applicationSubmission.tfwhCount }}
</div>

<div class="subheading2 grid-1">
Describe how the proposal for tourism accommodation will support agriculture in the short or long term.
</div>
<div class="grid-double">
{{ _applicationSubmission.naruResidenceNecessity }}
Will the temporary foreign worker housing be designed to move from one place to another?
</div>
<div class="subheading2 grid-1">Describe the rationale for the proposed location of the tourism accommodation.</div>
<div class="grid-double">
{{ _applicationSubmission.naruLocationRationale }}
{{ _applicationSubmission.tfwhDesign ? 'Yes' : 'No' }}
</div>

<div class="subheading2 grid-1">
Provide the total area (m<sup>2</sup>) and a description of infrastructure necessary to support the tourism
accommodation.
</div>
<div class="grid-double">
{{ _applicationSubmission.naruInfrastructure }}
What is the size (in hectares) of the farm operation that the temporary foreign workers will be supporting?
</div>
<div class="subheading2 grid-1">Describe any agri-tourism that is currently taking place on the property.</div>
<div class="grid-double">
{{ _applicationSubmission.naruAgriTourism }}
{{ _applicationSubmission.tfwhFarmSize }}
</div>
</ng-container>

<div class="subheading2 grid-1">
Describe the total floor area (m<sup>2</sup>), type, number, and occupancy of all residential structures currently
located on the property.
Will the proposed residence(s) be clustered with existing residential structures? Please explain.
</div>
<div class="grid-double">
{{ _applicationSubmission.naruExistingStructures }}
{{ _applicationSubmission.naruClustered }}
</div>

<div class="subheading2 grid-1">Proposal Map / Site Plan</div>
<div class="subheading2 grid-1">
Will the proposed residence(s) be located within a 60 m setback from the front lot line? Please explain.
</div>
<div class="grid-double">
<div *ngFor="let file of proposalMap">
<a (click)="openFile(file)">
{{ file.fileName }}
</a>
</div>
{{ _applicationSubmission.naruSetback }}
</div>

<div class="subheading2 grid-1">
Do you need to import any fill to construct or conduct the proposed non-adhering residential use?
Where on the parcel will the proposal be situated and is there an agricultural rationale for the proposed location?
</div>
<div class="grid-double">
{{ _applicationSubmission.naruWillImportFill ? 'Yes' : 'No' }}
{{ _applicationSubmission.naruLocationRationale }}
</div>
<ng-container *ngIf="_applicationSubmission.naruWillImportFill">
<div class="subheading2 grid-1">Describe the type and amount of fill proposed to be placed.</div>
<div class="grid-double">
{{ _applicationSubmission.naruFillType }}

<div class="subheading2 grid-1">
Describe any infrastructure required to support the proposed residence(s) and the approximate area (m<sup>2</sup>)
required for that infrastructure
</div>
<div class="grid-double">
{{ _applicationSubmission.naruInfrastructure }}
</div>

<ng-container *ngIf="_applicationSubmission.naruExistingResidences">
<div class="full-width existing-residences">
<div class="grid-1 subheading2">Existing Residence</div>
<div class="grid-2 subheading2">Total Floor Area</div>
<div class="grid-3 subheading2">Description</div>
<ng-container *ngIf="_applicationSubmission.naruExistingResidences?.length === 0">
<div>
<app-no-data></app-no-data>
</div>
</ng-container>
<ng-container *ngFor="let existingResidence of _applicationSubmission.naruExistingResidences; let i = index">
<div class="grid-1">
{{ i + 1 }}
</div>
<div class="grid-2">
{{ existingResidence.floorArea }} <span matTextSuffix>m<sup>2</sup></span>
</div>
<div class="grid-3">{{ existingResidence.description }}</div>
</ng-container>
</div>
</ng-container>

<ng-container>
<div class="full-width existing-residences">
<div class="grid-1 subheading2">Proposed Residence</div>
<div class="grid-2 subheading2">Total Floor Area</div>
<div class="grid-3 subheading2">Description</div>
<ng-container *ngFor="let proposedResidence of _applicationSubmission.naruProposedResidences; let i = index">
<div class="grid-1">
{{ i + 1 }}
</div>
<div class="grid-2">
{{ proposedResidence.floorArea }} <span matTextSuffix>m<sup>2</sup></span>
</div>
<div class="grid-3">{{ proposedResidence.description }}</div>
</ng-container>
</div>
</ng-container>

<div class="subheading2 grid-1">Briefly describe the origin and quality of fill.</div>
<div class="subheading2 grid-1">Proposal Map / Site Plan</div>
<div class="grid-double">
<div *ngFor="let file of proposalMap">
<a (click)="openFile(file)">
{{ file.fileName }}
</a>
</div>
</div>

<ng-container *ngIf="buildingPlans.length !== 0">
<div class="subheading2 grid-1">Detailed Building Plan(s)</div>
<div class="grid-double">
{{ _applicationSubmission.naruFillOrigin }}
<div *ngFor="let file of buildingPlans">
<a (click)="openFile(file)">
{{ file.fileName }}
</a>
</div>
</div>
</ng-container>

<div class="subheading2 grid-1">Placement of Fill Project Duration</div>
<ng-container *ngIf="_applicationSubmission.naruWillImportFill">
<div class="subheading2 grid-1">Describe the type and amount of fill proposed to be placed.</div>
<div class="grid-double">
{{ _applicationSubmission.naruProjectDuration }}
{{ _applicationSubmission.naruFillType }}
</div>

<div class="subheading1 full-width">Fill to be Placed</div>
<div class="full-width soil-table">
<div class="grid-1"><strong>Volume</strong></div>
<div class="grid-2">{{ _applicationSubmission.naruToPlaceVolume }} m<sup>3</sup></div>
<div class="grid-1"><strong>Area</strong></div>
<div class="grid-2">{{ _applicationSubmission.naruToPlaceArea }} m<sup>2</sup></div>
<div class="grid-1"><strong>Maximum Depth</strong></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,28 @@
grid-column-gap: 36px;
grid-row-gap: 12px;
}

.existing-residences {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
word-wrap: break-word;
white-space: pre-line;
grid-column-gap: 36px;
grid-row-gap: 12px;

.full-width {
grid-column: 1/3;
}

.grid-1 {
grid-column: 1/2;
}

.grid-2 {
grid-column: 2/3;
}

.grid-3 {
grid-column: 3/5;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,12 @@ export class NaruDetailsComponent {
@Input() set files(documents: ApplicationDocumentDto[] | undefined) {
if (documents) {
this.proposalMap = documents.filter((document) => document.type?.code === DOCUMENT_TYPE.PROPOSAL_MAP);
this.buildingPlans = documents.filter((document) => document.type?.code === DOCUMENT_TYPE.BUILDING_PLAN);
}
}

proposalMap: ApplicationDocumentDto[] = [];
buildingPlans: ApplicationDocumentDto[] = [];

constructor(private applicationDocumentService: ApplicationDocumentService) {}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,9 @@ <h4>Soil and Fill Components</h4>
<div class="grid-double">
{{ applicationSubmission.nfuFillTypeDescription }}
</div>
<div class="subheading2 grid-1">Briefly describe the origin and quality of fill.</div>
<div class="grid-double">
{{ applicationSubmission.nfuFillOriginDescription }}
</div>

<div class="subheading2 grid-1">Placement of Fill Project Duration</div>
<div class="grid-double">
{{ applicationSubmission.nfuProjectDuration }}
</div>

<div class="subheading1 full-width">Fill to be Placed</div>
<div class="full-width soil-table">
<div class="grid-1"><strong>Volume</strong></div>
<div class="grid-2">{{ applicationSubmission.nfuFillVolume }} m<sup>3</sup></div>
<div class="grid-1"><strong>Area</strong></div>
<div class="grid-2">{{ applicationSubmission.nfuTotalFillArea }} m<sup>2</sup></div>
<div class="grid-1"><strong>Maximum Depth</strong></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ const routes: Routes = [
BoundaryAmendmentComponent,
EditBoundaryAmendmentDialogComponent,
],
imports: [SharedModule, RouterModule.forChild(routes), ApplicationDetailsModule, DecisionModule],
imports: [SharedModule.forRoot(), RouterModule.forChild(routes), ApplicationDetailsModule, DecisionModule],
})
export class ApplicationModule {}
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
<ng-content></ng-content>
<div>
<div class="subheading2">Residential Use Type</div>
{{ component.naruSubtype?.label }}
<app-no-data *ngIf="component.naruSubtype === null || component.naruSubtype === undefined"></app-no-data>
</div>

<div>
<div class="subheading2">Expiry Date</div>
Expand Down
Loading
Loading