425a3767b6
Locations/Company: Always include parent in dropdown results
2026-07-22 22:52:29 +01:00
c091174ff5
Made codacy happy - split tests out
2026-07-22 13:41:00 +01:00
37238625e5
Updated user request for PATCH
2026-07-22 12:06:36 +01:00
b9672dc238
Accoutn for deliberate null company pseudo company
2026-07-22 11:45:31 +01:00
b8018c5b5e
FMCS+Floater: Fixed #19192 - make company required
2026-07-22 11:17:55 +01:00
975824f15f
Added exists_undeleted rule
2026-07-20 16:11:01 +01:00
cde9765afd
Added new validators
2026-06-25 17:02:29 +01:00
91305f1a9d
Added parent company capabilities
2026-06-25 15:15:54 +01:00
0ce35d845a
FMCS location scoping: Allow checkout to parent
...
A user reported that checking out an asset to a child location was failing with a company mismatch error when FMCS is enabled. Child locations that have company_id = null but inherit their company from a parent location were being rejected.
2026-06-19 12:26:22 +01:00
a6c82eec7b
Location Scoping: Fixed ordering for company check on user save
...
The model save fires before companies are synced, so company_id is stale data, which was causing it to erroneously fail validation. the rule was always wrong in that context for updates. The form request owns this check now.
2026-06-15 15:18:09 +01:00
86d4365f0e
Location Scoping: Fixed weird translation
2026-06-15 14:59:01 +01:00
6a0ec69451
FMCS/Validation: Fixed #19166 - translate error messages on FMCS fail
2026-06-10 12:44:46 +01:00
f03b27ec88
Updated validator to accept single company_id or array
2026-05-20 15:08:53 +01:00
8b658a19b9
Apply pint to Providers directory
2026-03-13 17:56:51 +00:00
ddb031f091
Fixed #18148 and #17451 - return int for user_count, fixed validation
2025-11-04 15:56:23 +00:00
699e9f75c9
Fixed RB-19892
...
Check for location before trying to grab company property
Signed-off-by: snipe <snipe@snipe.net >
2025-07-02 11:57:42 +01:00
4e0bcac1a1
Furhter validation for scoped locations
...
There is a new validator introduced that checks on object update (assets, users, etc.) if the company matches the locations company.
In case of the creation of a new location it must be checked that the parent matches the own company.
On updating a location a check for every related object must be made to see if the company matches the location.
Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com >
2025-01-24 11:12:11 +01:00
d9be2b5a5e
Trying to use the email_array translation
...
Signed-off-by: snipe <snipe@snipe.net >
2024-10-09 19:30:25 +01:00
318aff1ef0
Fixed behavior for null model numbers
...
Signed-off-by: snipe <snipe@snipe.net >
2024-08-17 00:27:44 +01:00
6ad7100aa3
Removed unused use statements
...
Signed-off-by: snipe <snipe@snipe.net >
2024-08-16 22:45:17 +01:00
a439d8abe8
Use fully qualified use statements
...
Signed-off-by: snipe <snipe@snipe.net >
2024-07-25 16:08:46 +01:00
6f29c0a7cf
Merge branch 'refs/heads/develop' into bug/sc-24884
...
# Conflicts:
# routes/api.php
2024-07-02 15:48:39 -05:00
fb233c0aa4
Cleaned up facade names and references
...
Signed-off-by: snipe <snipe@snipe.net >
2024-05-29 12:38:15 +01:00
53ccd196d7
Merge branch 'develop' into bug/sc-24884
2024-04-23 13:57:59 -05:00
7b7d424962
Merge pull request #13880 from Godmartinz/department-validation-bug
...
Fixed department validation to allow updates
2024-04-12 10:50:26 +01:00
013463aafc
Merge branch 'develop' into bug/sc-24884
2024-03-27 12:45:45 -05:00
5cf1a6c300
new validator for radio buttons
2024-03-25 21:03:13 -05:00
e3e01e07b1
final cleanup
2024-03-20 15:23:45 -05:00
6732b6601e
some cool progress, but something with unique not working
2024-03-12 18:33:59 -05:00
ad0f873ece
rm validation stuff
2024-03-05 11:58:00 -06:00
b6fa6cba22
note before switching tasks
2024-02-22 15:01:14 -06:00
d67ff54f4b
temporary decrypt, almost there
2024-02-20 16:20:03 -06:00
fb28882f65
trim potential spaces
2024-02-14 11:59:14 -06:00
72c118a70f
cleanup
2024-02-14 11:41:46 -06:00
25241542d2
progress, going to sleep
2024-02-14 02:12:31 -06:00
57a75e68b9
maybe i do the inverse here?
2024-02-14 00:52:50 -06:00
dcf2168454
initial stuff, need to switch branches
2024-02-13 19:35:37 -06:00
68ac1aaae0
Additional comments
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-21 15:36:11 +00:00
6a2ab2cfb2
Removed line break
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-21 15:10:19 +00:00
590cd0c71f
Added Validator::replace() for friendlier interpretation of validation string
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-21 15:03:59 +00:00
766eee78b2
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-21 13:47:49 +00:00
2b9e4110bc
Removed debugging
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-21 13:37:56 +00:00
4eb435e148
Use unique_undeleted instead of unique_serial
...
Signed-off-by: snipe <snipe@snipe.net >
2023-11-21 12:36:11 +00:00
b1f75a3bb3
remove unused import
2023-11-15 13:20:17 -06:00
c7f90ad86d
tested, working
2023-11-15 12:50:40 -06:00
c9d46856a3
added name back
2023-11-14 15:00:11 -08:00
6d65f6646f
allows validation to ignore self and update
2023-11-14 14:55:51 -08:00
938ec75aa7
clarifying note
2023-11-01 14:09:03 -05:00
38de69b3da
new validation rule
2023-10-18 12:41:24 -05:00
fa439a1928
Check that the array key exists before trying to seed it
...
Signed-off-by: snipe <snipe@snipe.net >
2023-01-03 14:45:23 -08:00