<div class="nav-tabs-custom" style="min-height: 0px;">
<ul class="nav nav-tabs">
<li class="active"><a href="#tab_1-{{hash_vista}}" data-toggle="tab">Adquisiciones</a></li>
<li><a href="#tab_2-{{hash_vista}}" data-toggle="tab">Tareas</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tab_1-{{hash_vista}}">
<div>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Código</th>
<th>Tipo Operación</th>
<th>Descripción</th>
<th>Fecha Inicia</th>
<th>Fecha Termina</th>
<th class="success">Planeado</th>
<th class="warning">Ejecutado</th>
<th>Registrar Avance</th>
</tr>
</thead>
<tbody>
{% if OperacionesAdquisicion %}
{% for planOperacion in OperacionesAdquisicion %}
<tr>
<td>
{{ planOperacion.planOperacionCODIGO }}
</td>
<td>
{{ planOperacion.tipoOperacionTITULO }}
</td>
<td class="titulo-flotante" title="{{ planOperacion.planOperacionDESCRIPCION|striptags }}">
{{ planOperacion.planOperacionDESCRIPCION| striptags[0:50] }}...
</td>
<td>
{{ planOperacion.planOperacionFCHINICIO }}
</td>
<td>
{{ planOperacion.planOperacionFCHFINAL }}
</td>
<td>
{{ planOperacion.planOperacionPRESUPUESTADO|number_format }}
</td>
<td>
{{ planOperacion.TotalGastado.TOTAL|number_format }}
</td>
<td style="text-align:center;">
<button data-skin="skin-yellow" class="btn btn-warning btn-xs" title="Registrar Avance" onclick="registrarAvance_{{hash_padre}}('{{planOperacion.planOperacionID}}','{{TipoPlanID}}','{{Actividad.actividadID}}')"><i class="fa fa-list-alt"></i></button>
</td>
</tr>
{% endfor %}
{% endif %}
</tbody>
</table>
</div>
</div>
<div class="tab-pane" id="tab_2-{{hash_vista}}">
<div>
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Código</th>
<th>Tipo Operación</th>
<th>Descripción</th>
<th>Fecha Inicia</th>
<th>Fecha Termina</th>
<th class="success">Planeado</th>
<th class="warning">Ejecutado</th>
<th>Registrar Avance</th>
</tr>
</thead>
<tbody>
{% if OperacionesTarea %}
{% for planOperacion in OperacionesTarea %}
<tr>
<td>
{{ planOperacion.planOperacionCODIGO }}
</td>
<td>
{{ planOperacion.tipoOperacionTITULO }}
</td>
<td class="titulo-flotante" title="{{ planOperacion.planOperacionDESCRIPCION|striptags }}">
{{ planOperacion.planOperacionDESCRIPCION| striptags[0:50] }}...
</td>
<td>
{{ planOperacion.planOperacionFCHINICIO }}
</td>
<td>
{{ planOperacion.planOperacionFCHFINAL }}
</td>
<td>
{{ planOperacion.planOperacionPRESUPUESTADO|number_format }}
</td>
<td>
{{ planOperacion.TotalGastado.TOTAL|number_format }}
</td>
<td style="text-align:center;">
<button data-skin="skin-yellow" class="btn btn-warning btn-xs" title="Registrar Avance" onclick="registrarAvance_{{hash_padre}}('{{planOperacion.planOperacionID}}','{{TipoPlanID}}','{{Actividad.actividadID}}')"><i class="fa fa-list-alt"></i></button>
</td>
</tr>
{% endfor %}
{% endif %}
</tbody>
</table>
</div>
</div>
</div>
</div>