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,12 +14,13 @@
14 <table class="table table-striped table-bordered table-condensed"> 14 <table class="table table-striped table-bordered table-condensed">
15 <thead> 15 <thead>
16 <tr> 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 </tr> 24 </tr>
24 </thead> 25 </thead>
25 <tbody> 26 <tbody>
@@ -32,8 +33,17 @@ @@ -32,8 +33,17 @@
32 {% if usuario.idRolInstitucion.adscripcion %} 33 {% if usuario.idRolInstitucion.adscripcion %}
33 <td>CEA-UBV-{{ usuario.idRolInstitucion.adscripcion.anoAdscripcion }}-{{ usuario.idRolInstitucion.adscripcion.correlativoAdscripcion }}</td> 34 <td>CEA-UBV-{{ usuario.idRolInstitucion.adscripcion.anoAdscripcion }}-{{ usuario.idRolInstitucion.adscripcion.correlativoAdscripcion }}</td>
34 {% else %} 35 {% else %}
35 - <td>NO ADSCRITO</td> 36 + <td>NO ADSCRITO.</td>
36 {% endif %} 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 <td> 47 <td>
38 <a href="{{ path('admin_usuarios_show', { 'id': usuario.id }) }}" class="btn btn-xs btn-info"><i class="fa fa-eye" ></i></a> 48 <a href="{{ path('admin_usuarios_show', { 'id': usuario.id }) }}" class="btn btn-xs btn-info"><i class="fa fa-eye" ></i></a>
39 <a href="{{ path('admin_usuarios_edit', { 'id': usuario.id }) }}" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a> 49 <a href="{{ path('admin_usuarios_edit', { 'id': usuario.id }) }}" class="btn btn-xs btn-primary"><i class="fa fa-edit"></i></a>