mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2025-02-26 20:54:21 +01:00
(bug) unable to build accounting archive
This commit is contained in:
parent
c799e4309d
commit
dd30f79f7c
@ -3,6 +3,7 @@
|
|||||||
- Improved fix_invoice_item task
|
- Improved fix_invoice_item task
|
||||||
- Fix a bug: cryptic error message when failed to create a manager
|
- Fix a bug: cryptic error message when failed to create a manager
|
||||||
- Fix a bug: unable to restore accounting periods closed by a deleted admin
|
- Fix a bug: unable to restore accounting periods closed by a deleted admin
|
||||||
|
- Fix a bug: unable to build an acocunting archive if the operator was deleted
|
||||||
- Fix a bug: unable to udpate an event category
|
- Fix a bug: unable to udpate an event category
|
||||||
|
|
||||||
## v5.6.1 2023 January 6
|
## v5.6.1 2023 January 6
|
||||||
|
@ -28,7 +28,7 @@ class ArchiveWorker
|
|||||||
end
|
end
|
||||||
|
|
||||||
NotificationCenter.call type: :notify_admin_archive_complete,
|
NotificationCenter.call type: :notify_admin_archive_complete,
|
||||||
receiver: User.find(period.closed_by),
|
receiver: User.where(id: period.closed_by)&.first,
|
||||||
attached_object: period
|
attached_object: period
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user