snipe-it/app/Notifications
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
..
AuditNotification.php
CheckinAccessoryNotification.php
CheckinAssetNotification.php
CheckinLicenseNotification.php
CheckoutAccessoryNotification.php
CheckoutAssetNotification.php
CheckoutConsumableNotification.php
CheckoutLicenseNotification.php
ExpectedCheckinAdminNotification.php
ExpectedCheckinNotification.php
FirstAdminNotification.php
MailTest.php
RequestAssetCancelation.php
RequestAssetNotification.php
SlackTest.php
WelcomeNotification.php