mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Various improvements for https://github.com/firefly-iii/firefly-iii/issues/8281
This commit is contained in:
		| @@ -192,6 +192,7 @@ class BillTransformer extends AbstractTransformer | ||||
|         $date = null === $startParam ? today() : clone $startParam; | ||||
| 
 | ||||
|         $nextExpectedMatchDiff = $this->getNextExpectedMatchDiff($nextExpectedMatch, $payDates); | ||||
|         $this->converter->summarize(); | ||||
| 
 | ||||
|         return [ | ||||
|             'id'                             => $bill->id, | ||||
|   | ||||
| @@ -193,6 +193,7 @@ class PiggyBankTransformer extends AbstractTransformer | ||||
|             $savePerMonth       = $this->getSuggestedMonthlyAmount($currentAmount, $targetAmount, $piggyBank->startdate, $piggyBank->targetdate); | ||||
|             $nativeSavePerMonth = $this->converter->convert($this->default, $currency, today(), $savePerMonth); | ||||
|         } | ||||
|         $this->converter->summarize(); | ||||
| 
 | ||||
|         return [ | ||||
|             'id'                             => (string)$piggyBank->id, | ||||
|   | ||||
| @@ -161,6 +161,7 @@ class TransactionGroupTransformer extends AbstractTransformer | ||||
|             $foreignAmount       = app('steam')->positive($transaction['foreign_amount']); | ||||
|             $nativeForeignAmount = $this->converter->convert($this->default, $this->currencies[$foreignCurrencyId], $transaction['date'], $foreignAmount); | ||||
|         } | ||||
|         $this->converter->summarize(); | ||||
| 
 | ||||
|         return [ | ||||
|             'user'                            => (string)$transaction['user_id'], | ||||
|   | ||||
		Reference in New Issue
	
	Block a user