e8f09b507f
Fix cs after php-cs-fixer upgrade, fix phpstan and rector errors
2024-09-05 18:00:37 +02:00
e29e1db6ed
Take into account 'destUserByAccessKey' in the list of workflows associated to a user
...
Refactor the query to include checks for user membership via both 'destUser' and 'destUserByAccessKey'. This ensures that workflows correctly account for user access by multiple criteria.
2024-09-05 17:38:18 +02:00
8c4f342ca1
Correct instantiation of controller within test
2024-09-05 17:19:28 +02:00
745a29f742
Adjust logic for removing the hold on a workflow only by user who owns the hold and when a transition is applied on the workflow
2024-09-05 17:19:27 +02:00
41ffc470a0
Adjust test to check creation of onHold if user is allowed to apply a transition
2024-09-05 17:19:27 +02:00
46b31ae1ea
Adjust logic to only allow on hold if user is allowed to apply a transition
2024-09-05 17:19:26 +02:00
8c5e94e295
Work on test for workflowOnHold controller
2024-09-05 17:19:25 +02:00
9c8a84cdbd
Add test for WorkflowOnHoldControllerTest
2024-09-05 17:19:24 +02:00
a82b99aecc
Add template-extends on EntityWorkflowStepHoldRepository
2024-09-05 17:19:23 +02:00
deb4bda16e
Add unique constraint as attribute on EntityWorkflowStepHold class
2024-09-05 17:19:23 +02:00
c1e5f4a57e
Move onHold methods to a separate WorkflowOnHold controller
2024-09-05 17:19:20 +02:00
6fc5a10dc4
Add unique constraint to migration
2024-09-05 17:18:43 +02:00
18abc84e68
Rector fixes
2024-09-05 17:18:43 +02:00
e85c31826f
php cs fixes
2024-09-05 17:18:42 +02:00
d119ba49f7
Add on_hold label to vue components
2024-09-05 17:18:42 +02:00
c21de777fd
Place on_hold label next to breadcrumb in twig template
2024-09-05 17:18:42 +02:00
15eaf648df
Add label to workflow listing and history to indicate whether it's on hold
2024-09-05 17:18:42 +02:00
42471269db
Implement logic to put workflow on hold and resume it
2024-09-05 17:16:18 +02:00
9475a708c3
Add EntityWorkflowStepHold entity to allow workflow to be put on hold by user
...
Entity created, migration, and repository.
2024-09-05 17:13:20 +02:00
bf1af1aaad
Merge branch '301-has-signed-statement' into 'signature-app-master'
...
Adjust behavior when signature in signed state
See merge request Chill-Projet/chill-bundles!717
2024-09-05 14:50:05 +00:00
d0031e82e8
Add hover effect and slim class to dev assets and apply in signature list
...
Introduced a new SCSS file to handle hover effects on rows and added the ability to remove bottom margins with a "slim" class. Updated various twig templates to utilize these new styles for better visual feedback and alignment.
2024-09-04 17:55:01 +02:00
20f2bc6c35
Enhance signature display with detailed person information
...
Updated the signature view template to include person details using the '_insert_vue_onthefly.html.twig' template. This change adds more contextual information about the signer, such as their name and status, improving the user experience.
2024-09-04 17:26:46 +02:00
71d3aa3969
Refactor signature rendering logic
...
Reorganized the signature rendering loop for better readability. Moved the row alignment inside the loop and added text alignment for signed statements. Simplified the conditional checks within the loop to enhance code maintainability.
2024-09-04 17:24:11 +02:00
ce781a5b58
Translate datetime object with icu: split date and time
...
Translate datetime within icu format
2024-09-04 17:14:43 +02:00
5f5d4b8f06
Add person menu entry for signature list
2024-09-04 15:13:14 +00:00
cc8214d52c
Add flash message in case signature was already applied
2024-09-04 17:08:38 +02:00
0c797c2997
Redirect to workflow show page if document already signed
...
Verify the state of the signature. If isSigned is true, redirection to
workflow show page.
2024-09-04 17:08:37 +02:00
ee6edba206
Create isSigned method in EntityWorkflowStepSignature.php
...
Refactorization and ease of use in template and workflow controller
2024-09-04 17:08:35 +02:00
3e6d764b9b
Replace sign button with signed statement if person/user has signed
2024-09-04 17:06:45 +02:00
313fb9ffdf
PHP CS Fixer updated (3.63.1 -> v3.64.0)
2024-09-04 14:38:56 +02:00
667e144681
Add PDF signature zone availability checks
...
Introduce `PDFSignatureZoneAvailable` service to check available PDF signature zones. Updated `WorkflowAddSignatureController` to use the new service. Added unit tests to verify the correctness of the functionality.
2024-09-04 14:09:53 +02:00
e17203ca3a
Add PDF signature zone availability checks
...
Introduce `PDFSignatureZoneAvailable` service to check available PDF signature zones. Updated `WorkflowAddSignatureController` to use the new service. Added unit tests to verify the correctness of the functionality.
2024-09-04 13:55:08 +02:00
3d49c959e0
Update DropFile to handle object versioning
2024-09-03 15:42:04 +02:00
e477a49c92
Integrate SwaggerUI with direct download and cleanup package
...
Added a customized SwaggerUI HTML template under Dev directory. Removed outdated swagger-ui dependency from package.json to streamline dependency management.
2024-08-28 15:26:19 +02:00
8a374864fa
update code style after upgrade rector and phpstan
2024-08-28 14:03:26 +02:00
bb848746d5
Merge branch 'upgrade-sf5' into signature-app-master
2024-08-28 13:23:12 +02:00
3738c110f8
Add missing import
2024-08-28 12:38:11 +02:00
6b4e1ed2d3
PHP CS Fixer updated (3.59.3 -> v3.63.1)
2024-08-28 12:06:08 +02:00
b0485dbcc8
Replace ArrayCollection with Collection&Selectable on some entity typing (fix previous commit)
...
Updated entity properties to use Collection&Selectable for better type safety and interoperability. This change affects User, Household, Calendar, Person, AccompanyingPeriod, and EntityWorkflow classes.
2024-08-28 12:04:43 +02:00
c16219dc6d
Force typing for ArrayIterator in EntityWorkflow
2024-08-28 11:48:24 +02:00
ad47804c91
Apply rector changes to Collection typing
2024-08-27 16:23:08 +02:00
85e2466611
Cherry-pick phpstan fixes after rector changes
2024-08-27 16:09:12 +02:00
6e2a08cae8
Resolve multiple entries not being saved in collectiontype
2024-08-21 10:22:13 +02:00
6445342136
Fix remove button not showing in CollectionType forms with allow_delete option
2024-08-14 14:23:03 +02:00
d52e54fd2a
Make loadDynamicPicker available within windows where dynamicPicker tags are added
2024-08-14 13:38:58 +02:00
81220b5b22
Correct phpstan error: ParsingException is never thrown
...
The typing of the exception had to be changed, because \Datetime throws an \Exception
instead of a ParsingException.
2024-07-25 11:30:33 +02:00
44226d6f7f
Fix the config's path to workflow signature
...
- typo
- load the config's array instead of the path to the config
2024-07-24 13:07:47 +02:00
d75607a1d2
Php cs fixes
2024-07-24 12:00:10 +02:00
bf66af0f25
Fix configuration of workflow signature document kinds
2024-07-24 11:54:07 +02:00
15f3e474a0
Remove trailing end() in MainBundle configuration
2024-07-24 11:32:08 +02:00