added chart for displaying health metrix

This commit is contained in:
ghassan committed 2026-01-24 12:40:01 +03:00
1 parent a325919cd0
commit 87051e179d
22 files changed
+1383 -63

No files matched your search

+2
View File
@@ -11,6 +11,7 @@ class HealthRecord extends Model
protected $fillable = [
'user_id',
'height',
'recorded_at',
'weight',
'body_fat_percentage',
@@ -26,6 +27,7 @@ class HealthRecord extends Model
protected $casts = [
'recorded_at' => 'date',
'height' => 'decimal:2',
'weight' => 'decimal:2',
'body_fat_percentage' => 'decimal:2',
'bmi' => 'decimal:2',