Bug #5250
openCare Plan (Nutrition Plan): In the Nutrition Plan Calories card, the letter 's' is missing, and the text 'Cals' should be changed to 'Cal'.
0%
Description
Steps:-
1.Login with Vitagist
2.Click on Health Module
3.Click on Care plan
4.Add the New Nutrition plan
5.View the added Nutrition plan
6.There Calories card text 's is missing
7.The 'cals' text 's' letter should remove as per design.
Please refer the Attachment.
Files
Updated by kumar r 15 days ago
- Status changed from New to Feedback
- Assignee changed from kumar r to Anantha kumar
In api response return the units for all nutrition, if we need to change this must assign this to back-end. In old vitagist as you mention is stand as 'cal'. {"error":false,"data":{"careplandiet":[{"id":18950,"carePlan":3291,"title":"Calorie","category":14,"tag":1,"qty":"2400.00","unit":" cals ","sequence":1,"addon":[]},{"id":18949,"carePlan":3291,"title":"Carbs","category":14,"tag":1,"qty":"330.00","unit":"gm","sequence":0,"addon":[]},{"id":18952,"carePlan":3291,"title":"Fat","category":14,"tag":1,"qty":"90.00","unit":"gm","sequence":3,"addon":[]},{"id":18951,"carePlan":3291,"title":"Protein","category":14,"tag":1,"qty":"84.00","unit":"gm","sequence":2,"addon":[]},{"id":18954,"carePlan":3291,"title":"Sodium","category":14,"tag":1,"qty":"2300.00","unit":"mg","sequence":5,"addon":[]},{"id":18953,"carePlan":3291,"title":"Sugars","category":14,"tag":1,"qty":"36.00","unit":"gm","sequence":4,"addon":[]}]}}