mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-28 23:19:42 -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. |
||
---|---|---|
.. | ||
accessories | ||
asset_maintenances | ||
categories | ||
companies | ||
components | ||
consumables | ||
custom_fields | ||
depreciations | ||
groups | ||
hardware | ||
licenses | ||
locations | ||
manufacturers | ||
models | ||
reports | ||
settings | ||
statuslabels | ||
suppliers | ||
users |