1 | {% extends 'base_registro.html' %} |
---|
2 | {% load static from staticfiles %} |
---|
3 | {% load i18n %} |
---|
4 | {% block titulo_registro %}{% trans 'Consulta de Productos' %}{% endblock %} |
---|
5 | {% block form_buttons %}{% endblock %} |
---|
6 | {% block form_list_data %} |
---|
7 | <div class="divider-vertical-20"></div> |
---|
8 | <table id="lista-pr" class="table table-striped table-bordered dataTable hover display responsive" width="100%" cellspacing="0"> |
---|
9 | <thead> |
---|
10 | <tr class="table-caption" id="table-caption"> |
---|
11 | <th colspan="5" class="text-right"> |
---|
12 | <i class="glyphicon glyphicon-download-alt tip-left icon-link" |
---|
13 | data-toggle="tooltip" onclick="$('#lista-ue').tableExport({type: 'csv', escape: 'false', consoleLog: 'true'})" |
---|
14 | title="{% trans 'Presione sobre el botón de descargar para obtener el archivo con los datos consultados' %}"></i>  |
---|
15 | {% trans 'Descargar' %} .csv |
---|
16 | </th> |
---|
17 | </tr> |
---|
18 | <tr class="text-center"> |
---|
19 | <th>{% trans 'Modelar' %}</th> |
---|
20 | <th>{% trans 'Nombre del Producto' %}</th> |
---|
21 | <th>{% trans 'Código Arancelario' %}</th> |
---|
22 | <th>{% trans 'Especificaciones Técnicas' %}</th> |
---|
23 | <th>{% trans 'Requerimientos' %}</th> |
---|
24 | </tr> |
---|
25 | </thead> |
---|
26 | {% if datos %} |
---|
27 | <tbody> |
---|
28 | {% for pr in datos %} |
---|
29 | <tr> |
---|
30 | <td class="text-center"> |
---|
31 | <i class="fa fa-sitemap tip-top icon-link" data-toggle="tooltip" |
---|
32 | title="{% trans 'Presione sobre el botón para modelar la cadena de este producto' %}" |
---|
33 | onclick="modelar_producto('{{ pr.id }}', $('#modelar-cadena-form').html(),'{{pr.planta_id.ue_rif.rif}}')"></i> |
---|
34 | </td> |
---|
35 | <td>{{ pr.nombre }}</td> |
---|
36 | <td>{{ pr.codigo_aran_id }}</td> |
---|
37 | <td>{{ pr.esp_tec }}</td> |
---|
38 | <td class="text-center"> |
---|
39 | <a href="#" class="text-link tip-top" data-toggle="tooltip" |
---|
40 | title="{% trans 'Presione sobre el enlace para determinar el requerimiento de divisas' %}" |
---|
41 | onclick="requerimiento_divisas('ue', '{{ pr.planta_id.ue_rif.rif }}', $('#req-divisas-form').html())"> |
---|
42 | {% trans 'Divisas' %} |
---|
43 | </a> |
---|
44 | </td> |
---|
45 | </tr> |
---|
46 | {% endfor %} |
---|
47 | </tbody> |
---|
48 | {% endif %} |
---|
49 | </table> |
---|
50 | {% endblock %} |
---|
51 | {% block forms_popup %}{% include 'popup_form.html' %}{% endblock %} |
---|
52 | {% block class_contenedor %}container-fluid{% endblock %} |
---|