snipe-it/app/Models
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
..
Accessory.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
Actionlog.php Make additional fields fillable 2016-08-12 16:02:18 -07:00
Asset.php Fix 2347 (#2394) 2016-08-16 13:02:42 -07:00
AssetMaintenance.php Use trans instead of lang:: 2016-07-10 21:07:59 -07:00
AssetModel.php Smaller miminums for model and category name 2016-06-22 12:50:21 -07:00
Category.php Updated undeleted validation 2016-07-26 01:49:21 -07:00
Company.php Allow super admins to override company 2016-07-28 12:40:19 -07:00
CompanyableChildScope.php Updated docblocks 2016-04-07 13:21:09 -07:00
CompanyableChildTrait.php
CompanyableScope.php Updated docblocks 2016-04-07 13:21:09 -07:00
CompanyableTrait.php
Component.php Updates to components 2016-06-22 14:55:17 -07:00
Consumable.php Add model_no, item_no, and manufacturer to consumables 2016-05-16 17:11:31 -07:00
ConsumableAssignment.php
CustomField.php
CustomFieldset.php
Depreciable.php
Depreciation.php Fixes #1909 - allow 0 month depreciation 2016-04-19 07:39:54 -07:00
Group.php Formatting fixes for coding standards 2016-06-22 12:27:41 -07:00
ICompanyableChild.php
Ldap.php Allow admin to turn LDAP password sync off. 2016-08-04 14:29:28 -07:00
License.php
LicenseSeat.php
Location.php Updated undeleted validation 2016-07-26 01:49:21 -07:00
Manufacturer.php
Setting.php Fixed indenting 2016-07-13 05:47:32 -07:00
Statuslabel.php Updated undeleted validation 2016-07-26 01:49:21 -07:00
Supplier.php Added table name for trait 2016-07-26 02:04:31 -07:00
Throttle.php
User.php Generate email method 2016-08-12 16:02:39 -07:00