{% extends "documents/base_document.html" %} {% load humanize %} {# Quote counterpart to sales_invoice.html. Overrides the same blocks. #} {% block extra_styles %} /* base_document.html ships banners for the invoice statuses. Quotes add expired/accepted/lost, which have no invoice equivalent. */ .doc-status-banner.status-expired { background: #6b7280; color: #fff; } .doc-status-banner.status-accepted { background: {{ brand.colors.green }}; color: #fff; } .doc-status-banner.status-lost { background: #991b1b; color: #fff; } .validity-note { margin-top: 18px; padding: 10px 14px; border-left: 3px solid {{ brand.colors.bronze }}; background: #faf7f2; font-size: 11px; } /* Keep a conditions/notes block whole rather than splitting a paragraph across a page break. */ .validity-note, .terms-box { page-break-inside: avoid; } .terms-box { margin-top: 18px; font-size: 11px; } .terms-box h4 { margin: 0 0 4px; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: {{ brand.colors.forest }}; } {% endblock %} {% block doc_type %}QUOTE{% endblock %} {% block doc_number %} {{ quote.quote_number }}{% if quote.revision_number > 1 %} rev {{ quote.revision_number }}{% endif %} {% endblock %} {% block doc_dates %}