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

As a user I want to select a template to issue a certified copy with #7813

Merged
merged 67 commits into from
Dec 26, 2024
Merged
Show file tree
Hide file tree
Changes from 66 commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
0084224
update config package to get certificates config from country config
tareq89 Oct 7, 2024
306e56e
getting certificates config data from config package in client instea…
tareq89 Oct 4, 2024
6f2ecdf
changing actions and reducers to accomodate new certificate config ch…
tareq89 Nov 1, 2024
be4d5c6
certificate template selection is required for collectors to proceed …
tareq89 Oct 4, 2024
bcacdc0
certificate collection removed via migration script
tareq89 Oct 4, 2024
6ba8f28
select certificate template label added
tareq89 Oct 4, 2024
08137c7
fixed different routes to accomodate certTemplateId
tareq89 Oct 7, 2024
46773ad
fixing test
tareq89 Oct 7, 2024
0212485
added missing variable
tareq89 Oct 7, 2024
f8d2c5e
payment and verify-collector test fixed
tareq89 Oct 7, 2024
c09eda9
VerifyCollector, ReviewCertificate and Payment test cases adjusted fo…
tareq89 Oct 8, 2024
98eb597
CollectorForm test fixed for certified copies
tareq89 Oct 9, 2024
c68e287
refactor test code and lint issues
tareq89 Oct 9, 2024
2f87522
certTemplateId added in bundle in workflow
tareq89 Oct 22, 2024
6b1f855
certTemplateId adjusted in gateway
tareq89 Oct 22, 2024
a1c7b25
registration-mappings and gql queries updated to facilitate certTempl…
tareq89 Oct 22, 2024
b1e2928
certTemplateId related definitions
tareq89 Oct 22, 2024
974777d
certTemplateId related routing updated
tareq89 Oct 22, 2024
a7f80c7
certTemplateId related workflow in client
tareq89 Oct 22, 2024
1a3bb1b
certTemplateId related tests updated
tareq89 Oct 22, 2024
48dba91
Adds Action to history table based on template printed
tareq89 Oct 22, 2024
cf3e784
removed targetDates and printInAdvance from certificate config
tareq89 Oct 23, 2024
c117a06
removed FEE global variable references
tareq89 Oct 23, 2024
28a728f
test code related to certTemplateId fixed in gateway and workflow
tareq89 Oct 23, 2024
9a2b61e
changelog updated
tareq89 Oct 23, 2024
6bd15a5
certTemplateId renamed to certificateTemplateId
tareq89 Oct 23, 2024
f467043
fixed test
tareq89 Oct 25, 2024
ab6e079
templateConfig removed
tareq89 Oct 28, 2024
437fbb0
fixed test
tareq89 Oct 28, 2024
f50615c
feat(auth): allow issuing single record specific tokens (#7728)
naftis Oct 25, 2024
0960666
type fixed
tareq89 Oct 29, 2024
64460a5
added isDefault property in certificate config
tareq89 Oct 29, 2024
28615c8
migration script for adding certificateTemplateId extension on missin…
tareq89 Oct 29, 2024
5eaeb3c
chore: test trigger
tahmidrahman-dsi Oct 29, 2024
7678d29
refactor typo
tareq89 Oct 31, 2024
109c758
refactored collector form as per design
tareq89 Oct 31, 2024
7e00c9c
refactored certificateTemplateId migration from code to aggregation
tareq89 Oct 31, 2024
b03d7d6
template config fonts baseUrl is updated with client's window.locatio…
tareq89 Nov 1, 2024
93ae093
removed unused import
tareq89 Nov 5, 2024
6da6fb8
made certificateTemplateId mandatory in ICertificate
tareq89 Nov 5, 2024
6a70507
storing certificates on query mappings only when PRINT_IN_ADVANCE
tareq89 Nov 5, 2024
9838169
jpg|png|jpeg|svg urls in template replaced with base64 data before pr…
tareq89 Nov 14, 2024
48ff7f4
Merge branch 'develop' into ocrvs-7584
rikukissa Nov 14, 2024
ce03d15
stripTypename from certificate in mutation/registration-mappings
tareq89 Nov 14, 2024
4159cc2
saving certificate template in offlineData during startup
tareq89 Nov 14, 2024
9271049
Update regex in src-sw.ts to handle any minio bucket name containing …
tareq89 Nov 18, 2024
697b59a
remove certificate from payload when correction request is made
tareq89 Nov 18, 2024
3294ff3
Merge branch 'develop' into ocrvs-7584
Zangetsu101 Nov 22, 2024
2aed7fb
Merge branch 'develop' into ocrvs-7584
tareq89 Nov 26, 2024
d6844b8
Merge branch 'develop' of github.com:opencrvs/opencrvs-core into ocrv…
tareq89 Nov 28, 2024
580a0de
validation message added for both collector type and template type in…
tareq89 Nov 29, 2024
400c6e7
detailsExist field's conditional check bypassed in draftoToGqlTransfo…
tareq89 Dec 3, 2024
616944d
inline validation added for collector form
tareq89 Dec 4, 2024
e2a0735
Merge branch 'develop' of github.com:opencrvs/opencrvs-core into ocrv…
tareq89 Dec 5, 2024
f3f0fea
condition added in getFormFieldValue > nestedFieldValue
tareq89 Dec 5, 2024
314d05d
Merge branch 'develop' of github.com:opencrvs/opencrvs-core into ocrv…
tareq89 Dec 10, 2024
8d1b76b
using svgurl to load svg
tareq89 Dec 10, 2024
8d10303
certificate preview keeps loading until svg code is downloaded
tareq89 Dec 11, 2024
edac24d
Merge branch 'develop' of github.com:opencrvs/opencrvs-core into ocrv…
tareq89 Dec 12, 2024
5e36fa0
informant type update from any to mother, father, spouse fixed
tareq89 Dec 13, 2024
dfab7ed
Merge branch 'develop' of github.com:opencrvs/opencrvs-core into ocrv…
tareq89 Dec 20, 2024
d7aff70
Merge branch 'develop' of github.com:opencrvs/opencrvs-core into ocrv…
tareq89 Dec 20, 2024
4a121d1
test code failing fixed for certified copies
tareq89 Dec 25, 2024
536b639
Merge branch 'develop' of github.com:opencrvs/opencrvs-core into ocrv…
tareq89 Dec 25, 2024
5b5f9a1
changelog and verifycollector test fixed
tareq89 Dec 26, 2024
275f911
failing tests fixed
tareq89 Dec 26, 2024
7f86255
removed unused code
tareq89 Dec 26, 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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,18 @@
- Reoder the sytem user add/edit field for surname to be first, also change labels from `Last name` to `User's surname` and lastly remove the NID question from the form [#6830](https://github.com/opencrvs/opencrvs-core/issues/6830)
- Corrected the total amount displayed for _certification_ and _correction_ fees on the Performance Page, ensuring accurate fee tracking across certification and correction sequences. [#7793](https://github.com/opencrvs/opencrvs-core/issues/7793)
- Auth now allows registrar's token to be exchanged for a new token that strictly allows confirming or rejecting a specific record. Core now passes this token to country configuration instead of the registrar's token [#7728](https://github.com/opencrvs/opencrvs-core/issues/7728) [#7849](https://github.com/opencrvs/opencrvs-core/issues/7849)
- **Template Selection for Certified Copies**: Added support for multiple certificate templates for each event (birth, death, marriage). Users can now select a template during the certificate issuance process.
- **Template-based Payment Configuration**: Implemented payment differentiation based on the selected certificate template, ensuring the correct amount is charged.
- **Template Action Tracking**: Each template printed is tracked in the history table, showing which specific template was used.
- **Template Selection Dropdown**: Updated print workflow to include a dropdown menu for template selection when issuing a certificate.
- Auth now allows exchanging user's token for a new record-specific token [#7728](https://github.com/opencrvs/opencrvs-core/issues/7728)
tareq89 marked this conversation as resolved.
Show resolved Hide resolved
- A new GraphQL mutation `upsertRegistrationIdentifier` is added to allow updating the patient identifiers of a registration record such as NID [#8034](https://github.com/opencrvs/opencrvs-core/pull/8034)

### Improvements

- Auth token, ip address, remote address redacted from server log
- **Align Patient data model with FHIR**: Previously we were using `string[]` for `Patient.name.family` field instead of `string` as mentioned in the FHIR standard. We've now aligned the field with the standard.
- **Certificate Fetching**: Removed certificates from the database, allowing them to be fetched directly from the country configuration via a simplified API endpoint.

### Deprecated

Expand Down
Loading
Loading