mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-25 13:10:35 +00:00
🤖 Auto commit for release 'develop' on 2025-10-05
This commit is contained in:
@@ -159,7 +159,7 @@ class PiggyBankEnrichment implements EnrichmentInterface
|
||||
|
||||
// get suggested per month.
|
||||
$meta['save_per_month'] = Steam::bcround($this->getSuggestedMonthlyAmount($this->date, $item->target_date, $meta['target_amount'], $meta['current_amount']), $currency->decimal_places);
|
||||
if(null !== $meta['pc_current_amount']) {
|
||||
if (null !== $meta['pc_current_amount']) {
|
||||
$meta['pc_save_per_month'] = Steam::bcround($this->getSuggestedMonthlyAmount($this->date, $item->target_date, $meta['pc_target_amount'], $meta['pc_current_amount']), $currency->decimal_places);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user