{% extends "base.html" %} {% block contenido %} {% import "macros.html" as macros %} {%- if TESTING -%}
{%- endif -%}
Comparativo de Ofertas
{% if award and award.status == 'finalized' %}Finalizado{% elif award and award.status == 'used' %}Utilizado{% elif award and award.status == 'closed' %}Cerrado manualmente{% else %}Borrador{% endif %}
Solicitud de Cotización
{{ registro.document_no or registro.id }}
Fecha
{{ registro.posting_date or "-" }}
Total RFQ
{{ registro.grand_total or "0" }}
{% if negotiation_round %}
Ronda {{ negotiation_round.round_number }} · {{ 'Abierta' if negotiation_round.status == 'open' else 'Cerrada' }} {% if not award and negotiation_round.status == 'open' %} Agregar oferta a esta ronda {% endif %}
{% elif not award %}
{% endif %} {% if not award and is_purchase_sourcing_authorizer %}
Cierre manual
{% endif %} {% if award and award.status == 'finalized' %}
{% endif %} {% if award and award_lines %}
Líneas adjudicadas
{% for line in award_lines %} {% endfor %}
Detalle de líneas adjudicadas.
ArtículoProveedorCantidadTarifaTotal
{{ line.item_code }}{{ line.supplier_quotation_id }}{{ line.qty }}{{ line.rate }}{{ line.amount }}
{% endif %} {% if not award %}
Ofertas Recibidas
{% for offer in offers -%} {%- endfor %}
Comparativo de ofertas recibidas.
Proveedor Documento Total Detalle
{{ offer.supplier_name or offer.supplier_id or "-" }} {{ offer.document_no or offer.id }} {{ offer.grand_total or "" }} Ver
Adjudicación por línea
Ofertas aprobadas: {{ offers|length }} · Mínimo requerido: {{ sourcing_config.minimum_offers }}
{% for offer in offers %}{% endfor %} {% for item in rfq_items %} {% for offer in offers %} {% endfor %} {% endfor %}
Selección de ofertas por artículo.
ArtículoCantidad{{ offer.supplier_name or offer.id }}
{{ item.item_name or item.item_code }}{{ item.item_code }} {{ item.qty }} {{ item.uom or '' }} {% set line = offer_lines[offer.id][item.id] %} {% if line %} {% else %}Sin cobertura{% endif %}
{% if offers|length < sourcing_config.minimum_offers and not is_purchase_sourcing_authorizer %}
No se puede adjudicar: se requieren {{ sourcing_config.minimum_offers }} ofertas.
{% elif is_purchase_sourcing_authorizer %}
La justificación será obligatoria para una excepción de ofertas o una selección no recomendada.
{% endif %}
{% endif %} {% endblock %}