From 7dc53c6deead6ad43778c93c9d7fee675c8cc764 Mon Sep 17 00:00:00 2001 From: Vinay Kumar Date: Sat, 10 Jun 2017 18:50:41 +0530 Subject: [PATCH] Fixed gifts count issue (#186) --- app/Http/Controllers/DashboardController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/DashboardController.php b/app/Http/Controllers/DashboardController.php index 47b847251..7a0c5d133 100644 --- a/app/Http/Controllers/DashboardController.php +++ b/app/Http/Controllers/DashboardController.php @@ -50,9 +50,9 @@ class DashboardController extends Controller $number_of_reminders = $number_of_reminders + $contact->number_of_reminders; $number_of_notes = $number_of_notes + $contact->number_of_notes; $number_of_activities = $number_of_activities + $contact->number_of_activities; - $number_of_gifts = $number_of_gifts + $contact->number_of_gift_ideas; + $number_of_gifts = $number_of_gifts + $contact->number_of_gifts_ideas; $number_of_gifts = $number_of_gifts + $contact->number_of_gifts_received; - $number_of_gifts = $number_of_gifts + $contact->number_of_offered; + $number_of_gifts = $number_of_gifts + $contact->number_of_gifts_offered; $number_of_tasks = $number_of_tasks + $contact->number_of_tasks_in_progress; $number_of_tasks = $number_of_tasks + $contact->number_of_tasks_completed; $number_of_kids = $number_of_kids + $contact->number_of_kids;