3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-08-18 11:15:42 +00:00
Commit Graph

94 Commits

Author SHA1 Message Date
d345209aee Update controllers to use the relationship query for order_number 2026-08-03 15:29:43 +01:00
3c7fe91c86 Refactor qty adjustment to trait 2026-08-03 14:01:30 +01:00
a53928e1a4 Replenish/remove for consumables, accessories, components 2026-08-03 13:07:59 +01:00
ecdf7e895c Fixed order by % remaing 2026-07-28 16:05:16 +01:00
f71806b1e0 Clean up checkout APIs for concurrency 2026-07-25 13:46:19 +01:00
8acedc241f Checkouts: Fixed FD-56263 - disallow checkouts to soft-deleted targets 2026-07-20 16:21:30 +01:00
e5b097cfbd Better handle target cannot be blank erroring 2026-07-06 22:29:57 +01:00
888b63ba4c Handle parent+children users, etc 2026-06-25 15:15:54 +01:00
2a56f6573d Wrap the checkout in a transaction and add tests 2026-05-11 15:07:25 +01:00
3fcde8bd16 Prevent crash when trying to check out a component from another company if FMCS is on 2026-05-11 14:43:54 +01:00
dc8cbf4786 Stricter FMCS enforcement in API 2026-05-07 12:41:46 +01:00
b94945a461 Fixed RB-4121 2026-05-05 20:36:31 +01:00
ef746a173e Fixed RB-4120 - Column 'location_id' in where clause is ambiguous 2026-05-04 21:46:40 +01:00
fe308ef2e4 Use query clone to prevent n+1 2026-04-14 10:25:37 +01:00
3c32721791 Use ComponentsAssignment model 2026-04-07 14:44:56 +01:00
4c4ec3eacc Fixed #18821 - pagination on history 2026-04-04 16:59:23 +01:00
0261776778 Added FilterRequest and added refactorerd search check 2026-03-27 19:19:25 +00:00
a500dd4e9e Add generic history method and component blade for loggables 2026-03-26 12:13:59 +00:00
1e5d426e70 Apply pint to API controllers 2026-03-13 16:38:23 +00:00
8f34c06196 Added order_number to API for accessories, consumables, components 2026-02-17 13:08:09 +00:00
6cca24be8e Fixed typo 2026-02-11 07:27:16 +00:00
0af45a53a9 Merge pull request #18359 from marcusmoore/17816-qty-in-activity-report
Fixed #17816 - added quantity to activity reports
2026-01-05 13:03:56 +00:00
0f215bbcf8 fix: replace deprecated Symfony Request::get() usage 2025-12-17 18:44:04 -08:00
18c639e6c0 WIP - adding qty to more event calls 2025-12-15 14:38:13 -08:00
416b32cbc8 Optimize queries for Components listing 2025-11-26 12:36:44 +00:00
b7193a06fd Normalize advanced search 2025-10-08 20:51:35 +01:00
141fad8393 Fixed ambiguous clause using company_id
Signed-off-by: snipe <snipe@snipe.net>
2025-04-17 11:56:39 +01:00
dd2b570db5 Added tighter constraints on deleting components
Signed-off-by: snipe <snipe@snipe.net>
2025-02-23 14:11:39 +00:00
f932a4fc76 Always run validation on checkin 2024-11-20 12:25:06 -08:00
da4c877ed8 Use === over == 2024-11-19 16:13:53 -08:00
e8cad0df69 Formatting 2024-11-19 16:13:30 -08:00
3ee76be7e3 Added manufacturer and model_number to components
Signed-off-by: snipe <snipe@snipe.net>
2024-10-23 17:50:22 +01:00
6699995972 Added created_by to components
Signed-off-by: snipe <snipe@snipe.net>
2024-09-19 17:01:36 +01:00
1582d81e5b Change user_id to created_by
Signed-off-by: snipe <snipe@snipe.net>
2024-09-17 22:16:41 +01:00
1d65781d8d More type-hinting
Signed-off-by: snipe <snipe@snipe.net>
2024-07-05 07:07:20 +01:00
e98284fff5 Modernized helpers and use statements
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 20:48:35 +01:00
fb233c0aa4 Cleaned up facade names and references
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:38:15 +01:00
3f6554ee34 Use singleton for offset
Signed-off-by: snipe <snipe@snipe.net>
2023-10-16 23:23:43 +01:00
b9dc7f88d0 Fix qty requirements for Components API checkout
Signed-off-by: snipe <snipe@snipe.net>
2023-10-09 16:32:30 +01:00
92df32dfaa Move a couple assignation of variables inside an else to only execute once 2023-08-15 21:10:48 -06:00
993918f47c Add query to search into the per-component view 2023-08-15 15:31:36 -06:00
0a841ddbb8 Change component validator to the correct asset id we're passing in the API call 2023-07-27 20:22:13 -06:00
8aae5beaba Add explicit select back to query 2023-06-22 13:09:08 -07:00
48850f3597 Remove scopeCompanyables call from ComponentsController 2023-06-06 18:02:18 -07:00
64256351d8 Used a singleton to filter API limit value
Signed-off-by: snipe <snipe@snipe.net>
2023-04-16 08:46:39 -07:00
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
4cbb9c2409 Use abs() instead of max
Signed-off-by: snipe <snipe@snipe.net>
2023-04-15 17:28:25 -07:00
2fe7fcecdb Added case switch for sorting on suppliers
Signed-off-by: snipe <snipe@snipe.net>
2023-04-13 11:13:45 -07:00
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
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