Commit e88631c2 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Destinaires fixes (en cours)

Fix : erreur de récupération de clef pour les changements d'option à la volée
parent ff582aae
Loading
Loading
Loading
Loading
Loading
+17 −27
Changes for config/merged/signature.config.php: 17 added lines, 27 removed lines.
Original line number Diff line number Diff line
@@ -26,22 +26,15 @@ return [
    'bjyauthorize' => [
        'guards' => [
            PrivilegeController::class => [
                [
                    'controller' => SignatureAssetsController::class,
                    'action' => [
                        'assets'
                    ],
                    'privileges' => [
                        SignaturePrivileges::SIGNATURE_INDEX,
                    ],
                    'roles' => []
                ],
                [
                    'controller' => SignatureController::class,
                    'action' => [
                        'download',
                        'signatures',
                        'signatureflows'
                        'signatureflows',
                        'signatureflowsUi',
                        'letterfileWorkflows',
                        'home'
                    ],
                    'privileges' => [
                        SignaturePrivileges::SIGNATURE_INDEX,
@@ -79,17 +72,6 @@ return [
                    ],
                    'roles' => []
                ],
//                [
//                    'controller' => SignatureTypeController::class,
//                    'action' => [
//                        'create',
//                        'index',
//                    ],
////                    'privileges' => [
////                        Unicaencalendrier_indexPrivileges::INDEX,
////                    ],
//                    'roles' => []
//                ],
            ],
        ],
    ],
@@ -102,18 +84,17 @@ return [
                    'route' => '/signature',
                    'defaults' => [
                        'controller' => SignatureController::class,
                        'action' => 'signatures',
                        'action' => 'home',
                    ],
                ],
                'may_terminate' => true,
                'child_routes' => [
                    'assets' => [
                    'signatures' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/assets[:path]',
                            'route' => '/signatures',
                            'defaults' => [
                                'controller' => SignatureAssetsController::class,
                                'action' => 'assets'
                                'action' => 'signatures'
                            ]
                        ]
                    ],
@@ -180,6 +161,15 @@ return [
                            ]
                        ]
                    ],
                    'signatureflowsui' => [
                        'type' => Segment::class,
                        'options' => [
                            'route' => '/signatureflows-ui',
                            'defaults' => [
                                'action' => 'signatureflowsUi'
                            ]
                        ]
                    ],
                    'signatureflows' => [
                        'type' => Segment::class,
                        'options' => [
+16 −3
Changes for config/module.config.php: 16 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -65,7 +65,8 @@ return [
                        'values' => [
                            ['id' => 7, 'label' => 'Responsable scientifique'],
                            ['id' => 9, 'label' => 'Chargé de projet']
                        ]
                        ],
                        'defaultValue' => []
                    ],
                    [
                        'key' => 'role_organisation_id',
@@ -74,7 +75,8 @@ return [
                        'values' => [
                            ['id' => 3, 'label' => 'Laboratoire'],
                            ['id' => 5, 'label' => 'Composante de gestion']
                        ]
                        ],
                        'defaultValue' => [3]
                    ]
                ],
                'methods_on_create' => null
@@ -85,7 +87,18 @@ return [
                'label' => 'Destinataires fixes',
                'description' => 'Destinataires nommés explicitement',
                'methods' => 'fixed',
                'options' => [],
                'options' => [
                    [
                        'key' => 'recipients',
                        'label' => "Destinataires",
                        'type' => 'recipients',
                        'values' => [
                        ],
                        'defaultValue' => [
                            ['firstname' => 'Stéphane', 'lastname' => 'Bouvry', 'email' => 'stephane.bouvry@unicaen.fr']
                        ]
                    ]
                ],
                'methods_on_create' => null
            ],
            [
+1 −0
Changes for public/dist/assets/SignatureFlows-190d33fc.css: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
.signatureflow{border:solid #dde2e5 thin;padding:.5em 1em;margin:1em 0}.buttons-bar{padding-top:.5em;border-top:solid #dde2e5 thin}.steps{margin:1em 0;padding:1em;border:solid #dde2e5 thin}.step{padding:.5em 1em;border:solid #dde2e5 thin;border-left:solid #dde2e5 4px;margin:1em 0}.buttons-right{text-align:right}.overlay{display:flex;position:fixed;top:0;left:0;bottom:0;right:0;transition:all .3s;background:rgba(255,255,255,.9)}.overlay .overlay-content{font-size:1.2em;flex:0 50%;padding:1em 2em;border:solid 1px #dae1e5;background:#ffffff;box-shadow:0 0 3em #00000040}.overlay.error{display:flex;position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0,10,0,.9)}.overlay.error .overlay-content{color:#fff;background:rgb(150,10,0)}
+0 −1
Changes for public/dist/assets/SignatureFlows-f3139c10.css: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
.signatureflows{background:#990000}
+0 −1
Changes for public/dist/assets/signatureflows-9b3f8ce1.js: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
import{c as r,o as a,a as _}from"../vendor.js";const l=(t,o)=>{const e=t.__vccOpts||t;for(const[n,s]of o)e[n]=s;return e},p={},i={class:"signatureflows"};function u(t,o,e,n,s,g){return a(),r("section",i," LISTE / FICHE ")}const d=l(p,[["render",u]]);let c="#signatureflows",f=document.querySelector(c);const m=_(d,{entrypoint:f.dataset.entrypoint});m.mount(c);
Loading