082bc3ece4
Use correct qty in component checkout email
2025-09-11 14:10:31 -07:00
a5e37519f5
Merge pull request #17539 from grokability/add-file-uploads-to-maintenances
...
WIP: Add file uploads to maintenances
2025-08-10 11:13:19 +01:00
38678803eb
Removed unused controllers
...
Signed-off-by: snipe <snipe@snipe.net >
2025-08-07 18:22:45 +01:00
bd2acefecc
rethought, keeping previous page as an option
2025-08-05 12:29:59 -07:00
55ebb4671f
update check in and check out controllers
2025-07-01 12:44:26 -07:00
8a9cf07063
editing controllers and edit blades for other categories
2025-07-01 12:31:55 -07:00
dd2b570db5
Added tighter constraints on deleting components
...
Signed-off-by: snipe <snipe@snipe.net >
2025-02-23 14:11:39 +00:00
347eb2bdee
Fixed route parameters and tests to match
...
Signed-off-by: snipe <snipe@snipe.net >
2025-02-19 05:03:56 +00:00
f7d213052a
Route model binding for resource groups
...
Signed-off-by: snipe <snipe@snipe.net >
2025-02-19 02:49:05 +00:00
d5309c7d94
Added fragment to uploads for redirect
...
Signed-off-by: snipe <snipe@snipe.net >
2025-01-21 18:06:00 +00:00
54f5f46e31
Improve check for image existence
2024-11-19 16:44:42 -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
787e651778
Fixed todos with log message
...
Signed-off-by: snipe <snipe@snipe.net >
2024-10-21 16:52:21 +01:00
ef9b6e3b07
Code cleanup
...
Signed-off-by: snipe <snipe@snipe.net >
2024-10-21 16:34:54 +01:00
822ea96dfd
Use auth()->id() instead of Auth::id()
...
Signed-off-by: snipe <snipe@snipe.net >
2024-09-19 17:31:46 +01:00
1582d81e5b
Change user_id to created_by
...
Signed-off-by: snipe <snipe@snipe.net >
2024-09-17 22:16:41 +01:00
c7ddabcc8b
Check for FMCS when checking out component
2024-08-06 12:27:15 -07:00
cd7f276c40
Fixed logging for component
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-26 13:09:21 +01:00
5d7f1f77a3
Added redirect to checkin/checkout controllers
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-26 12:48:07 +01:00
759ab78f80
Added more redirects
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-26 11:27:36 +01:00
ae9085b11f
Modernize use statements, switch to auth()
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-04 20:49:22 +01:00
fb233c0aa4
Cleaned up facade names and references
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-29 12:38:15 +01:00
9bb191f29f
Fixes file upload XSS vulnerability [sc-24156]
2024-02-08 14:30:40 +00:00
81b2273c37
Refactored checkout screen to redirect if invalid category
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-23 16:18:28 +00:00
ef10f2e50e
Use more correct route in redirect
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-08 14:40:38 +00:00
f685ba01b6
Reversed order of find
...
Signed-off-by: snipe <snipe@snipe.net >
2023-10-09 16:43:14 +01:00
cd3b4754e8
Merge pull request #13704 from Godmartinz/feature/sc-23571_v2
...
Added a check-in button on components tab of Asset view
2023-10-05 14:28:37 +01:00
c69958d95d
removed dead space
2023-10-03 12:32:24 -07:00
92776adb93
remove unnecessary changes
2023-10-03 12:31:58 -07:00
dee36fc294
adds component checkin to asset tab
2023-10-03 12:30:08 -07:00
f53db8ba75
Fixed #13562 - allow inline view for uploaded files
...
Signed-off-by: snipe <snipe@snipe.net >
2023-09-05 18:28:01 +01:00
22d73f503a
Merge pull request #12756 from dboth/develop
...
Fixed #8208 , #8896 , #8985 and #9789 : Currency issues when using non-english locales (resubmission)
2023-04-25 22:32:13 -07:00
04f3c4bf69
Fixed #12854 : Allow checkout of available components down to zero stock
2023-04-17 11:45:11 +02:00
07c0a1927b
Added supplier id to controllers
...
Signed-off-by: snipe <snipe@snipe.net >
2023-04-13 11:12:01 -07:00
baf267e2e9
Small cleanups
...
Signed-off-by: snipe <snipe@snipe.net >
2023-04-07 09:45:16 -07:00
4c88c751ef
Code cleanup, better validation
...
Signed-off-by: snipe <snipe@snipe.net >
2023-04-06 22:03:40 -07:00
3271c9dc9f
Fix #8208 , #8896 , #8985 , #9789
2023-03-29 09:56:34 +02:00
3c7d63c060
Disallow uploads if app is locked
...
Signed-off-by: snipe <snipe@snipe.net >
2022-11-03 13:52:23 -07:00
f1cb7ee410
Fixed some translations
...
Signed-off-by: snipe <snipe@snipe.net >
2022-11-01 19:28:39 -07:00
84c0f50266
Added ComponentFilesController
...
Signed-off-by: snipe <snipe@snipe.net >
2022-11-01 19:10:04 -07:00
e3293151a2
Added note on checkout
...
Signed-off-by: snipe <snipe@snipe.net >
2022-08-10 15:04:59 -07:00
b5378eff64
Fix several typos
2022-04-05 16:12:31 -05:00
b876d0abb0
Merge remote-tracking branch 'origin/master' into develop
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# .env.example
# app/Http/Controllers/Auth/LoginController.php
# app/Http/Kernel.php
# app/Http/Transformers/ActionlogsTransformer.php
# app/Importer/AssetImporter.php
# app/Models/Accessory.php
# app/Models/Consumable.php
# app/Presenters/AccessoryPresenter.php
# app/Presenters/ComponentPresenter.php
# app/Presenters/ConsumablePresenter.php
# app/Providers/AuthServiceProvider.php
# composer.json
# composer.lock
# config/app.php
# config/cors.php
# config/version.php
# package-lock.json
# public/js/build/app.js
# public/js/build/app.js.LICENSE.txt
# public/js/dist/all.js
# public/mix-manifest.json
# resources/views/accessories/view.blade.php
# resources/views/consumables/view.blade.php
# resources/views/settings/saml.blade.php
# routes/api.php
2022-03-03 21:59:38 -08:00
9acb5413f6
Added notes field to controllers
...
Signed-off-by: snipe <snipe@snipe.net >
2022-03-03 20:29:25 -08:00
aa8f1378c9
Merge remote-tracking branch 'origin/master' into develop
...
Signed-off-by: snipe <snipe@snipe.net >
# Conflicts:
# README.md
# app/Http/Controllers/Accessories/AccessoriesController.php
# app/Http/Controllers/Api/AssetMaintenancesController.php
# app/Http/Controllers/Api/AssetModelsController.php
# app/Http/Controllers/Api/AssetsController.php
# app/Http/Controllers/Api/UsersController.php
# app/Http/Controllers/AssetMaintenancesController.php
# app/Http/Controllers/Assets/AssetFilesController.php
# app/Http/Controllers/Assets/AssetsController.php
# app/Http/Controllers/Assets/BulkAssetsController.php
# app/Http/Controllers/Components/ComponentsController.php
# app/Http/Controllers/Consumables/ConsumablesController.php
# app/Http/Controllers/Licenses/LicenseFilesController.php
# app/Http/Controllers/Licenses/LicensesController.php
# app/Http/Controllers/Users/UserFilesController.php
# app/Http/Transformers/AssetsTransformer.php
# app/Http/Transformers/LicensesTransformer.php
# app/Importer/UserImporter.php
# app/Models/Asset.php
# config/app.php
# config/version.php
# package-lock.json
# public/js/build/app.js
# public/js/dist/all.js
# public/js/dist/bootstrap-table.js
# public/mix-manifest.json
# resources/lang/en/admin/users/message.php
# resources/lang/is/button.php
# resources/lang/ja/admin/kits/general.php
# resources/lang/ro/admin/users/general.php
# resources/lang/zh-HK/admin/depreciations/general.php
# resources/lang/zh-HK/admin/models/general.php
# resources/views/hardware/qr-view.blade.php
# resources/views/hardware/view.blade.php
# resources/views/partials/bootstrap-table.blade.php
# resources/views/users/view.blade.php
# routes/web.php
# routes/web/hardware.php
# routes/web/models.php
# routes/web/users.php
2021-10-20 17:26:41 -07:00
f3338667c7
Create new ParseCurrency helper and use it in the appropriate controllers
2021-09-28 18:20:39 -07: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
e9578ba8a1
Fixed #8737 - incorrect validation string for components update
2020-11-13 12:09:48 -08:00
68224757f4
Validate when editing the quantity of a component that the new quantity is > the amount checked out
2020-04-29 13:25:04 -04:00
358609720a
Component checkout/checkin fixes.
...
- Provide proper translated messages for checkin vs checkout
- Pass appropriate methods to the Checkout event, fixes an error on
checkin.
- Default to a value of 1 on checkin in UI to save a click sometimes.
2020-04-29 12:50:09 -04:00