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 Use notifiables for slack audit notification 2017-08-31 21:30:38 -07:00
CheckinAccessoryNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckinAssetNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckinLicenseNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckoutAccessoryNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckoutAssetNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckoutConsumableNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
CheckoutLicenseNotification.php Fixing #5470: Checkin emails not working (#5838) 2018-07-16 14:09:04 -07:00
ExpectedCheckinAdminNotification.php Added admin alert on expiring notifications 2018-05-08 05:27:03 -07:00
ExpectedCheckinNotification.php Added last name to expected checkin notification 2018-05-21 17:34:27 -07:00
FirstAdminNotification.php New First Admin Notification (#5147) 2018-03-03 14:37:42 -08:00
MailTest.php New Test Notification (#5137) 2018-03-02 18:01:20 -08:00
RequestAssetCancelation.php WIP - Improved requested assets (#5289) 2018-04-04 17:33:02 -07:00
RequestAssetNotification.php WIP - Improved requested assets (#5289) 2018-04-04 17:33:02 -07:00
SlackTest.php Added Slack test button 2018-02-22 16:35:34 -08:00
WelcomeNotification.php New First Admin Notification (#5147) 2018-03-03 14:37:42 -08:00