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

(Fix) renamed labels in claims form #548

Merged
merged 1 commit into from
Jan 15, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,6 @@ const ClaimsForm: React.FC<ClaimsFormProps> = ({ bill, selectedLineItems }) => {
</Layer>
);
}

return (
<FormProvider {...form}>
<Form className={styles.form} onSubmit={handleSubmit(onSubmit)}>
Expand Down Expand Up @@ -333,7 +332,7 @@ const ClaimsForm: React.FC<ClaimsFormProps> = ({ bill, selectedLineItems }) => {
invalid={form.formState.errors[field.name]?.message}
invalidText={form.formState.errors[field.name]?.message}
id="diagnoses"
titleText={t('diagnosis', 'Diagnosis')}
titleText={t('finalDiagnosis', 'Final Diagnosis')}
selectedItems={field.value}
label="Choose option"
items={diagnoses.map((r) => r.id)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@ const MainMetrics: React.FC<MainMetricsProps> = ({ selectedLineItems, bill }) =>
headerLabel={t('claimsItems', 'Claims Items')}
/>
<MetricsCard
label={t('date', 'Date of Claimed')}
label={t('date', 'Date of Claim')}
value={formatDate(bill.dateCreated)}
headerLabel={t('date', 'Date of Claimed')}
headerLabel={t('date', 'Date of Claim')}
/>
</div>
</>
Expand Down
2 changes: 1 addition & 1 deletion packages/esm-billing-app/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
"createClaimError": "Create Claim error",
"created": "Created",
"creating": "Creating",
"date": "Date of Claimed",
"date": "Date of Claim",
"dateCreated": "Date Created",
"delete": "Delete",
"deleteBill": "Delete Bill",
Expand Down
Loading