snipe-it/app/Models
Andrea Bergamasco e03ebc3fd0 AssetTransformer refactoring, restored tests (#3407)
* Refactored AssetsTransformer

Casted all ids to int, escaped all text values,

* Added warranty_expires attribute to Asset model

$asset->warranty_expires contains a Carbon object with the warranty
expiration date. Returns null when either purchase_date or
warranty_months are not set.

* Ignoring php-cs cache files

* Restored asset tests expectations

Work in progress - tests still fail

* API controller refactoring, fixed HTTP status codes in responses

* Restored $request->get - debugging

* Added further checks in ApiAssetsCest::updateAssetWithPatch
2017-03-14 08:37:39 -07:00
..
Accessory.php Add model_number to accessory search 2017-02-22 22:55:20 -08:00
Actionlog.php More improvements (#3116) 2016-12-30 11:44:47 -08:00
Asset.php AssetTransformer refactoring, restored tests (#3407) 2017-03-14 08:37:39 -07:00
AssetMaintenance.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
AssetModel.php Increase max EOL 2017-02-21 15:39:46 -08:00
Category.php Vue importer (#3235) 2017-01-25 21:29:23 -08:00
CheckoutRequest.php Port more assignedUser to assignedTo. 2016-12-29 09:31:16 -05:00
Company.php Small phpcbf cleanup 2016-12-29 14:02:18 -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 Importer: Add License Importer and refactor (#3143) 2017-01-10 16:19:18 -08:00
Consumable.php Importer: Add License Importer and refactor (#3143) 2017-01-10 16:19:18 -08:00
ConsumableAssignment.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CustomField.php Updated convertUnicodeDbSlug to use Patchwork if intl isn’t installed 2017-01-26 04:59:14 -08:00
CustomFieldset.php Small phpcbf cleanup 2016-12-29 14:02:18 -08:00
Depreciable.php Partialize forms (#2884) 2016-11-16 16:56:57 -08:00
Depreciation.php Fixed Illuminate path 2017-02-22 22:20:57 -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
Import.php Vue importer (#3235) 2017-01-25 21:29:23 -08:00
Ldap.php Add support for location-specific LDAP OUs. (#3176) 2017-01-11 23:37:14 -08:00
License.php Importer: Add License Importer and refactor (#3143) 2017-01-10 16:19:18 -08:00
LicenseSeat.php Actionlog Class: Improvements and polymorphism (#2561) 2016-09-06 19:39:42 -07:00
Location.php Added some hidden fields 2017-01-13 00:12:26 -08:00
Loggable.php Merge branch 'checkout-to-things-v1' of https://github.com/dmeltzer/snipe-it into dmeltzer-checkout-to-things-v1 2016-12-29 16:20:17 -08:00
Manufacturer.php Fixes #3311 - more fields for manufacturers 2017-03-10 22:08:59 -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 Remove useless validation for custom CSS 2017-03-11 15:34:54 -08:00
SnipeModel.php Importer: Add License Importer and refactor (#3143) 2017-01-10 16:19:18 -08:00
Statuslabel.php More bootstrap tables formatting 2017-01-24 22:25:17 -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 Allow string as employee number 2017-03-10 20:57:57 -08:00