Commit e41b07e3 authored by Jean-Baptiste Oellers's avatar Jean-Baptiste Oellers
Browse files

Ajout référentiels PCRU dans le menu

parent c1ead5e7
Loading
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
@@ -259,6 +259,14 @@ echo getenv('APPLICATION_ENV') ?: 'development' ?>">
                                    </li>
                                <?php endif; ?>

                                <?php if ($this->grant()->privilege(\Oscar\Provider\Privileges::ACTIVITY_PCRU)): ?>
                                    <li>
                                        <a class="dropdown-item" href="<?= $this->url('contratspcru') ?>">
                                            Contrats PCRU
                                        </a>
                                    </li>
                                <?php endif; ?>

                                <?php if ($this->grant()->privilege(\Oscar\Provider\Privileges::ACTIVITY_PAYMENT_SHOW)): ?>
                                    <li role="presentation" class="dropdown-header"><i class="icon-bank"></i> <?= $this->translate("Finance") ?></li>
                                    <li><a class="dropdown-item" href="<?= $this->url('payment') ?>?preset=coming"><?= $this->translate("Prochains versements") ?></a></li>
@@ -363,6 +371,11 @@ echo getenv('APPLICATION_ENV') ?: 'development' ?>">
                                        <?= $this->translate("Processus PCRU") ?></a>
                                    </a>
                                </li>
                                <li>
                                    <a class="dropdown-item" href="<?= $this->url('contract/pcru-api-referentiels') ?>">
                                        Référentiels API PCRU</a>
                                    </a>
                                </li>
                            <?php endif; ?>

                            <?php if ($this->grant()->privilege(\Oscar\Provider\Privileges::ACTIVITY_INDEX)): ?>