Brady Wetherington
21ff0e748c
Got a chunk of Custom Fields for Users worked out, still needs cleanup
2024-06-06 13:45:35 +01:00
Brady Wetherington
d2b7828569
This is a squashed branch of all of the various commits that make up the new HasCustomFields trait.
...
This should allow us to add custom fields to just about anything we want to within Snipe-IT.
Below are the commits that have been squashed together:
Initial decoupling of custom field behavior from Assets for re-use
Add new DB columns to Custom Fields and fieldsets for 'type'
WIP: trying to figure out UI for custom fields for things other than Assets, find problematic places
Real progress towards getting to where this stuff might actually work...
Fix the table-name determining code for Custom Fields
Getting it closer to where Assets at least work
Rename the trait to it's new, even better name
Solid progress on the new Trait!
WIP: HasCustomFields, still working some stuff out
Got some basics working; creating custom fields and stuff
HasCustomFields now validates and saves
Starting to yank the other boilerplate code as things start to work (!)
Got the start of defaultValuesForCustomField() working
More progress (squash me!)
Add migrations for default_values_for_custom_fields table
WIP: more towards hasCustomFields trait
Progress cleaning up the PR, fixing FIXME's
New, passing HasCustomFieldsTrait test!
Fix date formatter helper for custom fields
Fixed more FIXME's
2024-06-06 13:35:38 +01:00
snipe
6229d0c616
Merge pull request #14758 from U-H-T/features/add_logo_support_for_Brother_TZe24
...
add logo support for Brother TZe24mm labels
2024-06-03 17:02:18 +01:00
snipe
92ba889cae
Updated/removed facades
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-29 12:53:51 +01:00
snipe
fb233c0aa4
Cleaned up facade names and references
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-29 12:38:15 +01:00
snipe
92eb6eb1b6
Add unique constraint to name
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-28 15:09:31 +01:00
U-H-T
2777ac96cc
add logo support for Brother TZe24mm labels
2024-05-23 11:10:23 +02:00
Brady Wetherington
f633dbba64
Merge branch 'develop' into snipeit_v7_laravel10
2024-05-20 12:55:29 +01:00
snipe
88d131666c
Sets purchase date as date (versus datetime) in labels
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-16 18:40:49 +01:00
snipe
eb0fd2f519
Removed stricter validation :(
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-16 16:29:11 +01:00
snipe
81efaa7481
Merge branch 'develop' into fixes/add_next_audit_date_to_assets_form
2024-05-16 16:13:21 +01:00
snipe
45eda0f611
Removed debug lines
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-16 15:09:27 +01:00
snipe
de088d452f
Merge pull request #14451 from Godmartinz/add_decline_note_to_acceptance
...
Adds a note text area to asset acceptances/declines
2024-05-16 15:06:05 +01:00
snipe
71b5bf2eef
Added visual on the hardware view screen
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-15 16:33:48 +01:00
snipe
bdbfb0f2a1
Added accessor and mutator for next_audit_date
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-15 16:33:47 +01:00
snipe
d2e7e11dca
Removed debug line
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-13 12:48:28 +01:00
snipe
f769e8247f
Added ManagedUsers method, additional checks in isDeletable()
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-07 12:07:15 +01:00
Brady Wetherington
5b02a43957
Merge branch 'develop' into snipeit_v7_laravel10
2024-05-06 18:44:03 +01:00
snipe
dab5874fd7
Merge pull request #14391 from snipe/features/add_Brother_188mm_tape_label
...
Added Brother 18mm label type
2024-05-02 13:14:04 +01:00
snipe
a398496dd4
Added comments
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-26 21:01:27 +01:00
snipe
839db8ef44
Refactored due-or-overdue methods
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-26 20:59:27 +01:00
snipe
50d8b02f8b
Removed unused scope
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-26 19:23:27 +01:00
snipe
52d6a8990a
Check that the asset is not already checked in
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-26 19:06:46 +01:00
snipe
d40604b574
Removed debugging, added date cast
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-26 19:01:05 +01:00
snipe
2e92ee8eee
Switch to whereBetween so tests run on sqlite
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-26 14:02:23 +01:00
Brady Wetherington
3f5c5cbe82
Merge branch 'develop' into snipeit_v7_laravel10
2024-04-24 16:24:43 +01:00
snipe
2439758ef3
Merge pull request #14587 from Godmartinz/License-export-button
...
Added a License Export function and button
2024-04-24 04:42:56 +01:00
Godfrey M
5fc6771543
adds licenses available, updated teranslations
2024-04-22 17:58:49 -07:00
snipe
424cbd3248
Removed noisy debug
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-18 14:25:54 +01:00
snipe
6f195cb8ec
Merge pull request #14591 from snipe/bug/sc-25258/naive_fix_for_user_scoping
...
First fix for user FMCS scoping
2024-04-17 21:49:53 +01:00
snipe
5e8c129c7f
Revert accidental commit
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-17 09:26:50 +01:00
snipe
ab3b5ca4ef
Fixed tests
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-17 09:26:07 +01:00
snipe
c604f08749
Small tweaks for troubleshooting :(
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-11 18:47:55 +01:00
snipe
0d23d28a65
Added comments
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-11 15:15:56 +01:00
snipe
989dab6259
Moved company scoping methods to group them together
...
Signed-off-by: snipe <snipe@snipe.net >
2024-04-10 14:35:13 +01:00
Marcus Moore
1aeaa0094a
Fix assigned to in labels
2024-04-09 13:52:54 -07:00
Godfrey M
ce1d677cdc
adds note to acceptance
2024-04-03 11:36:03 -07:00
Brady Wetherington
65e21faa3e
Merge branch 'develop' into snipeit_v7_laravel10
...
Hopefully, last merge?
2024-04-02 20:34:04 +01:00
snipe
0d3d172108
Make last_checkin searchable and fillable
...
Signed-off-by: snipe <snipe@snipe.net >
2024-03-27 20:37:40 +00:00
snipe
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
Phil J R
afe1cb8234
Create LabelWriter_1933081.php
...
Added a longer version of the existing label (25 x 54mm vs. 25 x 89mm) due to better availability and to support longer asset names.
2024-03-26 08:29:47 +00:00
Phil J R
f836342194
Rename Label_Writer_2112283.php to LabelWriter_2112283.php
...
Fix the name of LabelWWriter_2112283 to be consistent with the existing one.
2024-03-26 08:16:00 +00:00
spencerrlongg
5cf1a6c300
new validator for radio buttons
2024-03-25 21:03:13 -05:00
Phil J R
e45fd4088f
Created Dymo LabelWriter Label 2112283
...
I have added the layout for the Dymo LabelWriter 2112283 Labels.
They are: DYMO 2112283 DURABLE SMALL MULTI PURPOSE LABELS (160 LABELS) - 25 X 54MM
2024-03-25 16:31:20 +00:00
Godfrey M
21c3b1fbd2
rename declined message to note, increased width of textarea
2024-03-21 14:03:25 -07:00
snipe
e9e6f925bf
Updated validation
...
Signed-off-by: snipe <snipe@snipe.net >
2024-03-21 18:34:39 +00:00
snipe
828b84084d
Added validation for last_audit_date and next_audit_date
...
Signed-off-by: snipe <snipe@snipe.net >
2024-03-21 18:29:38 +00:00
Godfrey M
090466123f
add withCount to query instead
2024-03-19 15:18:18 -07:00
Godfrey M
0d0984a400
Bulk Delete Locations does not work [sc-25100]
2024-03-19 14:26:40 -07:00
Godfrey M
b9986033cc
removed abbr. of variable, changed variable types in migration
2024-03-18 16:03:40 -07:00