Apply fix for #2070

This commit is contained in:
James Cole 2019-02-16 11:45:08 +01:00
parent 0d0906c5e2
commit 7658b7d9a6
8 changed files with 8 additions and 8 deletions

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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);
}