Commit 65ea160827a04ccd15ffa7271b2bb6bc8710a653

Authored by Wilmer
1 parent 0fb9bdff02
Exists in master

cambiada la vista del coordinador para adaptarla a los cambios hechos en el pida

app/Resources/views/cea/ascenso_mostar.html.twig
... ... @@ -4,6 +4,9 @@
4 4 <link href="{{ asset('assets/vendor/lightbox2/dist/css/lightbox.css') }}" rel="stylesheet">
5 5 <link rel="stylesheet" href="{{ asset('assets/vendor/chosen/chosen.min.css') }}">
6 6 <style>
  7 + .full {
  8 + width: 100%;
  9 + }
7 10 .wrapper {
8 11 width: 6.9rem;
9 12 height: 2rem;
... ... @@ -306,22 +309,47 @@
306 309 {% endif %}
307 310 </form>
308 311 </div>
309   - <!-- MOSTRAR ACTIVIDAD PIDA DEL DOCENTE -->
310   - {% if not pida %}
311   - <p class="alert alert-warning">El Docente no ha registrado todavía su actividad PIDA</p>
312   - {% else %}
313   - <div class="form-group">
314   - <label for="pida">PIDA:</label>
315   - <ul>
316   - <li>Objetivo Estratégico: {{pida.idPlanHistoricoNacionalEstrategico.nombre}}</li>
317   - <li>Ámbito: {{ pida.idActividadDocente.nombre }}</li>
318   - <li>Objetivo Específico: {{ pida.ObjetivoEspecifico }}</li>
319   - <li>Fecha inicio: {{ pida.fechaInicio | date('d-m-Y') }} </li>
320   - <li>Fecha final: {{ pida.fechaFinal | date('d-m-Y') }} </li>
321   -
322   - </ul>
323   - </div>
324   - {% endif %}
  312 + <!-- MOSTRAR ACTIVIDAD PIDA DEL DOCENTE -->
  313 + {% if not docente.pida %}
  314 + <p class="alert alert-warning">El Docente no ha registrado todavía su actividad PIDA</p>
  315 + {% else %}
  316 + <div class="col-md-12">
  317 + <div class="account-container full register">
  318 + <div class="content clearfix">
  319 + <h2>PIDA <span class="small" style="float: right;"> Estatus: {{ servicio.idEstatus }}</span></h2>
  320 + <table class="table table-bordered">
  321 + <th>Objetivo Histórico</th>
  322 + <th>Actividad Docente</th>
  323 + <th>Tarea Específica</th>
  324 + <th>Plazo</th>
  325 + <th>Estatus</th>
  326 + {% for pid in docente.pida | sort %}
  327 + <tr>
  328 + <td rowspan="{{ pid.pidaTareaEspecifico | length }}">
  329 + {{ pid.idPlanHistoricoNacionalEstrategico.nombre }}
  330 + </td>
  331 + <td rowspan="{{ pid.pidaTareaEspecifico | length }}">
  332 + {{ pid.idActividadDocente.nombre }}
  333 + </td>
  334 +
  335 + {% for tarea in pid.pidaTareaEspecifico | sort %}
  336 + <td>{{ tarea.pidaTareaEspecifico }}
  337 + </td>
  338 + <td>{{ tarea.idPidaPlazo }}</td>
  339 + <td>
  340 + {{ tarea.idPidaEstatus }}
  341 + </td>
  342 +
  343 + </tr>
  344 + {% endfor %}
  345 +
  346 + </tr>
  347 + {% endfor %}
  348 + </table>
  349 + </div>
  350 + </div>
  351 + </div>
  352 + {% endif %}
325 353  
326 354  
327 355  
... ...
app/Resources/views/cea/solicitudes_mostar.html.twig
... ... @@ -3,6 +3,9 @@
3 3 {{ parent() }}
4 4 <link href="{{ asset('assets/vendor/lightbox2/dist/css/lightbox.css') }}" rel="stylesheet">
5 5 <style>
  6 + .full{
  7 + width: 100%;
  8 + }
6 9 .wrapper {
7 10 width: 6.9rem;
8 11 height: 2rem;
... ... @@ -269,21 +272,46 @@
269 272 {% if not todo.pida %}
270 273 <p class="alert alert-warning">El Docente no ha registrado todavía su actividad PIDA</p>
271 274 {% else %}
272   - <div class="form-group">
273   - <label for="pida">PIDA:</label>
274   - {% for pida in todo.pida %}
275   - <ul>
276   - <li>Objetivo Estratégico: {{ pida.idPlanHistoricoNacionalEstrategico.nombre }}</li>
277   - <li>Ámbito: {{ pida.idActividadDocente.nombre }}</li>
278   - <li>Objetivo Específico: {{ pida.ObjetivoEspecifico }}</li>
279   - <li>Fecha inicio: {{ pida.fechaInicio | date('d-m-Y') }} </li>
280   - <li>Fecha final: {{ pida.fechaFinal | date('d-m-Y') }} </li>
281   -
282   - </ul>
  275 + <div class="col-md-12">
  276 + <div class="account-container full register">
  277 + <div class="content clearfix">
  278 + <h2>PIDA <span class="small" style="float: right;"> Estatus: {{ servicio.idEstatus }}</span></h2>
  279 + <table class="table table-bordered">
  280 + <th>Objetivo Histórico</th>
  281 + <th>Actividad Docente</th>
  282 + <th>Tarea Específica</th>
  283 + <th>Plazo</th>
  284 + <th>Estatus</th>
  285 + {% for pid in todo.pida | sort %}
  286 + <tr>
  287 + <td rowspan="{{ pid.pidaTareaEspecifico | length }}">
  288 + {{ pid.idPlanHistoricoNacionalEstrategico.nombre }}
  289 +
  290 + </td>
  291 + <td rowspan="{{ pid.pidaTareaEspecifico | length }}">
  292 + {{ pid.idActividadDocente.nombre }}
  293 + </td>
  294 +
  295 + {% for tarea in pid.pidaTareaEspecifico | sort %}
  296 + <td>{{ tarea.pidaTareaEspecifico }}
  297 +
  298 + </td>
  299 + <td>{{ tarea.idPidaPlazo }}</td>
  300 + <td>
  301 + {{ tarea.idPidaEstatus }}
  302 +
  303 + </td>
  304 +
  305 + </tr>
283 306 {% endfor %}
284 307  
  308 + </tr>
  309 + {% endfor %}
  310 + </table>
285 311 </div>
286   - {% endif %}
  312 + </div>
  313 + </div>
  314 + {% endif %}
287 315 {% if servicio.idEstatus.id == 3 %}
288 316 <button type="submit" class="btn btn-success" data-loading-text = "<i class='fa fa-circle-o-notch fa-spin'></i> Procesando Solicitud..." id="aprobar" name="aprobar">Aprobar</button>
289 317 {% elseif servicio.idEstatus.id == 2 %}
... ...