mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	improved request and balance range date handling
This commit is contained in:
		| @@ -289,8 +289,10 @@ class AccountEnrichment implements EnrichmentInterface | ||||
|     { | ||||
|         $this->balances = Steam::accountsBalancesOptimized($this->collection, $this->getDate(), $this->primaryCurrency, $this->convertToPrimary); | ||||
|         if ($this->start instanceof Carbon && $this->end instanceof Carbon) { | ||||
|             $this->startBalances = Steam::accountsBalancesOptimized($this->collection, $this->start, $this->primaryCurrency, $this->convertToPrimary); | ||||
|             $this->endBalances   = Steam::accountsBalancesOptimized($this->collection, $this->end, $this->primaryCurrency, $this->convertToPrimary); | ||||
|             [ | ||||
|                 $this->startBalances, | ||||
|                 $this->endBalances, | ||||
|             ] = Steam::accountsBalancesInRange($this->start, $this->end, $this->collection, $this->primaryCurrency, $this->convertToPrimary); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user