Skip to content

Commit

Permalink
Merge branch 'develop' into ocrvs-7367
Browse files Browse the repository at this point in the history
  • Loading branch information
rikukissa authored Aug 26, 2024
2 parents 3ba1120 + b4da751 commit 85b570a
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 12 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,9 @@ INSERT CSV ROWS IN ENGLISH ONLY

## Bug fixes


- Github pipeline dedicated for reading secrets and variables from other environments now checks if GH_TOKEN is still valid before attempting other operations
- Remove unnecessary UI dividers that add in various sections of the declaration forms(e.g the Death, Birth and Marriage forms) [#244](https://github.com/opencrvs/opencrvs-countryconfig/pull/244)

## 1.5.0 (https://github.com/opencrvs/opencrvs-countryconfig/compare/v1.4.1...v1.5.0)

Expand Down
11 changes: 7 additions & 4 deletions src/form/addresses/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ export const defaultAddressConfiguration: IAddressConfiguration[] = [
},
{
// MOTHER ADDRESS FIELDS
precedingFieldId: 'birth.mother.mother-view-group.mother-nid-seperator',
precedingFieldId:
'birth.mother.mother-view-group.motherBirthRegistrationNumber',
configurations: [
{
config: AddressSubsections.PRIMARY_ADDRESS_SUBSECTION,
Expand All @@ -117,7 +118,8 @@ export const defaultAddressConfiguration: IAddressConfiguration[] = [
},
{
// FATHER ADDRESS FIELDS
precedingFieldId: 'birth.father.father-view-group.father-nid-seperator',
precedingFieldId:
'birth.father.father-view-group.fatherBirthRegistrationNumber',
configurations: [
{
config: AddressSubsections.PRIMARY_ADDRESS_SUBSECTION,
Expand Down Expand Up @@ -266,7 +268,8 @@ export const defaultAddressConfiguration: IAddressConfiguration[] = [
},*/
{
// SPOUSE ADDRESS FIELDS
precedingFieldId: 'death.spouse.spouse-view-group.spouse-nid-seperator',
precedingFieldId:
'death.spouse.spouse-view-group.spouseBirthRegistrationNumber',
configurations: [
{
config: AddressSubsections.PRIMARY_ADDRESS_SUBSECTION,
Expand Down Expand Up @@ -301,7 +304,7 @@ export const defaultAddressConfiguration: IAddressConfiguration[] = [
{
// PLACE OF MARRIAGE ADDRESS FIELDS
precedingFieldId:
'marriage.marriageEvent.marriage-event-details.place-of-marriage-seperator',
'marriage.marriageEvent.marriage-event-details.placeOfMarriageTitle',
configurations: [{ config: EventLocationAddressCases.PLACE_OF_MARRIAGE }]
},
{
Expand Down
4 changes: 0 additions & 4 deletions src/form/birth/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,6 @@ export const birthForm: ISerializedForm = {
hideIfNidIntegrationEnabled.concat(detailsExist),
true
),
// preceding field of address fields
divider('mother-nid-seperator', detailsExist),
// ADDRESS FIELDS WILL RENDER HERE
divider('mother-address-seperator', detailsExist),
getMaritalStatus(certificateHandlebars.motherMaritalStatus, [
Expand Down Expand Up @@ -442,8 +440,6 @@ export const birthForm: ISerializedForm = {
hideIfNidIntegrationEnabled.concat(detailsExist),
true
),
// preceding field of address fields
divider('father-nid-seperator', detailsExist),
// ADDRESS FIELDS WILL RENDER HERE
divider('father-address-seperator', detailsExist),
getMaritalStatus(certificateHandlebars.fatherMaritalStatus, [
Expand Down
2 changes: 0 additions & 2 deletions src/form/death/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,6 @@ export const deathForm = {
),
getIDType('death', 'spouse', detailsExist, true),
...getIDNumberFields('spouse', detailsExist, true),
// preceding field of address fields
divider('spouse-nid-seperator', detailsExist),
// ADDRESS FIELDS WILL RENDER HERE
divider('spouse-address-separator')
],
Expand Down
3 changes: 1 addition & 2 deletions src/form/marriage/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,7 @@ export const marriageForm: ISerializedForm = {
fields: [
getMarriageDate, // Required field
getTypeOfMarriage,
placeOfMarriageSubsection,
divider('place-of-marriage-seperator')
placeOfMarriageSubsection
// PLACE OF MARRIAGE FIELDS WILL RENDER HERE
]
}
Expand Down

0 comments on commit 85b570a

Please sign in to comment.