snipe-it/app/Models
Daniel Meltzer 61543f3a04 Add presenters for models. (#3098)
* Add presenters for models.  Move bootstrap table JSON generation to these presenters, which cleans up controllers a lot.  Move view specific modifications from the models to the presenters as well.

* Fix some issues found by travis and codacy

* Fix a few more issues found while testing.

* Attempt another acceptance test fix

* Try something else

* Maybe..
2016-12-23 17:52:00 -08:00
..
Accessory.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Actionlog.php User resource routes 2016-12-15 20:52:39 -08:00
Asset.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
AssetMaintenance.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
AssetModel.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Category.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
CheckoutRequest.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Company.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
CompanyableChildScope.php Updated docblocks 2016-04-07 13:21:09 -07:00
CompanyableChildTrait.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CompanyableScope.php Updated docblocks 2016-04-07 13:21:09 -07:00
CompanyableTrait.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Component.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Consumable.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
ConsumableAssignment.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CustomField.php Attempt to fix #2961. Also inadvertently added the ability to rename (#2974) 2016-11-24 12:48:03 -08:00
CustomFieldset.php Don’t make required encrypted custom fields required if user is not an admin 2016-08-25 21:03:52 -07:00
Depreciable.php Partialize forms (#2884) 2016-11-16 16:56:57 -08:00
Depreciation.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Group.php Partialize forms (#2884) 2016-11-16 16:56:57 -08:00
ICompanyableChild.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
Ldap.php Supress error if pagination isn’t set up on the server 2016-12-07 17:07:48 -08:00
License.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
LicenseSeat.php Actionlog Class: Improvements and polymorphism (#2561) 2016-09-06 19:39:42 -07:00
Location.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Loggable.php Fix loggable checkin (#2935) 2016-11-17 15:54:29 -08:00
Manufacturer.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00
Requestable.php Checkout Improvements, and initial support for requesting an asset model (#2573) 2016-09-15 19:58:27 -07:00
Setting.php Discussion: Moving to policies for controller based authorization (#3080) 2016-12-19 11:04:28 -08:00
SnipeModel.php Partialize forms (#2884) 2016-11-16 16:56:57 -08:00
Statuslabel.php Partialize forms (#2884) 2016-11-16 16:56:57 -08:00
Supplier.php Cleanup controller escaping (#3084) 2016-12-19 22:00:50 -08:00
Throttle.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
User.php Add presenters for models. (#3098) 2016-12-23 17:52:00 -08:00