snipe-it/app/Http
Daniel Meltzer a852c624d3 Fix 2347 (#2394)
* 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.
2016-08-16 13:02:42 -07:00
..
Controllers Fix 2347 (#2394) 2016-08-16 13:02:42 -07:00
Middleware Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
Requests Removed unique from form request 2016-07-28 09:16:30 -07:00
Traits Putting uniqueUndeleted into a trait for use across models 2016-07-26 01:39:30 -07:00
Kernel.php Use custom maintenance middleware 2016-08-11 19:22:26 -07:00
routes.php CSV history routes 2016-08-12 16:02:09 -07:00