feat: add dashboard transfer and assistance summaries

This commit is contained in:
GuavaPopper
2026-06-10 18:13:40 +07:00
parent 91fc2fbd16
commit c4157cec8d
5 changed files with 130 additions and 1 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ class AnggotaKeluarga extends Model
public function getUmurAttribute(): ?int
{
return $this->tanggal_lahir
? now()->diffInYears(Carbon::parse($this->tanggal_lahir))
? (int) Carbon::parse($this->tanggal_lahir)->diffInYears(now())
: null;
}
}