Skip to content

Commit f4c1f7e

Browse files
authored
Merge pull request #1983 from bcgov/hotfix/ALCS-2382
Change Detailed Building Plan Documents to Required and Accept Multiple Files
2 parents 7e8e893 + a76ed61 commit f4c1f7e

File tree

7 files changed

+7
-1
lines changed

7 files changed

+7
-1
lines changed

portal-frontend/src/app/features/applications/edit-submission/proposal/pfrs-proposal/pfrs-proposal.component.html

+2
Original file line numberDiff line numberDiff line change
@@ -757,6 +757,8 @@ <h2>Proposal</h2>
757757
(openFile)="openFile($event)"
758758
[showErrors]="showErrors"
759759
[showVirusError]="showBuildingPlanVirus"
760+
[isRequired]="true"
761+
[allowMultiple]="true"
760762
></app-file-drag-drop>
761763
</div>
762764
</ng-container>

portal-frontend/src/app/features/applications/edit-submission/proposal/pofo-proposal/pofo-proposal.component.html

+2
Original file line numberDiff line numberDiff line change
@@ -667,6 +667,8 @@ <h2>Proposal</h2>
667667
(openFile)="openFile($event)"
668668
[showErrors]="showErrors"
669669
[showVirusError]="showBuildingPlanVirus"
670+
[isRequired]="true"
671+
[allowMultiple]="true"
670672
></app-file-drag-drop>
671673
</div>
672674
</ng-container>

portal-frontend/src/app/features/applications/edit-submission/proposal/roso-proposal/roso-proposal.component.html

+2
Original file line numberDiff line numberDiff line change
@@ -635,6 +635,8 @@ <h2>Proposal</h2>
635635
(openFile)="openFile($event)"
636636
[showErrors]="showErrors"
637637
[showVirusError]="showBuildingPlanVirus"
638+
[isRequired]="true"
639+
[allowMultiple]="true"
638640
></app-file-drag-drop>
639641
</div>
640642
</ng-container>

services/apps/alcs/src/portal/pdf-generation/generate-submission-document.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ export class GenerateSubmissionDocumentService {
591591

592592
crossSections: crossSections.map((d) => d.document),
593593
reclamationPlans: reclamationPlans.map((d) => d.document),
594-
buildingPlans: buildingPlans[0]?.document.fileName,
594+
buildingPlans: buildingPlans.map((d) => d.document),
595595
noticesOfWork: noticesOfWork.map((d) => d.document),
596596
soilIsExtractionOrMining: formatBooleanToYesNoString(
597597
submission.soilIsExtractionOrMining,
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)