Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
open-source
OSE
Commits
1b5ff9d3
Commit
1b5ff9d3
authored
Apr 23, 2019
by
Laurent Lécluse
Browse files
Mise en évidence des relations parent/fille dans le tableau
parent
1d097333
Changes
2
Hide whitespace changes
Inline
Side-by-side
module/Application/src/Application/Form/FonctionReferentiel/FonctionReferentielSaisieForm.php
View file @
1b5ff9d3
...
...
@@ -37,8 +37,8 @@ class FonctionReferentielSaisieForm extends AbstractForm
$this
->
add
([
'name'
=>
'parent'
,
'options'
=>
[
'label'
=>
'
Fonction parente
'
,
'empty_option'
=>
"Pas de fonction
parente
"
,
'label'
=>
'
Type de fonction
'
,
'empty_option'
=>
"Pas de
type de
fonction"
,
'value_options'
=>
Util
::
collectionAsOptions
(
$this
->
getFonctionsReferentiellesParentes
()),
],
'attributes'
=>
[
...
...
module/Application/view/application/fonction-referentiel/index.phtml
View file @
1b5ff9d3
...
...
@@ -13,7 +13,7 @@ $canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::REFERENTIEL_AD
?>
<h1
class=
"page-header"
>
Référentiel fonctions
</h1>
<table
class=
"table table-bordered table-sort"
>
<table
class=
"table table-bordered table-sort"
data-sort=
"false"
>
<thead>
<th>
Code
</th>
<th>
Libelle
</th>
...
...
@@ -28,7 +28,7 @@ $canEdit = $this->isAllowed(Privileges::getResourceId(Privileges::REFERENTIEL_AD
<tbody>
<?php
foreach
(
$fonctionsReferentiels
as
$fr
)
:
?>
<tr>
<td>
<?=
$fr
->
getCode
()
?>
<td
data-order=
"
<?=
(
$fr
->
getParent
()
?
$fr
->
getParent
()
->
getCode
()
.
'.'
:
''
)
.
$fr
->
getCode
()
?>
"
style=
"
<?=
$fr
->
getParent
()
?
'padding-left: 5em'
:
''
?>
"
>
<?=
$fr
->
getCode
()
?>
</td>
<td>
<?=
$fr
->
getLibelleLong
()
?>
</td>
<td>
<?=
$fr
->
getLibelleCourt
()
?>
</td>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment