mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Trigger recalculation of credit when editing or storing a group.
This commit is contained in:
@@ -98,12 +98,14 @@ class EventServiceProvider extends ServiceProvider
|
|||||||
// is a Transaction Journal related event.
|
// is a Transaction Journal related event.
|
||||||
StoredTransactionGroup::class => [
|
StoredTransactionGroup::class => [
|
||||||
'FireflyIII\Handlers\Events\StoredGroupEventHandler@processRules',
|
'FireflyIII\Handlers\Events\StoredGroupEventHandler@processRules',
|
||||||
|
'FireflyIII\Handlers\Events\StoredGroupEventHandler@recalculateCredit',
|
||||||
'FireflyIII\Handlers\Events\StoredGroupEventHandler@triggerWebhooks',
|
'FireflyIII\Handlers\Events\StoredGroupEventHandler@triggerWebhooks',
|
||||||
],
|
],
|
||||||
// is a Transaction Journal related event.
|
// is a Transaction Journal related event.
|
||||||
UpdatedTransactionGroup::class => [
|
UpdatedTransactionGroup::class => [
|
||||||
'FireflyIII\Handlers\Events\UpdatedGroupEventHandler@unifyAccounts',
|
'FireflyIII\Handlers\Events\UpdatedGroupEventHandler@unifyAccounts',
|
||||||
'FireflyIII\Handlers\Events\UpdatedGroupEventHandler@processRules',
|
'FireflyIII\Handlers\Events\UpdatedGroupEventHandler@processRules',
|
||||||
|
'FireflyIII\Handlers\Events\UpdatedGroupEventHandler@recalculateCredit',
|
||||||
'FireflyIII\Handlers\Events\UpdatedGroupEventHandler@triggerWebhooks',
|
'FireflyIII\Handlers\Events\UpdatedGroupEventHandler@triggerWebhooks',
|
||||||
],
|
],
|
||||||
DestroyedTransactionGroup::class => [
|
DestroyedTransactionGroup::class => [
|
||||||
|
|||||||
Reference in New Issue
Block a user