snipe
|
dc6eb6f104
|
Throw a warning if there were no users affected
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-18 02:07:17 -07:00 |
|
snipe
|
a8a3ca3624
|
Use count on availSeats
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-18 02:06:42 -07:00 |
|
snipe
|
e84ba0c7a0
|
Revert back to old method name
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-18 02:06:32 -07:00 |
|
snipe
|
f21d9c27e6
|
Use new translations for logs
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-18 01:07:26 -07:00 |
|
snipe
|
bfcbd9628a
|
Refactored license controller with new counts
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-18 01:02:58 -07:00 |
|
snipe
|
de78f8d41f
|
Renamed/refactorered licenses method
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-18 01:01:44 -07:00 |
|
snipe
|
6ab4314221
|
Removed unused method
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-18 01:01:13 -07:00 |
|
snipe
|
087f0e596a
|
Fixed has to where
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-17 22:44:05 -07:00 |
|
snipe
|
99cecee4b5
|
Merge branch 'develop' into features/adds_license_checkin_checkout_to_all_in_gui
|
2023-04-17 14:54:30 -07:00 |
|
snipe
|
b22cad9ced
|
Merge pull request #12855 from koelle25/fixes/last_component_checkout
Allow checkout of available components down to zero stock (fixes #12854)
|
2023-04-17 09:49:14 -07:00 |
|
snipe
|
e0c53d8d09
|
Remove start/end dates form casts array
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-17 09:33:31 -07:00 |
|
Kevin Köllmann
|
04f3c4bf69
|
Fixed #12854: Allow checkout of available components down to zero stock
|
2023-04-17 11:45:11 +02:00 |
|
snipe
|
a83991041a
|
Better placement for errors
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 16:08:06 -07:00 |
|
snipe
|
0afaaa4a6b
|
Added autoassign_licenses option to create admin
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:28:08 -07:00 |
|
snipe
|
16ab2bec06
|
Added sorting and searching on autoassign_licenses via user API
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:27:39 -07:00 |
|
snipe
|
4b66ca6ac5
|
Added method to bulk checkin (much simpler than checking out)
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:27:15 -07:00 |
|
snipe
|
844ad83431
|
Added method to bulk checkout license seats
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:26:59 -07:00 |
|
snipe
|
9833d861d4
|
Added autoassign_licenses tp bulk users conditional
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:26:33 -07:00 |
|
snipe
|
03cc55cb6a
|
Set autoassign_licenses to false if unchecked
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:25:52 -07:00 |
|
snipe
|
6a94a2f515
|
Return true/false for autoassign_licenses in the API
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:25:26 -07:00 |
|
snipe
|
f40bef8f9b
|
Added autoassign_licenses to user importer
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:25:08 -07:00 |
|
snipe
|
6acce098c9
|
Added autoassign_licenses on user model
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:24:56 -07:00 |
|
snipe
|
73cf62e060
|
Added autoassign_licenses to presenter
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 15:24:00 -07:00 |
|
snipe
|
79ff6a8fc2
|
Disallow deleting in the API view if there are things checked out
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 12:30:23 -07:00 |
|
snipe
|
8183b8deba
|
Added stub method
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 12:30:02 -07:00 |
|
snipe
|
144a6f28ec
|
Added intval
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 08:54:23 -07:00 |
|
snipe
|
64256351d8
|
Used a singleton to filter API limit value
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-16 08:46:39 -07:00 |
|
snipe
|
955539807c
|
Merge pull request #12830 from snipe/features/adds_supplier_id_to_components
Added supplier to components and consumables
|
2023-04-15 18:42:23 -07:00 |
|
snipe
|
fc7f1f907d
|
Fixed variable name
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-15 17:37:25 -07:00 |
|
snipe
|
4cbb9c2409
|
Use abs() instead of max
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-15 17:28:25 -07:00 |
|
snipe
|
2fe7fcecdb
|
Added case switch for sorting on suppliers
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-13 11:13:45 -07:00 |
|
snipe
|
d2b3e251ad
|
Added counters to API controllers
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-13 11:12:16 -07:00 |
|
snipe
|
07c0a1927b
|
Added supplier id to controllers
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-13 11:12:01 -07:00 |
|
snipe
|
ab7c75232b
|
Added supplier to transformers
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-13 11:10:51 -07:00 |
|
snipe
|
6e183f2ced
|
Added counters for consumables and components
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-13 11:10:32 -07:00 |
|
snipe
|
6097d534e9
|
Added eloquent model relationships
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-13 11:10:16 -07:00 |
|
snipe
|
3aac8bccd2
|
Added presenters for suppliers
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-13 11:09:59 -07:00 |
|
snipe
|
112a04b108
|
Better handle weird data passed to the API via limit and offset
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-12 11:28:46 -07:00 |
|
snipe
|
74babfa081
|
Added maxlength="10"
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-12 08:26:36 -07:00 |
|
snipe
|
04f83d34ff
|
Added withInput to carry over older fields
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-12 08:25:03 -07:00 |
|
snipe
|
d3d464e179
|
Improved commenting
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-12 04:36:05 -07:00 |
|
snipe
|
afd01869a5
|
Check for Carbon exception
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-11 23:35:41 -07:00 |
|
snipe
|
70ce0d9ee6
|
Maintain activated state on editing a user
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-09 14:06:29 -07:00 |
|
snipe
|
baf267e2e9
|
Small cleanups
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-07 09:45:16 -07:00 |
|
snipe
|
cb76815e8b
|
Removed if check on assets, since that’s already handled via validation
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-07 09:42:31 -07:00 |
|
snipe
|
4c88c751ef
|
Code cleanup, better validation
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-06 22:03:40 -07:00 |
|
snipe
|
0abb993600
|
General cleanup and standardization for component API
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-06 22:02:57 -07:00 |
|
snipe
|
4840046f44
|
Check for available quantity on consumables before checkout
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-06 20:38:02 -07:00 |
|
snipe
|
ffdc0d76f7
|
Fixed accessories verifying that enough remain to be checked out
Signed-off-by: snipe <snipe@snipe.net>
|
2023-04-06 18:40:29 -07:00 |
|
snipe
|
383d48fd9c
|
Merge pull request #12787 from Godmartinz/accessory_unavailable_message
Added unavailable message to prevent over-checkout of Accessories
|
2023-04-06 15:05:18 -07:00 |
|