Commit 8832e399bea45808985d6176240f710894ace899

Authored by Wilmer
1 parent 97958da07a
Exists in master

agrega el escalafón actual del docente junto con la fecha de obtenido ese escalafón

Showing 1 changed file with 17 additions and 7 deletions   Show diff stats
app/Resources/views/usuarios/index.html.twig
... ... @@ -14,12 +14,13 @@
14 14 <table class="table table-striped table-bordered table-condensed">
15 15 <thead>
16 16 <tr>
17   - <th>Id</th>
18   - <th>Nombres y Apellidos (Nombre usuario)</th>
19   - <th>Eje</th>
20   - <th>Estado</th>
21   - <th>Adscripción</th>
22   - <th>Acciones</th>
  17 + <th>Id</th>
  18 + <th>Nombres y Apellidos (Nombre usuario)</th>
  19 + <th>Eje</th>
  20 + <th>Estado</th>
  21 + <th>Adscripción</th>
  22 + <th>Escalafón Actual</th>
  23 + <th>Acciones</th>
23 24 </tr>
24 25 </thead>
25 26 <tbody>
... ... @@ -32,8 +33,17 @@
32 33 {% if usuario.idRolInstitucion.adscripcion %}
33 34 <td>CEA-UBV-{{ usuario.idRolInstitucion.adscripcion.anoAdscripcion }}-{{ usuario.idRolInstitucion.adscripcion.correlativoAdscripcion }}</td>
34 35 {% else %}
35   - <td>NO ADSCRITO</td>
  36 + <td>NO ADSCRITO.</td>
36 37 {% endif %}
  38 + <td>
  39 + {% for escalafones in usuario.idRolInstitucion.escalafones | sort %}
  40 + {% if loop.last %}
  41 + {{ escalafones }} desde {{ escalafones.fechaEscala | date('d-m-Y') }}
  42 + {% endif %}
  43 + {% endfor %}
  44 +
  45 +
  46 + </td>
37 47 <td>
38 48 <a href="{{ path('admin_usuarios_show', { 'id': usuario.id }) }}" class="btn btn-xs btn-info"><i class="fa fa-eye" ></i></a>
39 49 <a href="{{ path('admin_usuarios_edit', { 'id': usuario.id }) }}" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>
... ...