mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 01:42:32 +00:00
Respond to currency changes.
This commit is contained in:
@@ -117,7 +117,7 @@ class PiggyBank extends Model
|
||||
|
||||
public function accounts(): BelongsToMany
|
||||
{
|
||||
return $this->belongsToMany(Account::class)->withPivot('current_amount');
|
||||
return $this->belongsToMany(Account::class)->withPivot(['current_amount','native_current_amount']);
|
||||
}
|
||||
|
||||
public function piggyBankRepetitions(): HasMany
|
||||
|
||||
Reference in New Issue
Block a user