a2afbfb911
Moved JSON response into trait
2026-08-07 11:58:43 +01:00
f37e428ace
Updated seeders with initial purchase info
2026-08-06 12:58:27 +01:00
dbe942e68c
Handle last order defaults in the controllers
2026-08-05 22:25:59 +01:00
2f22a8754e
Pull item fields out of update
2026-08-05 16:01:21 +01:00
12e5e6c0fc
Added enrichInitialOrderFromRequest to controllers
2026-08-05 14:31:12 +01:00
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
2359b2d149
Merge pull request #19236 from Sxderp/pr-remove-dup-query
...
Fixes #19235 : use total var to avoid multiple database queries
2026-07-28 22:12:38 +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
7ddb1cf766
Consumable checkout: Fixed FD-56262 - use auth()->id instead of $user->id
2026-07-20 15:57:23 +01:00
5a37bc0c5d
Fixes #19235 : use total var to avoid multiple database queries
...
fixes ##19235
We were seeing multiple count queries (two or three) against
our database when using the API. With this change we are now
seeing one query and, for us, it saves on average 300ms.
2026-06-26 10:05:48 -04:00
888b63ba4c
Handle parent+children users, etc
2026-06-25 15:15:54 +01:00
43be1e8364
Fixed FD-55580 - added selectlist gate and tests
2026-05-26 10:40:26 +01:00
c377b41198
Updated controllers
2026-05-20 14:58:18 +01:00
2a56f6573d
Wrap the checkout in a transaction and add tests
2026-05-11 15:07:25 +01:00
dc8cbf4786
Stricter FMCS enforcement in API
2026-05-07 12:41:46 +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
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
316f1be3d0
Fixed typo and spacing
2026-03-26 12:14:20 +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
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
b7193a06fd
Normalize advanced search
2025-10-08 20:51:35 +01:00
b6d397bcca
Updated ->present()->fullName() to ->display_name
...
Signed-off-by: snipe <snipe@snipe.net >
2025-08-25 14:57:34 +01:00
8095e0ab72
Normalize consumables user response
...
Signed-off-by: snipe <snipe@snipe.net >
2025-08-06 16:25:51 +01:00
141fad8393
Fixed ambiguous clause using company_id
...
Signed-off-by: snipe <snipe@snipe.net >
2025-04-17 11:56:39 +01:00
0b6859c491
Added ability to checkout consumables in variable qty
...
Signed-off-by: snipe <snipe@snipe.net >
2024-10-23 15:05:35 +01:00
b68805cf83
Small fix for notifications checkout
...
Signed-off-by: snipe <snipe@snipe.net >
2024-09-20 19:11:52 +01:00
b247fc33b9
Added legacy comment
...
Signed-off-by: snipe <snipe@snipe.net >
2024-09-19 17:28:01 +01:00
02a29c71ef
Added created_by
...
Signed-off-by: snipe <snipe@snipe.net >
2024-09-19 17:01:48 +01:00
1582d81e5b
Change user_id to created_by
...
Signed-off-by: snipe <snipe@snipe.net >
2024-09-17 22:16:41 +01:00
7d9a0eba04
Added ability to sort on qty and remaining for consumables
...
Signed-off-by: snipe <snipe@snipe.net >
2024-09-09 03:49:58 +01:00
00d7b36c36
Eager load suppliers
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-11 16:22:22 +01:00
abd79219dd
Use form request to check for valid category
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-11 15:26:24 +01:00
82743abadc
Cleans up the consumables index controller
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-11 14:15:18 +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
2e0e39ccc8
Ensure notification is sent when consumable is checked out via api
2024-01-30 13:19:20 -08:00
aed6b531cb
Derp. Extra return statement
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-22 23:05:38 +00:00
7c88601066
Grab the API
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-20 15:31:39 +00:00
3f6554ee34
Use singleton for offset
...
Signed-off-by: snipe <snipe@snipe.net >
2023-10-16 23:23:43 +01:00