{% 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 de la solicitud de cotización") }}
{{ registro.grand_total or "0" }}
{% if negotiation_round %}
{{ _("Ronda %(number)s", number=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ículo") }}{{ _("Proveedor") }}{{ _("Cantidad") }}{{ _("Tarifa") }}{{ _("Total") }}
{{ 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: %(count)s · Mínimo requerido: %(minimum)s", count=offers|length, minimum=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ículo") }}{{ _("Cantidad") }}{{ 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 %(minimum)s ofertas.", minimum=sourcing_config.minimum_offers) }}
{% 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 %}