dividend earnings not shared between portfolios

This commit is contained in:
hackerESQ
2025-08-22 16:37:33 -05:00
parent ac310735df
commit 65710e2791
4 changed files with 31 additions and 4 deletions
+1 -1
View File
@@ -220,7 +220,7 @@ class Portfolio extends Model
}
cache()->forget('graph-YTD-'.$this->id);
cache()->forget('graph-YTD-'.request()->user()->id);
cache()->forget('graph-YTD-'.request()->user()?->id);
}
protected function getMostRecentCloseData($history, $date, $i = 0, $max_attempts = 5)