{% extends "base.html" %} {% block title %}New Quote{% endblock %} {% block header %}Quotes{% endblock %} {% block content %} {% set linked_branch = opp.branch if opp.branch else (opp.lead.branch if opp.lead and opp.lead.branch else None) %} {% set linked_client = opp.client if opp.client else (opp.lead.client if opp.lead and opp.lead.client else None) %}
Commercial Quote Creation

Create Quote

Opportunity: {{ opp.opp_code }} • {{ opp.title }} {% if opp.company %} • {{ opp.company }} {% endif %}
{{ opp.opp_code }} {% if opp.owner %} {{ opp.owner.name }} {% endif %} {% if linked_client %} Client Linked {% else %} Client Not Linked {% endif %}
Expected Close
{{ opp.expected_close_date.strftime('%d %b %Y') if opp.expected_close_date else '—' }}
Opportunity Code
{{ opp.opp_code }}
{{ opp.title }}
Owner
{{ opp.owner.name if opp.owner else '—' }}
Opportunity owner
Expected Close
{{ opp.expected_close_date.strftime('%d %b %Y') if opp.expected_close_date else '—' }}
Forecasted closing date
{% if linked_client or linked_branch %}
Linked Client Details
Customer Branch Snapshot
GST will be calculated using this linked customer branch state.
Linked
Client
{{ linked_client.company_name if linked_client else '—' }}
Branch
{{ linked_branch.branch_location if linked_branch else '—' }}
GSTIN
{{ linked_branch.gst if linked_branch and linked_branch.gst else '—' }}
Country
{{ linked_branch.country_master.name if linked_branch and linked_branch.country_master else (linked_branch.country if linked_branch else '—') }}
State
{{ linked_branch.state_master.name if linked_branch and linked_branch.state_master else (linked_branch.state if linked_branch else '—') }}
City
{{ linked_branch.city if linked_branch and linked_branch.city else '—' }}
{% else %}
No linked client branch found
Quote will still be created, but GST may default to IGST until customer branch details are linked.
{% endif %}
Draft Quote Details
Create Draft Quote
Select quote currency, estimated closure date and add proposal notes.
Draft
Quote Configuration
Quote currency for calculations and proposal.
Forecasted closing date.
{% if linked_branch %} {% set customer_state = linked_branch.state_master.name if linked_branch.state_master else linked_branch.state %} {{ customer_state or 'Customer state not set' }} {% else %} Customer branch not linked {% endif %}
Same state as company branch = CGST + SGST, different state = IGST.
After creating this draft, you can add quote line items, service mapping, billing cycles, discounts and GST settings from the quote editor.
Next Step
Create Draft First
Once the draft is created, you can add detailed line items and request approval.
Cancel
Notes
Visible in proposal PDF.
Visible only internally.
{% endblock %}