1
0
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:
Sylvain 2023-01-09 10:20:19 +01:00
parent c799e4309d
commit dd30f79f7c
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -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