Skip to content

Commit 100c475

Browse files
authored
Merge pull request #1212 from bcgov/feature-phocs-804v2
EHIS-804
2 parents 95af3c3 + d62729f commit 100c475

7 files changed

+139
-8
lines changed

bcgov-source/app-phocs/main/default/flexipages/BLAEvaluationRecordPage.flexipage-meta.xml

Lines changed: 53 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,13 @@
411411
</componentInstanceProperties>
412412
<componentName>flexipage:fieldSection</componentName>
413413
<identifier>flexipage_fieldSection5</identifier>
414+
<visibilityRule>
415+
<criteria>
416+
<leftValue>{!Record.Status}</leftValue>
417+
<operator>EQUAL</operator>
418+
<rightValue>Closed</rightValue>
419+
</criteria>
420+
</visibilityRule>
414421
</componentInstance>
415422
</itemInstances>
416423
<itemInstances>
@@ -504,6 +511,24 @@
504511
<flexiPageRegions>
505512
<itemInstances>
506513
<componentInstance>
514+
<componentInstanceProperties>
515+
<name>actionNames</name>
516+
<valueList>
517+
<valueListItems>
518+
<value>New</value>
519+
</valueListItems>
520+
<valueListItems>
521+
<value>RecommendAllActivities</value>
522+
</valueListItems>
523+
<valueListItems>
524+
<value>RecommendAllActivitiesMobile</value>
525+
</valueListItems>
526+
</valueList>
527+
</componentInstanceProperties>
528+
<componentInstanceProperties>
529+
<name>maxRecordsToDisplay</name>
530+
<value>10</value>
531+
</componentInstanceProperties>
507532
<componentInstanceProperties>
508533
<name>parentFieldApiName</name>
509534
<value>BusinessLicenseApplication.Id</value>
@@ -513,19 +538,41 @@
513538
<value>Contexts</value>
514539
</componentInstanceProperties>
515540
<componentInstanceProperties>
516-
<name>relatedListComponentOverride</name>
517-
<value>NONE</value>
541+
<name>relatedListDisplayType</name>
542+
<value>ADVGRID</value>
518543
</componentInstanceProperties>
519544
<componentInstanceProperties>
520-
<name>rowsToDisplay</name>
521-
<value>10</value>
545+
<name>relatedListFieldAliases</name>
546+
<valueList>
547+
<valueListItems>
548+
<value>Name</value>
549+
</valueListItems>
550+
<valueListItems>
551+
<value>VisitType</value>
552+
</valueListItems>
553+
<valueListItems>
554+
<value>Status</value>
555+
</valueListItems>
556+
</valueList>
557+
</componentInstanceProperties>
558+
<componentInstanceProperties>
559+
<name>relatedListLabel</name>
560+
<value>Inspections</value>
522561
</componentInstanceProperties>
523562
<componentInstanceProperties>
524563
<name>showActionBar</name>
525564
<value>true</value>
526565
</componentInstanceProperties>
527-
<componentName>force:relatedListSingleContainer</componentName>
528-
<identifier>force_relatedListSingleContainer3</identifier>
566+
<componentInstanceProperties>
567+
<name>sortFieldAlias</name>
568+
<value>__DEFAULT__</value>
569+
</componentInstanceProperties>
570+
<componentInstanceProperties>
571+
<name>sortFieldOrder</name>
572+
<value>Default</value>
573+
</componentInstanceProperties>
574+
<componentName>lst:dynamicRelatedList</componentName>
575+
<identifier>lst_dynamicRelatedList</identifier>
529576
</componentInstance>
530577
</itemInstances>
531578
<name>Facet-3f2fef59-8a6a-4463-8135-bf374fb1fb22</name>

bcgov-source/app-phocs/main/default/flexipages/EHISWaterSourceIntakeRecordPage.flexipage-meta.xml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1057,6 +1057,72 @@
10571057
<identifier>lst_dynamicRelatedList3</identifier>
10581058
</componentInstance>
10591059
</itemInstances>
1060+
<itemInstances>
1061+
<componentInstance>
1062+
<componentInstanceProperties>
1063+
<name>actionNames</name>
1064+
<valueList>
1065+
<valueListItems>
1066+
<value>New</value>
1067+
</valueListItems>
1068+
</valueList>
1069+
</componentInstanceProperties>
1070+
<componentInstanceProperties>
1071+
<name>maxRecordsToDisplay</name>
1072+
<value>10</value>
1073+
</componentInstanceProperties>
1074+
<componentInstanceProperties>
1075+
<name>parentFieldApiName</name>
1076+
<value>Account.Id</value>
1077+
</componentInstanceProperties>
1078+
<componentInstanceProperties>
1079+
<name>relatedListApiName</name>
1080+
<value>BusinessLicenseApplicationAccount</value>
1081+
</componentInstanceProperties>
1082+
<componentInstanceProperties>
1083+
<name>relatedListDisplayType</name>
1084+
<value>ADVGRID</value>
1085+
</componentInstanceProperties>
1086+
<componentInstanceProperties>
1087+
<name>relatedListFieldAliases</name>
1088+
<valueList>
1089+
<valueListItems>
1090+
<value>Name</value>
1091+
</valueListItems>
1092+
<valueListItems>
1093+
<value>Description</value>
1094+
</valueListItems>
1095+
<valueListItems>
1096+
<value>LicenseType</value>
1097+
</valueListItems>
1098+
<valueListItems>
1099+
<value>AppliedDate</value>
1100+
</valueListItems>
1101+
<valueListItems>
1102+
<value>Status</value>
1103+
</valueListItems>
1104+
</valueList>
1105+
</componentInstanceProperties>
1106+
<componentInstanceProperties>
1107+
<name>relatedListLabel</name>
1108+
<value>Water Source Evaluation - Business License Application</value>
1109+
</componentInstanceProperties>
1110+
<componentInstanceProperties>
1111+
<name>showActionBar</name>
1112+
<value>true</value>
1113+
</componentInstanceProperties>
1114+
<componentInstanceProperties>
1115+
<name>sortFieldAlias</name>
1116+
<value>__DEFAULT__</value>
1117+
</componentInstanceProperties>
1118+
<componentInstanceProperties>
1119+
<name>sortFieldOrder</name>
1120+
<value>Default</value>
1121+
</componentInstanceProperties>
1122+
<componentName>lst:dynamicRelatedList</componentName>
1123+
<identifier>lst_dynamicRelatedList4</identifier>
1124+
</componentInstance>
1125+
</itemInstances>
10601126
<itemInstances>
10611127
<componentInstance>
10621128
<componentInstanceProperties>

bcgov-source/app-phocs/main/default/layouts/BusinessLicenseApplication-PHOCSBusinessLicenseApplicationLayout.layout-meta.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@
137137
</platformActionList>
138138
<relatedLists>
139139
<fields>Name</fields>
140+
<fields>IsRequired</fields>
140141
<fields>Status</fields>
141142
<fields>CreatedDate</fields>
142143
<fields>LastModifiedDate</fields>

bcgov-source/app-phocs/main/default/permissionsetgroups/EHIS_Water_Business_Admin_PSG.permissionsetgroup-meta.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<PermissionSetGroup xmlns="http://soap.sforce.com/2006/04/metadata">
33
<hasActivationRequired>false</hasActivationRequired>
4-
<label>EHIS Water Business Admin PSG</label>
4+
<label>EHIS Business Admin PSG</label>
55
<permissionSets>EHISCREAssessmentTask</permissionSets>
66
<permissionSets>EHISCREInspection</permissionSets>
77
<permissionSets>EHISCreateEditDeleteDocumentChecklistItem</permissionSets>

bcgov-source/app-phocs/main/default/permissionsetgroups/EHIS_Water_Officer_PSG.permissionsetgroup-meta.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<PermissionSetGroup xmlns="http://soap.sforce.com/2006/04/metadata">
33
<hasActivationRequired>false</hasActivationRequired>
4-
<label>EHIS Water Officer PSG</label>
4+
<label>EHIS Officer PSG</label>
55
<permissionSets>EHISCREAssessmentTask</permissionSets>
66
<permissionSets>EHISCREInspection</permissionSets>
77
<permissionSets>EHISCreateEditDeleteDocumentChecklistItem</permissionSets>

bcgov-source/app-phocs/main/default/permissionsets/EHISPHOCSCREBusinessLicenseApplication.permissionset-meta.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,11 @@
165165
<field>BusinessLicenseApplication.FoodsNeedAssembly__c</field>
166166
<readable>true</readable>
167167
</fieldPermissions>
168+
<fieldPermissions>
169+
<editable>true</editable>
170+
<field>BusinessLicenseApplication.GARPScreeningOutcome__c</field>
171+
<readable>true</readable>
172+
</fieldPermissions>
168173
<fieldPermissions>
169174
<editable>true</editable>
170175
<field>BusinessLicenseApplication.HaulPotableWaterOnly__c</field>

bcgov-source/app-phocs/main/default/profiles/EHIS Standard User.profile-meta.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2761,6 +2761,18 @@
27612761
<layout>BusinessLicenseApplication-Renewal Application Layout</layout>
27622762
<recordType>BusinessLicenseApplication.Renewal</recordType>
27632763
</layoutAssignments>
2764+
<layoutAssignments>
2765+
<layout>BusinessLicenseApplication-PHOCSBusinessLicenseApplicationLayout</layout>
2766+
<recordType>BusinessLicenseApplication.Evaluation</recordType>
2767+
</layoutAssignments>
2768+
<layoutAssignments>
2769+
<layout>BusinessLicenseApplication-PHOCSBusinessLicenseApplicationLayout</layout>
2770+
<recordType>BusinessLicenseApplication.ConstructionPermitApplication</recordType>
2771+
</layoutAssignments>
2772+
<layoutAssignments>
2773+
<layout>BusinessLicenseApplication-PHOCSBusinessLicenseApplicationLayout</layout>
2774+
<recordType>BusinessLicenseApplication.OperatingPermitApplication</recordType>
2775+
</layoutAssignments>
27642776
<layoutAssignments>
27652777
<layout>Case-Public Complaint Page Layout</layout>
27662778
<recordType>Case.PublicComplaintCase</recordType>

0 commit comments

Comments
 (0)