{% extends "templates/web.html" %} {% from "erpnext/templates/includes/order/order_macros.html" import item_name_and_description %} {% block breadcrumbs %} {% include "templates/includes/breadcrumbs.html" %} {% endblock %} {% block title %}{{ doc.name }}{% endblock %} {% block header %}
{{ _("Valid Till") }}: {{ frappe.utils.format_date(doc.valid_till, 'medium') }}
{% endif %}
{%- set party_name = doc.supplier_name if doc.doctype in ['Supplier Quotation', 'Purchase Invoice', 'Purchase Order'] else doc.customer_name %}
{{ party_name }}
{% if doc.contact_display and doc.contact_display != party_name %}
{{ doc.contact_display }}
{% endif %}
{{ _("Delivered") }} {{ d.delivered_qty }}
{% endif %}{{ _("Rate:") }} {{ d.get_formatted("rate") }}
Available Points: {{ available_loyalty_points }}
{{ doc.terms }}