From aa84819df5f178c71c2ffb326c107ebf16eb84fa Mon Sep 17 00:00:00 2001 From: "Christopher C. Wells" Date: Sat, 6 Feb 2021 20:32:54 -0800 Subject: [PATCH] Remove "g" from calories data --- resources/views/journal-entries/index.blade.php | 2 +- resources/views/recipes/index.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/journal-entries/index.blade.php b/resources/views/journal-entries/index.blade.php index 46cb2bb..b766534 100644 --- a/resources/views/journal-entries/index.blade.php +++ b/resources/views/journal-entries/index.blade.php @@ -42,7 +42,7 @@
{{ $entries->count() }} {{ \Illuminate\Support\Pluralizer::plural('entry', $entries->count()) }}
Calories
-
{{ round($entries->sum('calories'), 2) }}g
+
{{ round($entries->sum('calories'), 2) }}
Fat
{{ round($entries->sum('fat'), 2) }}g
Cholesterol
diff --git a/resources/views/recipes/index.blade.php b/resources/views/recipes/index.blade.php index 1362c9a..6585d48 100644 --- a/resources/views/recipes/index.blade.php +++ b/resources/views/recipes/index.blade.php @@ -29,7 +29,7 @@
Amount per serving
Calories
-
+