snipe-it/app
Till Deeke 3f334406d1 Fixing #5470: Checkin emails not working (#5838)
* Always send checkin notifications to users

This fixes the routing of the notifications, to only send „checkin“ emails if the „mail on checkin“ flag on the category was set. (and we checkout to a user with a non-empty email)

* Fixes checkout notification routing

Notifications to users should be send if the category of the resource (accessory/asset/consumable/license):

a) requires the user to confirm acceptance
b) should send notifications on checkin/checkout

* adds a check for EULAs

Adds back a check for the EULA, since the user should receive the EULA if it was set (regardless of other setings on the category, etc)
2018-07-16 14:09:04 -07:00
..
Console Check for > 0 expected assets 2018-05-21 15:41:19 -07:00
Events
Exceptions
Helpers Fix for #4901 (#5829) 2018-07-12 16:45:12 -07:00
Http Removes setting the encryption status on update (#5833) 2018-07-13 04:04:30 -07:00
Importer Importer2 checkout (#5771) 2018-07-05 12:22:24 -07:00
Jobs
LegacyEncrypter
Listeners
Models Brings back the „pending“ state when checking out (#5837) 2018-07-16 14:07:24 -07:00
Notifications Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
Observers
Policies Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00
Presenters Update my email address across files. (#5716) 2018-06-20 01:59:59 -07:00
Providers Adds permission checks for custom fields and custom fieldsets (#5645) (#5795) 2018-07-12 18:28:20 -07:00