Skip to content

Commit 96b39f7

Browse files
authored
Merge pull request #1082 from opencrvs/ocrvs-10654
Update certification data blocks
2 parents 96c5462 + 63b3a89 commit 96b39f7

File tree

7 files changed

+21
-8
lines changed

7 files changed

+21
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"@hapi/boom": "^9.1.1",
6969
"@hapi/hapi": "^20.0.1",
7070
"@hapi/inert": "^6.0.3",
71-
"@opencrvs/toolkit": "1.8.1-rc.4958667",
71+
"@opencrvs/toolkit": "1.8.1-rc.591e5a8",
7272
"@types/chalk": "^2.2.0",
7373
"@types/csv2json": "^1.4.0",
7474
"@types/fhir": "^0.0.30",

src/form/tennis-club-membership.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ const TENNIS_CLUB_MEMBERSHIP_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
626626
configuration: {
627627
data: [
628628
{
629+
id: 'service',
629630
label: {
630631
defaultMessage: 'Service',
631632
description: 'Title for the data entry',
@@ -634,6 +635,7 @@ const TENNIS_CLUB_MEMBERSHIP_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
634635
value: 'Member registration older than 30 years'
635636
},
636637
{
638+
id: 'fee',
637639
label: {
638640
defaultMessage: 'Fee',
639641
description: 'Title for the data entry',

src/form/v2/birth/forms/printForm/collector-identity-verify.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export const printCertificateCollectorIdentityVerify: FieldConfig[] = [
3737
}
3838
],
3939
label: {
40-
defaultMessage: '',
40+
defaultMessage: 'Identity details',
4141
description: 'Title for the data section',
4242
id: 'event.birth.action.certificate.form.section.verifyIdentity.data.label'
4343
},
@@ -70,7 +70,7 @@ export const printCertificateCollectorIdentityVerify: FieldConfig[] = [
7070
}
7171
],
7272
label: {
73-
defaultMessage: '',
73+
defaultMessage: 'Identity details',
7474
description: 'Title for the data section',
7575
id: 'event.birth.action.certificate.form.section.verifyIdentity.data.label'
7676
},
@@ -101,7 +101,7 @@ export const printCertificateCollectorIdentityVerify: FieldConfig[] = [
101101
}
102102
],
103103
label: {
104-
defaultMessage: '',
104+
defaultMessage: 'Identity details',
105105
description: 'Title for the data section',
106106
id: 'event.birth.action.certificate.form.section.verifyIdentity.data.label'
107107
},

src/form/v2/birth/forms/printForm/index.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ export const BIRTH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
119119
configuration: {
120120
data: [
121121
{
122+
id: 'service',
122123
label: {
123124
defaultMessage: 'Service',
124125
description: 'Title for the data entry',
@@ -133,6 +134,7 @@ export const BIRTH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
133134
}
134135
},
135136
{
137+
id: 'fee',
136138
label: {
137139
defaultMessage: 'Fee',
138140
description: 'Title for the data entry',
@@ -174,6 +176,7 @@ export const BIRTH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
174176
configuration: {
175177
data: [
176178
{
179+
id: 'service',
177180
label: {
178181
defaultMessage: 'Service',
179182
description: 'Title for the data entry',
@@ -188,6 +191,7 @@ export const BIRTH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
188191
}
189192
},
190193
{
194+
id: 'fee',
191195
label: {
192196
defaultMessage: 'Fee',
193197
description: 'Title for the data entry',
@@ -221,6 +225,7 @@ export const BIRTH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
221225
configuration: {
222226
data: [
223227
{
228+
id: 'service',
224229
label: {
225230
defaultMessage: 'Service',
226231
description: 'Title for the data entry',
@@ -235,6 +240,7 @@ export const BIRTH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
235240
}
236241
},
237242
{
243+
id: 'fee',
238244
label: {
239245
defaultMessage: 'Fee',
240246
description: 'Title for the data entry',

src/form/v2/death/forms/printForm/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,7 @@ export const DEATH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
123123
configuration: {
124124
data: [
125125
{
126+
id: 'service',
126127
label: {
127128
defaultMessage: 'Service',
128129
description: 'Title for the data entry',
@@ -137,6 +138,7 @@ export const DEATH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
137138
}
138139
},
139140
{
141+
id: 'fee',
140142
label: {
141143
defaultMessage: 'Fee',
142144
description: 'Title for the data entry',
@@ -170,6 +172,7 @@ export const DEATH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
170172
configuration: {
171173
data: [
172174
{
175+
id: 'service',
173176
label: {
174177
defaultMessage: 'Service',
175178
description: 'Title for the data entry',
@@ -184,6 +187,7 @@ export const DEATH_CERTIFICATE_COLLECTOR_FORM = defineActionForm({
184187
}
185188
},
186189
{
190+
id: 'fee',
187191
label: {
188192
defaultMessage: 'Fee',
189193
description: 'Title for the data entry',

src/translations/client.csv

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -797,6 +797,7 @@ event.action.notAvailableForEvent,Shown when user tries to perform an action tha
797797
event.action.outbox-retry.label,Label for retry button for outbox,Retry,Réessayer
798798
event.action.review-correction.label,Label for review correction button in dropdown menu,Review,Revoir
799799
event.birth.action.archive.label,Label for archive record button in dropdown menu,Archive,Aarchiver
800+
event.birth.action.certificate.form.section.verifyIdentity.data.label,Label for identity verification data block,"Identity details","Détails de l'identité"
800801
event.birth.action.certificate.form.section.collectPayment.data.label,Title for the data section,Payment details,Détails du paiement
801802
event.birth.action.certificate.form.section.collectPayment.fee.label,Title for the data entry,Fee,Frais
802803
event.birth.action.certificate.form.section.collectPayment.service.label,Title for the data entry,Service,Service

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -834,10 +834,10 @@
834834
dependencies:
835835
"@octokit/openapi-types" "^18.0.0"
836836

837-
"@opencrvs/[email protected].4958667":
838-
version "1.8.1-rc.4958667"
839-
resolved "https://registry.yarnpkg.com/@opencrvs/toolkit/-/toolkit-1.8.1-rc.4958667.tgz#a97384f813b2f05c6def224380a507f2336b84a7"
840-
integrity sha512-OZpSEquSi1p5P06iCVHik+uZQbZqcAXMz3s8qVGSMAN1/NAL9B7d3irTeqi7jf1GBMxhXYZzqYP73mfnksVlnQ==
837+
"@opencrvs/[email protected].591e5a8":
838+
version "1.8.1-rc.591e5a8"
839+
resolved "https://registry.yarnpkg.com/@opencrvs/toolkit/-/toolkit-1.8.1-rc.591e5a8.tgz#3c4c1507d047107c18bf215fedf07ed47dfeceeb"
840+
integrity sha512-4QfnfKghyskYmhvkeBkBb6pYkD6bK223RZEmp2PS8qBBP7bV6hcCcgimeY61FLTmHurf5bRZr8rwbk9AQ5je5Q==
841841
dependencies:
842842
"@trpc/client" "11.4.3"
843843
"@trpc/server" "11.4.3"

0 commit comments

Comments
 (0)