{% extends "coffee_offers/coffee_offers_base.html" %} {% load i18n %} {% block detail_offers %}
OFERTA DE CAFE Oferta N°: OA-{{ offer.warehouse.location_id }}-{{ offer.contract }}
COMPRA POR FACTOR Fecha Oferta: Fecha: {{ offer.created_at }}
Estado Documento: {{ title_state }}
Status Oferta: {{ title_status }}

--- DATOS CAFICULTOR ---
Fecha: {{ offer.created_at }} Municipio Residencia: {{ user.profile.location }}
Vendedor: {{ user.get_full_name }} C.C. o NIT: {{ user.profile.document_id }}
Teléfono: {{ user.profile.phone }} - {{ user.profile.mobile }}
Email: {{ user.email }}

--- DETALLE OFERTA ---
Producto: {{ offer.product.product_id }} {{ offer.product.name }} Tipo de Compra: FACTOR x ACUERDO
Cantidad Kilos Ofertados: {{ offer.kg_offered|floatformat:"2g" }} Precio Ofertado por kilo: {{ offer.price|floatformat:"2g" }}
Valor de la Oferta: (${{ total_offer|floatformat:"2g" }}) {{ total_offer_words|upper }} PESOS COLOMBIANOS
Vigencia de Entrega: {{ offer.created_at }} Hasta: {{ offer.delivery_date }}
Factor Base Oferta {{ factor }}

--- ENTREGA DEL CAFÉ OFERTADO ---
Punto de Entrega: ({{ offer.warehouse.location_id }}) {{ offer.warehouse.location_name }}
Municipio de Entrega: {{ offer.warehouse.city_name }}
Fecha Máxima Entrega: {{ offer.delivery_date }}

Observaciones: PRUEBA DE OFERTA EN LINEA OA-{{ offer.warehouse.location_id }}-{{ offer.contract }}


{% endblock %} {% block footer_offers %}

Confirmó: {{ offer.confirmed_by }}

Fecha Confirmación: {{ offer.confirmed_at|date:"d/m/Y h:i:s A" }}

{% endblock %}