mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
Fix badly named field.
This commit is contained in:
@@ -131,7 +131,7 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface, UserGroupInte
|
|||||||
/**
|
/**
|
||||||
* Get current amount saved in piggy bank.
|
* Get current amount saved in piggy bank.
|
||||||
*/
|
*/
|
||||||
public function getCurrentPrimaryAmount(PiggyBank $piggyBank, ?Account $account = null): string
|
public function getCurrentPrimaryCurrencyAmount(PiggyBank $piggyBank, ?Account $account = null): string
|
||||||
{
|
{
|
||||||
$sum = '0';
|
$sum = '0';
|
||||||
foreach ($piggyBank->accounts as $current) {
|
foreach ($piggyBank->accounts as $current) {
|
||||||
|
@@ -80,7 +80,7 @@ interface PiggyBankRepositoryInterface
|
|||||||
*/
|
*/
|
||||||
public function getCurrentAmount(PiggyBank $piggyBank, ?Account $account = null): string;
|
public function getCurrentAmount(PiggyBank $piggyBank, ?Account $account = null): string;
|
||||||
|
|
||||||
public function getCurrentPrimaryAmount(PiggyBank $piggyBank, ?Account $account = null): string;
|
public function getCurrentPrimaryCurrencyAmount(PiggyBank $piggyBank, ?Account $account = null): string;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get all events.
|
* Get all events.
|
||||||
|
Reference in New Issue
Block a user