mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-01 11:31:06 +00:00
This commit is contained in:
@@ -322,7 +322,7 @@ class JournalUpdateService
|
|||||||
$validator->setTransactionType($expectedType);
|
$validator->setTransactionType($expectedType);
|
||||||
$validator->setUser($this->transactionJournal->user);
|
$validator->setUser($this->transactionJournal->user);
|
||||||
$validator->source = $this->getValidSourceAccount();
|
$validator->source = $this->getValidSourceAccount();
|
||||||
$result = $validator->validateDestination(['id' => $destId]);
|
$result = $validator->validateDestination(['id' => $destId, 'name' => $destName]);
|
||||||
Log::debug(sprintf('hasValidDestinationAccount(%d, "%s") will return %s', $destId, $destName, var_export($result, true)));
|
Log::debug(sprintf('hasValidDestinationAccount(%d, "%s") will return %s', $destId, $destName, var_export($result, true)));
|
||||||
|
|
||||||
// TODO typeOverrule: the account validator may have another opinion on the transaction type.
|
// TODO typeOverrule: the account validator may have another opinion on the transaction type.
|
||||||
|
|||||||
Reference in New Issue
Block a user