Commit 5d683af5 authored by Stéphane Bouvry (perso)'s avatar Stéphane Bouvry (perso)
Browse files

FIX : bug d'affichage des personnes/organisations

parent 7522f2f8
Loading
Loading
Loading
Loading
+2 −2
Changes for module/Oscar/view/oscar/project-grant/show.phtml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -222,7 +222,7 @@
                                return h(EntityWithRole.default, { props: {
                                        url: "<?= $this->url('contract/persons', ['id' => $entity->getId()]) ?>",
                                        urlNew: "<?= $this->url('personactivity/new', ['idenroller' => $entity->getId()]) ?>",
                                        manage: <?= $this->grant()->privilege(\Oscar\Provider\Privileges::ACTIVITY_PERSON_MANAGE) ? "true" : false ?>,
                                        manage: <?= $this->grant()->privilege(\Oscar\Provider\Privileges::ACTIVITY_PERSON_MANAGE) ? "true" : 'false' ?>,
                                        title: "Personne",
                                        roles: <?= json_encode($rolesPersons) ?>,
                                        moment: moment
@@ -254,7 +254,7 @@
                            return h(EntityWithRole.default, { props: {
                                    url: "<?= $this->url('contract/organizations', ['id' => $entity->getId()]) ?>",
                                    urlNew: "<?= $this->url('organizationactivity/new', ['idenroller' => $entity->getId()]) ?>",
                                    manage: <?= $this->grant()->privilege(\Oscar\Provider\Privileges::ACTIVITY_ORGANIZATION_MANAGE) ? "true" : false ?>,
                                    manage: <?= $this->grant()->privilege(\Oscar\Provider\Privileges::ACTIVITY_ORGANIZATION_MANAGE) ? "true" : 'false' ?>,
                                    title: "Organisation",
                                    roles: <?= json_encode($rolesOrganizations) ?>,
                                    moment: moment