mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
More moving stuff around.
This commit is contained in:
@@ -56,7 +56,7 @@ class SetBudget implements ActionInterface
|
||||
if (!is_null($budget)) {
|
||||
$journal->budgets()->sync([$budget->id]);
|
||||
}
|
||||
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@@ -59,7 +59,7 @@ final class FromAccountContains extends AbstractTrigger implements TriggerInterf
|
||||
foreach (TransactionJournal::sourceAccountList($journal) as $account) {
|
||||
$fromAccountName .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
$search = strtolower($this->triggerValue);
|
||||
$strpos = strpos($fromAccountName, $search);
|
||||
|
||||
|
@@ -59,7 +59,7 @@ final class FromAccountIs extends AbstractTrigger implements TriggerInterface
|
||||
foreach (TransactionJournal::sourceAccountList($journal) as $account) {
|
||||
$name .= strtolower($account->name);
|
||||
}
|
||||
|
||||
|
||||
$search = strtolower($this->triggerValue);
|
||||
|
||||
if ($name == $search) {
|
||||
|
@@ -59,8 +59,8 @@ final class ToAccountIs extends AbstractTrigger implements TriggerInterface
|
||||
foreach (TransactionJournal::destinationAccountList($journal) as $account) {
|
||||
$toAccountName .= strtolower($account->name);
|
||||
}
|
||||
|
||||
$search = strtolower($this->triggerValue);
|
||||
|
||||
$search = strtolower($this->triggerValue);
|
||||
|
||||
if ($toAccountName == $search) {
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user