snipe-it/resources/views/hardware
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
..
audit.blade.php More ajax menu fixes 2017-10-28 11:17:52 -07:00
bulk-checkout.blade.php Fixed #4345 - Disallow future date for checkin date, disallow past date for expected checkin 2017-12-01 17:52:56 -08:00
bulk-delete.blade.php Changed assetloc to location 2017-11-02 12:50:34 -07:00
bulk.blade.php Default to only changing default location in bulk edit 2018-02-02 09:42:34 -06:00
checkin.blade.php Add help text that explains location override 2017-10-28 07:28:49 -07:00
checkout.blade.php Notification improvements (#5254) 2018-03-25 13:46:57 -07:00
edit.blade.php Use image upload partial in asset edit/create 2018-02-16 22:08:49 -08:00
history.blade.php Fix #4205 (#4213) 2017-10-14 00:14:22 -07:00
index.blade.php Features/better table options (#5018) 2018-02-16 13:22:55 -08:00
labels.blade.php Fixed #4374 - Add option to display company names to labels (#4405) 2017-11-08 20:05:39 -08:00
qr-view.blade.php Update references to assetloc to location 2017-10-28 02:58:38 -07:00
quickscan.blade.php More ajax menu fixes 2017-10-28 11:17:52 -07:00
requested.blade.php WIP - Improved requested assets (#5289) 2018-04-04 17:33:02 -07:00
view.blade.php Fixed #5279 - [regression] edit button not appearing in asset view 2018-03-29 11:28:37 -07:00