mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-28 09:24:24 +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
|
||||
- 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 build an acocunting archive if the operator was deleted
|
||||
- Fix a bug: unable to udpate an event category
|
||||
|
||||
## v5.6.1 2023 January 6
|
||||
|
@ -28,7 +28,7 @@ class ArchiveWorker
|
||||
end
|
||||
|
||||
NotificationCenter.call type: :notify_admin_archive_complete,
|
||||
receiver: User.find(period.closed_by),
|
||||
receiver: User.where(id: period.closed_by)&.first,
|
||||
attached_object: period
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user