snipe-it/app/Notifications
snipe 8a6713d5c0
WIP - Improved requested assets (#5289)
* WIP - beginning of improved requested assets

- Use Ajax tables for faster loading
- Use new notifications for requesting an asset

TODO:
- Use ajax tables for requestable asset models
- Use new notifications for canceling an asset request
- Expire requests once the asset has been checked out to the requesting user

* Only show asset name in email if it has one

* Refactor requested method to only include non-canceled requests

* Refactored requestable assets to log request and cancelation

* Added softdeletes on checkout requests

* Differentiate between canceling and deleting requests

* Added asset request cancelation notification

* Added timestamps and corrected unique key on requests table

* Improved requests view

* Re-use blade for cancel/request email

* Refactored BS table formatter for requested assets

* Location name min reduced to 2

* Added PAT test as maintenance option

This needs to be refactored into database-driven options with a UI

* Better slack message

* Added getImageUrl method for assets

* Include qty in request notifications

TODO:
- Try to pull requested info from original request for cancelation, otherwise it will default to 1

* Removed old asset request/cancel emails

* Added user profile asset request routes

* Added profile controller requested assets method

* Added blade link to requested assets for profile view

* Sort user history desc

* Added requested assets blade

* Added canceled at to checkoutRequest method

* Include qty in request

* Fixed comment, removed allowed_columns

* Removed Queable methods, since we don’t use a queue

* Fixed return type in method doc

* Fixed version number

* Changed id to user_id for clarity
2018-04-04 17:33:02 -07:00
..
AuditNotification.php Use notifiables for slack audit notification 2017-08-31 21:30:38 -07:00
CheckinAccessoryNotification.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
CheckinAssetNotification.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
CheckinLicenseNotification.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
CheckoutAccessoryNotification.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
CheckoutAssetNotification.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
CheckoutConsumableNotification.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
CheckoutLicenseNotification.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
ExpectedCheckinNotification.php Fixes #606 - email notifications for expected checkins 2017-08-31 21:18:05 -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