{% extends "base.html" %} {% load tz %} {% block title %}Quotation {{ quotation.quote_number }} — Jason Studio{% endblock %} {% block extra_head %} {% endblock %} {% block content %}
{% if is_photographer_view %} Edit Back to Orders {% else %} Back to Events {% endif %}
{% if quotation.status == 'accepted' %}
ACCEPTED
{% elif quotation.status == 'declined' %}
DECLINED
{% elif quotation.is_expired %}
EXPIRED
{% endif %}

{% if photographer %}{{ photographer.business_name|default:"Jason Studio" }}{% else %}Jason Studio{% endif %}

Photography Services

{% if photographer.address %}

{{ photographer.address }}

{% endif %} {% if photographer.phone %}

{{ photographer.phone }}

{% endif %} {% if photographer.email %}

{{ photographer.email }}

{% endif %}

Quotation

Quote #: {{ quotation.quote_number }}

Date: {{ quotation.created|date:"N j, Y" }}

{% if quotation.valid_until %}

Valid Until: {{ quotation.valid_until|date:"N j, Y" }}

{% endif %}

Prepared For:
{{ customer.user.get_full_name|default:customer.user.username }}
{% if customer.company_name %}{{ customer.company_name }}
{% endif %} {% if customer.user.email %}{{ customer.user.email }}
{% endif %} {% if customer.phone %}{{ customer.phone }}{% endif %}
Event:
{{ event.name }}
{{ event.date }}
{% if event.location %}{{ event.location }}{% endif %}
{% for item in line_items %} {% endfor %} {% if quotation.deposit_amount and quotation.deposit_amount != 0 %} {% endif %} {% if quotation.tax_rate and quotation.tax_rate != 0 %} {% endif %}
# Description Qty Unit Cost Price
{{ forloop.counter }} {{ item.description }} {{ item.qty|floatformat:2 }} ${{ item.unit_cost|floatformat:2 }} ${{ item.price|floatformat:2 }}
Subtotal ${{ quotation.subtotal|floatformat:2 }}
Deposit Required -${{ quotation.deposit_amount|floatformat:2 }}
Tax ({{ quotation.tax_rate|floatformat:2 }}%) ${{ quotation.tax_amount|floatformat:2 }}
Total ${{ quotation.total|floatformat:2 }}
{% if quotation.notes %}
Notes:

{{ quotation.notes }}

{% endif %} {% if quotation.accepted_at %}

Accepted on {{ quotation.accepted_at|date:"N j, Y" }} by {{ quotation.accepted_by }}.

{% endif %}
{% if is_photographer_view %} {% if quotation.status == 'draft' or quotation.status == 'sent' %}
{% csrf_token %}
{% endif %} {% else %} {% if quotation.status == 'sent' or quotation.status == 'draft' %} {% if not quotation.is_expired %}
{% csrf_token %}
{% csrf_token %}
{% else %}
This quotation has expired. Please contact the photographer for a new quote.
{% endif %} {% endif %} {% endif %}
{% endblock %}