diff --git a/src/Components/Patient/PatientHome.tsx b/src/Components/Patient/PatientHome.tsx
index 907e9c7703e..85404086e55 100644
--- a/src/Components/Patient/PatientHome.tsx
+++ b/src/Components/Patient/PatientHome.tsx
@@ -132,7 +132,6 @@ export const PatientHome = (props: any) => {
if (res?.ok && data) {
setPatientData(data);
}
- console.log(data);
triggerGoal("Patient Profile Viewed", {
facilityId: facilityId,
userId: authUser.id,
@@ -715,7 +714,7 @@ export const PatientHome = (props: any) => {
expandIcon={}
title={
- Vaccination Details
+ {t("vaccination_details")}
}
>
diff --git a/src/Components/Patient/PatientRegister.tsx b/src/Components/Patient/PatientRegister.tsx
index f7170243a2c..d2d28f6ea28 100644
--- a/src/Components/Patient/PatientRegister.tsx
+++ b/src/Components/Patient/PatientRegister.tsx
@@ -763,7 +763,6 @@ export const PatientRegister = (props: PatientRegisterProps) => {
is_active: true,
ration_card_category: formData.ration_card_category,
};
- console.log(data);
const { res, data: requestData } = id
? await request(routes.updatePatient, {
pathParams: { id },
@@ -1746,7 +1745,7 @@ export const PatientRegister = (props: PatientRegisterProps) => {
}
title={
- Complete Vaccination Details
+ {t("complete_vaccination_details")}
}
>
diff --git a/src/Components/Patient/PatientVaccinationDetails.tsx b/src/Components/Patient/PatientVaccinationDetails.tsx
index f2b406dba50..356c1506590 100644
--- a/src/Components/Patient/PatientVaccinationDetails.tsx
+++ b/src/Components/Patient/PatientVaccinationDetails.tsx
@@ -1,3 +1,5 @@
+import { VaccineRegistrationModel } from "./models";
+
const PatientVaccinationDetails = (props: any) => {
return (
@@ -17,7 +19,7 @@ const PatientVaccinationDetails = (props: any) => {
- {props.vaccineData?.map((detail: any) => (
+ {props.vaccineData?.map((detail: VaccineRegistrationModel) => (
{detail.vaccine_name.name} |
diff --git a/src/Components/Patient/models.tsx b/src/Components/Patient/models.tsx
index d8b5ec6c58a..c9de4b905a6 100644
--- a/src/Components/Patient/models.tsx
+++ b/src/Components/Patient/models.tsx
@@ -55,7 +55,7 @@ export interface VaccinesData {
}
export interface VaccineRegistrationModel {
- vaccine_name?: string;
+ vaccine_name?: any;
vaccination_center?: string;
last_vaccinated_date?: any;
number_of_doses?: string;
diff --git a/src/Locale/en/Common.json b/src/Locale/en/Common.json
index 019a51232ba..3b6cb163e4d 100644
--- a/src/Locale/en/Common.json
+++ b/src/Locale/en/Common.json
@@ -166,5 +166,7 @@
"treating_doctor": "Treating Doctor",
"ration_card__NO_CARD": "Non-card holder",
"ration_card__BPL": "BPL",
- "ration_card__APL": "APL"
+ "ration_card__APL": "APL",
+ "complete_vaccination_details": "Complete Vaccination Details",
+ "vaccination_details": "Vaccination Details"
}
\ No newline at end of file
|