From fe9cf70282ec54fbd5858e97429d49f364bccf9f Mon Sep 17 00:00:00 2001 From: "DESKTOP-BC3NEC6\\chiefsoft" Date: Thu, 9 Feb 2023 21:39:15 -0500 Subject: [PATCH] Tracking data update --- app/Models/myfitTracking.php | 43 ++++++++++++++++++++++++++++++++---- 1 file changed, 39 insertions(+), 4 deletions(-) diff --git a/app/Models/myfitTracking.php b/app/Models/myfitTracking.php index 0489e27..db96fa0 100644 --- a/app/Models/myfitTracking.php +++ b/app/Models/myfitTracking.php @@ -22,7 +22,7 @@ class myfitTracking extends Model 'id' => $i, 'uid' => '1234-5678-90777-0000' . $i, 'title' => 'Weight', - 'widget' => 't-weight', + 'widget' => 'weight', 'profile_img' => 'weight.jpg', 'thumbnil' => 'weight.png', ]; @@ -33,7 +33,7 @@ class myfitTracking extends Model 'id' => $i, 'uid' => '1234-5678-90777-0000' . $i, 'title' => 'Exercise', - 'widget' => 't-weight', + 'widget' => 'exercise', 'profile_img' => 'weight.jpg', 'thumbnil' => 'exercise.png', ]; @@ -44,14 +44,49 @@ class myfitTracking extends Model 'id' => $i, 'uid' => '1234-5678-90777-0000' . $i, 'title' => 'Activity', - 'widget' => 't-weight', + 'widget' => 'activity', 'profile_img' => 'weight.jpg', 'thumbnil' => 'activity.png', ]; $cat[] = $itArr; + $i=4; + $itArr = [ + 'id' => $i, + 'uid' => '1234-5678-90777-0000' . $i, + 'title' => 'Blood Pressure', + 'widget' => 'bp', + 'profile_img' => 'weight.jpg', + 'thumbnil' => 'blood_pressure.png', + ]; + $cat[] = $itArr; - for ($i = 4; $i < 9; $i++) { + + + + $i=5; + $itArr = [ + 'id' => $i, + 'uid' => '1234-5678-90777-0000' . $i, + 'title' => 'Nutrition', + 'widget' => 'nutrition', + 'profile_img' => 'weight.jpg', + 'thumbnil' => 'nutrition.png', + ]; + $cat[] = $itArr; + + $i=6; + $itArr = [ + 'id' => $i, + 'uid' => '1234-5678-90777-0000' . $i, + 'title' => 'Blood Sugar', + 'widget' => 'bloodsugar', + 'profile_img' => 'weight.jpg', + 'thumbnil' => 'blood_pressure.png', + ]; + $cat[] = $itArr; + + for ($i = 7; $i < 9; $i++) { $itArr = [ 'id' => $i, 'uid' => '1234-5678-90777-0000' . $i,