Skip to content
Snippets Groups Projects
Commit ed4ef066 authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Petites corrections Tags

parent 45df47bf
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ return [
'name' => 'CODE',
'type' => 'string',
'bdd-type' => 'VARCHAR2',
'length' => 3,
'length' => 10,
'scale' => NULL,
'precision' => NULL,
'nullable' => FALSE,
......
......@@ -11,7 +11,7 @@
<id name="id" type="integer" column="ID">
<generator strategy="SEQUENCE"/>
</id>
<field name="code" type="string" column="CODE" length="3" nullable="false"/>
<field name="code" type="string" column="CODE" length="10" nullable="false"/>
<field name="histoCreation" type="datetime" column="HISTO_CREATION" nullable="false"/>
<field name="histoDestruction" type="datetime" column="HISTO_DESTRUCTION" nullable="true"/>
<field name="histoModification" type="datetime" column="HISTO_MODIFICATION" nullable="false"/>
......
......@@ -54,6 +54,14 @@ class ReferentielsViewHelper extends AbstractViewHelper
'visibility' => true,
'head-text' => "<th title=\">Commentaires éventuels\">Commentaires</th>",
],
'motif-non-paiement' => [
'visibility' => false,
'head-text' => "<th title=\"Nombre d'heures\">Motif de non paiement</th>",
],
'tags' => [
'visibility' => false,
'head-text' => "<th>Tag</th>",
],
'heures' => [
'visibility' => true,
'head-text' => "<th title=\"Nombre d'heures\">Heures</th>",
......@@ -132,9 +140,7 @@ class ReferentielsViewHelper extends AbstractViewHelper
$canEditTag = $this->getView()->isAllowed($this->getIntervenant(), Privileges::TAG_EDITION);
$this->columns['tags']['visibility'] = ($canEditTag || $canViewTag) ? true : false;
$this->columns['tags']['head-text'] = '<th>Tag</th>';
$this->columns['motif-non-paiement']['visibility'] = ($canEditMNP || $canViewMNP) ? true : false;
$this->columns['motif-non-paiement']['head-text'] = '<th>Motif de non paiement</th>';
$attribs = [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment