mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Update various tests and the composer lock file.
This commit is contained in:
@@ -82,10 +82,15 @@ class JournalRepository implements JournalRepositoryInterface
|
||||
$destinationTransaction->save();
|
||||
$journal->transaction_type_id = $type->id;
|
||||
$journal->save();
|
||||
Preferences::mark();
|
||||
$messages = new MessageBag;
|
||||
|
||||
return $messages;
|
||||
// if journal is a transfer now, remove budget:
|
||||
if ($type->type === TransactionType::TRANSFER) {
|
||||
$journal->budgets()->detach();
|
||||
}
|
||||
|
||||
Preferences::mark();
|
||||
|
||||
return new MessageBag;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user