mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
a852c624d3
* Prevent multiple checkouts of the same asset. This adds a new method to the Asset model, availableForCheckout. Port getDataTable to use availableForCheckout instead of doing the check manually. Fixes Issue #2347 * Use availableForCheckout in categories controller. Also gate the checkin/checkout actions here. * Use gate and availableForCheckout in manufactuers as well. |
||
---|---|---|
.. | ||
Controllers | ||
Middleware | ||
Requests | ||
Traits | ||
Kernel.php | ||
routes.php |