3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-18 18:35:50 +00:00
Commit Graph

30 Commits

Author SHA1 Message Date
8c21d625fc Prevent deleting accessory that has checkouts via UI 2025-03-05 15:56:01 -08:00
36aea52ae0 Fixed variable in test
Signed-off-by: snipe <snipe@snipe.net>
2024-12-16 16:35:34 +00:00
fdfea390fb Merge branch 'develop' into testing/fmcs-accessories 2024-09-30 12:59:27 -07:00
2137890496 Remove dead code 2024-09-19 11:33:20 -07:00
9b22d6d493 Add tests for accessory checkouts endpoint 2024-09-19 11:24:01 -07:00
1582d81e5b Change user_id to created_by
Signed-off-by: snipe <snipe@snipe.net>
2024-09-17 22:16:41 +01:00
b18baf74d2 added options to checkout accessoires to locations and assets
Added #14979: add checkout functionality to accessoires
2024-07-29 10:54:53 +02:00
adfb8895df Improve factory state name 2024-02-12 16:31:32 -08:00
c8e12ddb5c Remove bug in factory state 2024-02-12 16:30:09 -08:00
728aaaab20 Ensure accessory check in emails are not sent when the setting is disabled 2024-02-12 16:22:59 -08:00
095a7d9b34 Scaffold tests around accessory check in 2024-02-12 12:54:48 -08:00
987676df08 Implement additional tests 2024-01-29 15:56:18 -08:00
f16f62f76c Scaffold and implement some tests around accessory checkout 2024-01-29 14:21:30 -08:00
92e0c59f89 Fix typo in Keyboard accessory name 2023-03-20 12:01:39 -07:00
1fd574779b Remove unneeded or outdated comments and update imports 2023-03-20 11:39:27 -07:00
a37d69fcf1 Replace remaining user_ids in factories 2023-03-20 11:19:34 -07:00
3849bb838d Make a few more factories a bit more pure 2023-03-16 18:29:51 -07:00
605f214597 Add properties necessary for factories to be called in isolation 2023-03-16 17:08:18 -07:00
7062b0acaa Remove hard-coded supplier_id in factories 2023-03-16 12:41:34 -07:00
dfd6cf0d29 Improve factories for location relationships 2023-03-15 18:31:08 -07:00
a2efe3fa67 Remove hard-coded category_id in factories 2023-03-14 12:50:02 -07:00
7cf424b914 Remove hard-coded manufacturer_id in factories 2023-03-14 12:01:23 -07:00
e8ff7cc09c Remove hard-coded user_id in factories 2023-03-14 11:34:58 -07:00
b62d1f49e4 Shift cleanup 2021-06-10 20:19:27 +00:00
104b441e0d Shift to class based factories 2021-06-10 20:17:44 +00:00
934afa036f Adopt Laravel coding style
Shift automatically applies the Laravel coding style - which uses the PSR-2 coding style as a base with some minor additions.

You may customize the adopted coding style by adding your own [PHP CS Fixer][1] `.php_cs` config file to your project root. Feel free to use [Shift's Laravel ruleset][2] to help you get started.

[1]: https://github.com/FriendsOfPHP/PHP-CS-Fixer
[2]: https://gist.github.com/laravel-shift/cab527923ed2a109dda047b97d53c200
2021-06-10 20:15:52 +00:00
a481fa2921 Added accessories images for seeder 2018-09-29 22:17:14 -07:00
4215a3257b Fixes #1044 - adds suppliers and image to accessories (#4266)
* Ignore accesories uploads

* API: Allow searching accessories by supplier id

* Adds suppliers and image upload to accessories

* Allow sorting by counts for suppliers

* Validate supplier image uploads

* Remove purchase_date from protected accessory array, it was converting it to datetime in datepicker
2017-10-19 16:25:24 -07:00
324d44dbac Small accessory factory tweaks 2017-10-07 07:24:15 -07:00
8fdddc310f More rigid seeders for more realistic data 2017-10-07 02:27:02 -07:00