mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Apply fix for #2070
This commit is contained in:
@@ -78,7 +78,7 @@ final class FromAccountContains extends AbstractTrigger implements TriggerInterf
|
||||
$repository = app(JournalRepositoryInterface::class);
|
||||
|
||||
/** @var Account $account */
|
||||
foreach ($repository->getJournalSourceAccounts($journal) as $account) {
|
||||
foreach ($repository->getJournalSourceAccounts($journal, false) as $account) {
|
||||
$fromAccountName .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ final class FromAccountEnds extends AbstractTrigger implements TriggerInterface
|
||||
$repository = app(JournalRepositoryInterface::class);
|
||||
|
||||
/** @var Account $account */
|
||||
foreach ($repository->getJournalSourceAccounts($journal) as $account) {
|
||||
foreach ($repository->getJournalSourceAccounts($journal, false) as $account) {
|
||||
$name .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ final class FromAccountIs extends AbstractTrigger implements TriggerInterface
|
||||
$repository = app(JournalRepositoryInterface::class);
|
||||
|
||||
/** @var Account $account */
|
||||
foreach ($repository->getJournalSourceAccounts($journal) as $account) {
|
||||
foreach ($repository->getJournalSourceAccounts($journal, false) as $account) {
|
||||
$name .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ final class FromAccountStarts extends AbstractTrigger implements TriggerInterfac
|
||||
$repository = app(JournalRepositoryInterface::class);
|
||||
|
||||
/** @var Account $account */
|
||||
foreach ($repository->getJournalSourceAccounts($journal) as $account) {
|
||||
foreach ($repository->getJournalSourceAccounts($journal, false) as $account) {
|
||||
$name .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ final class ToAccountContains extends AbstractTrigger implements TriggerInterfac
|
||||
$repository = app(JournalRepositoryInterface::class);
|
||||
|
||||
/** @var Account $account */
|
||||
foreach ($repository->getJournalDestinationAccounts($journal) as $account) {
|
||||
foreach ($repository->getJournalDestinationAccounts($journal, false) as $account) {
|
||||
$toAccountName .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ final class ToAccountEnds extends AbstractTrigger implements TriggerInterface
|
||||
$repository = app(JournalRepositoryInterface::class);
|
||||
|
||||
/** @var Account $account */
|
||||
foreach ($repository->getJournalDestinationAccounts($journal) as $account) {
|
||||
foreach ($repository->getJournalDestinationAccounts($journal, false) as $account) {
|
||||
$toAccountName .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ final class ToAccountIs extends AbstractTrigger implements TriggerInterface
|
||||
$repository = app(JournalRepositoryInterface::class);
|
||||
|
||||
/** @var Account $account */
|
||||
foreach ($repository->getJournalDestinationAccounts($journal) as $account) {
|
||||
foreach ($repository->getJournalDestinationAccounts($journal, false) as $account) {
|
||||
$toAccountName .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ final class ToAccountStarts extends AbstractTrigger implements TriggerInterface
|
||||
$repository = app(JournalRepositoryInterface::class);
|
||||
|
||||
/** @var Account $account */
|
||||
foreach ($repository->getJournalDestinationAccounts($journal) as $account) {
|
||||
foreach ($repository->getJournalDestinationAccounts($journal, false) as $account) {
|
||||
$toAccountName .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user