chore: Remove the extra 's' in patient age string (#29180)

This commit is contained in:
Syed Mujeer Hashmi
2022-01-07 09:22:36 +05:30
committed by GitHub
parent 7abe7c752b
commit 60ddf39e37

View File

@@ -143,7 +143,7 @@ class Patient(Document):
age = self.age
if not age:
return
age_str = str(age.years) + ' ' + _("Years(s)") + ' ' + str(age.months) + ' ' + _("Month(s)") + ' ' + str(age.days) + ' ' + _("Day(s)")
age_str = str(age.years) + ' ' + _("Year(s)") + ' ' + str(age.months) + ' ' + _("Month(s)") + ' ' + str(age.days) + ' ' + _("Day(s)")
return age_str
@frappe.whitelist()