Commit 4cfbc551502183dff2885e3d408e7265332457ad
1 parent
30116611
Exists in
master
and in
3 other branches
Correction vue index des matèriels : redirection view materiels
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/Template/Materiels/index.ctp
@@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
18 | <tbody> | 18 | <tbody> |
19 | <?php foreach ($materiels as $materiel): ?> | 19 | <?php foreach ($materiels as $materiel): ?> |
20 | <tr> | 20 | <tr> |
21 | - <td><?= $materiel->has('designation') ? $this->Html->link($materiel->designation, ['controller' => 'Organismes', 'action' => 'view', $materiel->id]) : '' ?></td> | 21 | + <td><?= $materiel->has('designation') ? $this->Html->link($materiel->designation, ['controller' => 'Materiels', 'action' => 'view', $materiel->id]) : '' ?></td> |
22 | <td><?= h($materiel->numero_laboratoire) ?></td> | 22 | <td><?= h($materiel->numero_laboratoire) ?></td> |
23 | <td><?= $materiel->has('category') ? h($materiel->category->nom) : '' ?></td> | 23 | <td><?= $materiel->has('category') ? h($materiel->category->nom) : '' ?></td> |
24 | <td><?= $materiel->has('organisme') ? h($materiel->organisme->nom) : '' ?></td> | 24 | <td><?= $materiel->has('organisme') ? h($materiel->organisme->nom) : '' ?></td> |