Commit 3b7020e4 authored by Alexandre Zvenigorosky's avatar Alexandre Zvenigorosky
Browse files

Affichage des années

parent fafa3291
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -19,5 +19,8 @@
        "unicaen/code"              : "1.1.6",
        "unicaen/import"            : "1.1.6",
        "unicaen/tbl"               : "1.0.3"
    },
    "require-dev": {
        "phpunit/phpunit": "^6"
    }
}
+1407 −3

File changed.

Preview size limit exceeded, changes collapsed.

+3 −2
Original line number Diff line number Diff line
@@ -9,7 +9,7 @@ use Application\Provider\Privilege\Privileges;

$this->headTitle()->append("Centres de cout");

$canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::DROIT_PRIVILEGE_EDITION));
$canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::ODF_CENTRES_COUT_EDITION));

?>
<h1 class="page-header">Centres de coûts</h1>
@@ -30,7 +30,8 @@ $i = 0;
    <th style="word-wrap: break-word ; ">Activité</th>
    <th style="word-wrap: break-word ; ">Type de ressource</th>
    <th style="word-wrap: break-word ; ">Unité budgétaire</th>
    <?php if ($canEdit) echo '<th style="word-wrap: break-word ; ">Source/Actions</th>' ?>
    <?php if ($canEdit) echo '<th style="word-wrap: break-word ; ">Source/Actions</th>';
    else echo '<th style="word-wrap: break-word ; ">Source</th>'?>
    <th style="word-wrap: break-word ; ">Structure</th>
    </thead>
    <tbody>