snipe
cf8feb37e1
Fixed crash if no model associated
...
This should never be triggered. Bad data is getting in somehow.
2018-01-25 03:00:54 -08:00
snipe
2c2910d1dd
Handle shitty edge cases where an asset has no model without crashing
2018-01-24 08:16:05 -08:00
vcordes79
f4e9d245d0
Status labels ( #4895 )
...
* fix statuslabels
* fix statuslabels
2018-01-23 18:08:54 -08:00
snipe
6bfd428c2e
Use real status label names, even if deployed
2018-01-15 21:03:26 -08:00
snipe
c816870083
De-norm last audit date so we can display it in the asset listing
2017-12-12 03:03:43 -08:00
snipe
76fe2af0af
Fixed #4444 - Added EOL back into asset lsiting and custom report
2017-12-05 13:03:11 -08:00
snipe
2278d5bfd8
Fixed restore permission to assets API disable delete/checkin/checkout on deleted assets
2017-11-22 10:35:24 -08:00
snipe
d98d06377e
Fixed #4098 - autolink URL and email addresses in listing
2017-11-21 22:34:53 -08:00
snipe
37868cd70e
Added warranty and expiration to list view
2017-10-31 07:05:15 -07:00
snipe
0fd0e3a8b4
Returns null for order number if it’s blank
2017-10-28 15:53:22 -07:00
snipe
9687a78981
Fixed a few inconsistencies in the API results (null vs empty string)
2017-10-28 15:17:36 -07:00
snipe
03f6211582
Make notes null if empty
2017-10-28 07:01:06 -07:00
snipe
5278dac2b0
Eager loading assignedTo - I have no idea why this works
2017-10-28 03:50:02 -07:00
snipe
277e49468b
Added deleted at to API
2017-10-28 02:31:13 -07:00
snipe
7a543fa6d5
Use new location method on asset API
2017-10-28 01:49:13 -07:00
snipe
c5893b4445
Fixes #4249 - display deployed location in listing
2017-10-19 01:30:40 -07:00
snipe
cbe008d52f
Fix assetLoc to assetloc because reasons?
2017-10-16 09:08:08 -07:00
snipe
43ff66e4d9
More UI tweaking for meta statuses
2017-09-29 15:24:33 -07:00
snipe
fe1975067a
Hopefully clearer status label meta info
2017-09-29 12:03:02 -07:00
snipe
4d32f2b337
Fixes #4059 - accessories view
2017-09-28 21:18:00 -07:00
snipe
e27e1a78c3
Fix for case where a fieldset is assigned to a model, but no fields are assigned
2017-09-26 16:01:23 -07:00
Daniel Meltzer
987536930c
Assorted fixes ( #3923 )
...
* Fix some n+1 problems
* Use route in notification dropdown to make sure we link to correct page
* Work on better UI support for checkout to non-user. Fix links on index bootstrap table, work towards eliminating assignedUser
* Remove Asset::assigneduser() relationship. Instead add a checkedOutToUser() method and/or port to using assignedTo()
* Adjust string to fit new reality
* Fix #3780 . Move the consumables getDataView method to the ApiController. Not entirely RESTful, but it's a weird method that probably doesn't need its own controller and the functionality would be strange to stack on the userscontroller...
* Fix file uploads to assets and restore the delete route.
* Add asset maintence edit action to index.
* Suppliers asset list should link to the related asset, not to the supplier with same ID.
* Asset models page should use polymorphic formatter on assigned to to better handle assorted item types.
* Comment out more assigneduser fallacy until we figure out the query builder approach to searching for location text.
2017-09-05 17:54:58 -07:00
snipe
6e30fa6922
Fixes custom fields in asset listing where no custom fields were assigned
2017-08-23 03:28:13 -07:00
snipe
59006964d1
Fixes #3771 - adds username to API response on Asset API
2017-07-25 22:11:50 -07:00
snipe
0fbf9236f4
Fixes #3742 - add employee number to asset listing
...
Also removes asset report, since it’s basically the exact same output as the asset listing
2017-07-25 01:17:23 -07:00
snipe
9bcfe0748b
Make custom fields into their own JSON array
2017-07-08 18:44:28 -07:00
snipe
635299cd74
Decrypt encrypted fields
2017-07-08 17:04:40 -07:00
snipe
c2e8803d1e
Addec clone button back to models, assets, licenses, etc
2017-07-07 18:45:49 -07:00
snipe
54a2c46101
Fixes #3491 - adds supplier info to assets listing
2017-04-22 19:14:28 -05:00
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
snipe
8dbd9fb299
Added additional permissions for checkin/checkout buttons
2017-03-11 12:14:10 -08:00
snipe
875d0dd343
Added advanced search to assets
2017-03-11 04:26:01 -08:00
snipe
097096aa24
More custom date display via API
2017-03-03 17:53:42 -08:00
snipe
dc38e575d9
Allow date/time formatting selection in settings
2017-03-03 17:29:41 -08:00
snipe
ce2babcafb
Fixed name display in transformer for asset listing
2017-02-23 17:00:50 -08:00
snipe
9ccaad8b9c
Added created_at and modified_at to asset listing/api
2017-02-23 16:23:02 -08:00
snipe
eea90dda78
Added Gate integration into API transformers
2017-02-08 18:24:55 -08:00
snipe
86198badbb
Added more company_id filtering, more transformers
2017-02-08 08:48:41 -08:00
snipe
4cf01e4f48
Added ability to search by company_id and location_id
2017-02-08 03:31:42 -08:00
snipe
f1592aa63f
Tighter asset API responses, sanitization
2017-02-03 02:04:17 -08:00
snipe
6c1a827ed0
Added warranty info to listing
2017-02-03 01:45:12 -08:00
snipe
99d837fa50
Added API methods and UI to view assets associated with a particular model
2017-01-26 21:02:59 -08:00
snipe
a9bf34cf61
Minor transformer cleanup
2017-01-25 21:01:00 -08:00
snipe
75d35273c9
Pull image formatter out of dynamic loop, pass full url to formatter
2017-01-24 22:46:07 -08:00
snipe
04bb180a80
More bootstrap tables formatting
2017-01-24 22:25:17 -08:00
snipe
8f12486f6c
More generic javascript formatters, updated api routes
2017-01-24 21:04:38 -08:00
snipe
afacee90ae
Fixed variable for transformer
2017-01-24 18:57:21 -08:00
snipe
d0f062458e
Additional API transformers, formatters
2017-01-24 17:07:00 -08:00
snipe
ad4bf83aaa
Add ability to view assets by status label
...
This should be refactored. Lots of copypaste from the assets views here
2017-01-18 20:41:40 -08:00
snipe
f642013774
Check for validity before trying to display relation data
2017-01-13 22:06:12 -08:00