3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-02-05 04:45:44 +00:00
Commit Graph

134 Commits

Author SHA1 Message Date
739980aa09 Merge pull request #16947 from Godmartinz/add-require-serial-to-models
Adds require serial as Asset Model option
2025-09-03 14:53:15 +01:00
f1dd84edba Added option to clone original images
Signed-off-by: snipe <snipe@snipe.net>
2025-08-04 18:47:26 +01:00
d45bd67cae added corrections 2025-05-20 09:51:02 -07:00
fcbfbca6d0 add checkbox to model edit and create 2025-05-13 11:10:46 -07:00
0b1be3e63b add migration, model and controller update 2025-05-12 11:44:34 -07:00
a5009aa7df Added withTrashed() to handle soft deletes with RMB
Signed-off-by: snipe <snipe@snipe.net>
2025-02-24 13:38:06 +00:00
f7d213052a Route model binding for resource groups
Signed-off-by: snipe <snipe@snipe.net>
2025-02-19 02:49:05 +00:00
4f9f035c69 added a way to manipulate validator attribute names 2024-09-30 20:09:00 -05:00
b69596a261 rm dump 2024-09-25 16:21:33 -05:00
d02b9933e5 rm comment 2024-09-25 15:38:40 -05:00
f3ad89931f hm ok this kind of works 2024-09-25 13:00:35 -05:00
21906d8c27 world set up and idea in place 2024-09-25 12:47:56 -05:00
1582d81e5b Change user_id to created_by
Signed-off-by: snipe <snipe@snipe.net>
2024-09-17 22:16:41 +01:00
94c981e22c Set image to null if model is deleted
Signed-off-by: snipe <snipe@snipe.net>
2024-08-28 14:23:49 +01:00
d67975cb62 Implement fix 2024-08-22 10:18:23 -07:00
84f14a05bd Fixed logging for asset model restore
Signed-off-by: snipe <snipe@snipe.net>
2024-08-19 13:20:19 +01:00
6932a63217 make some naming a little clearer 2024-07-09 16:32:44 -05:00
ef56f599d2 Use asset model request
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 21:52:29 +01:00
c570759370 Fixed tests
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 21:14:58 +01:00
cc6f1cd585 Added asset model request :(
Signed-off-by: snipe <snipe@snipe.net>
2024-07-04 20:50:11 +01:00
941582ac2a Properly scope archived based on settings
Signed-off-by: snipe <snipe@snipe.net>
2024-06-18 10:27:11 +01:00
233e4af7f8 Added base asset models test
Signed-off-by: snipe <snipe@snipe.net>
2024-06-17 11:57:30 +01:00
df1cef59d5 Fixes path for redirect response
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 18:01:40 +01:00
92ba889cae Updated/removed facades
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:53:51 +01:00
fb233c0aa4 Cleaned up facade names and references
Signed-off-by: snipe <snipe@snipe.net>
2024-05-29 12:38:15 +01:00
850f85ff59 Merge pull request #14369 from spencerrlongg/bug/sc-24343
Add new validator for custom field checkboxes and fix asset model default updates
2024-03-26 19:22:29 +00:00
972b198248 Removed debugging
Signed-off-by: snipe <snipe@snipe.net>
2024-02-20 17:27:16 +00:00
1ceb703129 rm var 2024-02-14 12:44:09 -06:00
d9c61fdb02 validation msg 2024-02-14 11:52:25 -06:00
25241542d2 progress, going to sleep 2024-02-14 02:12:31 -06:00
d55358652b cleanup for pr 2024-02-13 13:45:56 -06:00
bcfa913450 condition makes this work, needs more testing 2024-02-07 20:03:37 -06:00
43d8474caa a note to remember this tomorrow 2024-02-06 17:45:46 -06:00
f5dafc477a Avoid unnecessary model hydration on asset model show page 2024-01-24 16:14:51 -08:00
016ca1adc1 Fixed HTML for checkboxes
Signed-off-by: snipe <snipe@snipe.net>
2023-12-13 06:27:50 +00:00
d06cfe6502 Changed verb to “restore” from “restored”
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 20:08:41 +00:00
f7ccef16e7 Refactorer controller restore methods
Signed-off-by: snipe <snipe@snipe.net>
2023-11-22 18:02:47 +00:00
58062ff9f5 Update AssetModelsController.php
if EOL of model has been changed and value is >0 assets will be updates with new EOL rate, date
if EOL of model has been changes and value is null or 0 then assets will be updates by null EOL rate, date
*asset with set expilicity market will not be updated
2023-10-22 17:56:38 +02:00
d65d1930e4 asset models 2023-09-19 19:24:53 -05:00
774f21bb7f some more cleanup 2023-09-11 17:17:59 -05:00
1ea0de8bca prevent injection, fix asset update 2023-09-11 17:15:25 -05:00
c1daabef08 progress 2023-09-11 17:10:41 -05:00
a26b96185b Merge branch 'develop' into asset-model-notifs 2023-09-11 09:37:22 -07:00
4e4ba38038 Pass the model_id variable in the controller and get it only if we are cloning the asset model 2023-08-28 16:23:26 -06:00
8ebb9afedd adds min_amt to asset model edit, index, and table 2023-08-24 10:30:07 -07:00
e869b1fd53 Fixed #12724 - fieldset not saving on model
Signed-off-by: snipe <snipe@snipe.net>
2023-03-24 06:11:24 -07:00
1ff2d15c4a Replace 'required' rule with 'nullable' to allow blank default customfields values 2022-08-25 18:16:50 -05:00
6e85c2e5cb Delete unused import 2022-08-24 16:30:25 -05:00
30d0125cbd Remove the rule 'required' for default values, if custom field is obligatory 2022-08-24 16:18:11 -05:00
7976401aa2 Add error message when the default customfield values can't be validated 2022-06-22 22:17:05 -05:00