{% extends "base.html" %} {% load static %} {% block title %}{{ title }}{% endblock %} {% block page_title %}{{ title }}{% endblock %} {% block content %} {% include "partials/breadcrumb.html" %}
{% csrf_token %}

Customer & Delivery

{% if preselected_customer %}

Selected Customer

{{ preselected_customer.name }}

Mobile
{{ preselected_customer.mobile_number }}
WhatsApp
{{ preselected_customer.whatsapp_number|default:"—" }}
Alternate
{{ preselected_customer.alternate_number|default:"—" }}
Change Customer
{% if form.customer.errors %}

{{ form.customer.errors.0 }}

{% endif %} {% elif order %}
Customer Name
{{ order.customer.name }}
Mobile Number
{{ order.customer.mobile_number }}
WhatsApp Number
{{ order.customer.whatsapp_number|default:"—" }}
Alternate Number
{{ order.customer.alternate_number|default:"—" }}
{{ form.customer }} {% else %}

Enter at least 4 digits, click Search, then Select a customer from the popup.

{% if form.customer.errors %}

{{ form.customer.errors.0 }}

{% endif %}
{% endif %}
{{ form.order_date }}

Date when the order is received.

{{ form.expected_delivery_date }}

When the customer expects pickup/delivery.

{% if not is_create %}
{{ form.status }}
{% else %} {{ form.status }} {% endif %}
{{ form.remarks }}

Order Items

Click Add Item to add garments. Enter manual price based on condition/size. Price range is for reference only.

Item Qty Price Range Manual Price (₹) Line Total

No items added yet. Click Add Item to begin.

Discount & Payment

{{ form.discount_amount }}

{{ form.discount_amount.help_text }}

{{ form.advance_paid }}
{{ form.payment_mode }}

Order Summary

Subtotal
₹0.00
Grand Total
₹0.00
Balance
₹0.00
Cancel
{{ item_catalog|json_script:"item-catalog-data" }} {% if existing_items %} {% endif %} {% endblock %} {% block page_modals %} {% if is_create and not preselected_customer %} {% include "partials/customer_search_modal.html" %} {% endif %} {% endblock %} {% block extra_js %} {% if is_create and not preselected_customer %} {% endif %} {% endblock %}