feat(MED-48): improvements

This commit is contained in:
2025-07-24 08:52:59 +03:00
parent d7499fbc13
commit 3341dbd306
6 changed files with 1671 additions and 113 deletions

View File

@@ -32,7 +32,9 @@ export async function renderSynlabAnalysisPackageEmail(props: Props) {
});
const previewText = t(`${namespace}:previewText`);
const subject = t(`${namespace}:subject`);
const subject = t(`${namespace}:subject`, {
analysisPackageName: props.analysisPackageName,
});
const heading = t(`${namespace}:heading`, {
analysisPackageName: props.analysisPackageName,

View File

@@ -1,7 +1,7 @@
{
"subject": "Your Synlab order has been placed",
"previewText": "Your Synlab order has been placed",
"heading": "Your Synlab order has been placed",
"subject": "Your Synlab order has been placed - {{analysisPackageName}}",
"previewText": "Your Synlab order has been placed - {{analysisPackageName}}",
"heading": "Your Synlab order has been placed - {{analysisPackageName}}",
"hello": "Hello {{personName}},",
"lines1": "The order for {{analysisPackageName}} analysis package has been sent to the lab. Please go to the lab to collect the sample: SYNLAB - {{partnerLocationName}}",
"lines2": "<i>If you are unable to go to the lab to collect the sample, you can go to any other suitable collection point - <a href=\"https://medreport.ee/et/verevotupunktid\">view locations and opening hours</a>.</i>",

View File

@@ -1,5 +1,5 @@
{
"subject": "Teie SYNLAB tellimus on kinnitatud",
"subject": "Teie SYNLAB tellimus on kinnitatud - {{analysisPackageName}}",
"previewText": "Teie SYNLAB tellimus on kinnitatud - {{analysisPackageName}}",
"heading": "Teie SYNLAB tellimus on kinnitatud - {{analysisPackageName}}",
"hello": "Tere {{personName}},",