{% extends "base.html" %} {% block title %}Create Jobcard{% endblock %} {% block header %}Create Jobcard{% endblock %} {% block content %} {% set client_name = quote.client.company_name if quote.client else '—' %} {% set branch = quote.branch %}
Operations Jobcard Request

Create Jobcard - {{ quote.quote_code }}

Proposal confirmed on {{ quote.proposal_confirmed_at.strftime("%d-%m-%Y %I:%M %p") if quote.proposal_confirmed_at else "—" }}
Ops Assignment
Assigned To
{{ quote.ops_assigned_to.name if quote.ops_assigned_to else current_user.name }}
Assigned By
{{ quote.ops_assigned_by.name if quote.ops_assigned_by else '—' }}
Assigned At
{{ quote.ops_assigned_at.strftime('%d-%m-%Y %I:%M %p') if quote.ops_assigned_at else '—' }}
{{ quote.ops_assignment_status or 'Pending Jobcard' }}
Confirmed Quote Details
Quote Code
{{ quote.quote_code }}
Currency
{{ quote.currency or 'INR' }}
Total Amount
{{ quote.currency or 'INR' }} {{ indian_amount(quote.total_amount or quote.total or 0) }}
Client / Billing Details
Client
{{ client_name }}
Billing State
{{ quote.billing_state or '—' }}
GSTIN
{{ quote.billing_gstin or (branch.gst if branch else '—') or '—' }}
Confirmed Quote Line Items
Service-wise Jobcard Requirements
These line items will be converted into jobcard service lines.
{{ items|length }} Item(s)
{% for item in items %} {% else %} {% endfor %}
Item Service Description Qty Rate Amount
{{ item.item_name }} {% if item.service %} {{ item.service.name }} {% else %} — {% endif %} {{ item.description or '—' }} {{ item.qty or 0 }} {{ quote.currency or 'INR' }} {{ indian_amount(item.rate or 0) }} {{ quote.currency or 'INR' }} {{ indian_amount(item.amount or 0) }}
No quote line items found.
Internal Processes
Select Required Internal Process Flow
Select optional internal processes such as MT, MTPE, TPE or any process configured in the master. If MTPE is selected, MTPE details can be captured after the jobcard is created.
{{ internal_processes|length if internal_processes else 0 }} Available
{% if internal_processes and internal_processes|length > 0 %}
{% for process in internal_processes %} {% endfor %}
{% else %}
No active internal processes found
Create processes from Internal Process Master if you want to use MT, MTPE, TPE or similar flows.
{% endif %}
Service Fields
Capture Jobcard Service Details
Fill required service-specific fields for each confirmed quote line.
{% for item in items %} {% set service_fields = fields_by_service.get(item.service_id, []) %}
{{ item.item_name }}
Service: {{ item.service.name if item.service else 'No Service Mapped' }}
{% if item.description %}
{{ item.description }}
{% endif %}
{{ service_fields|length }} Field(s)
Qty: {{ item.qty or 0 }}
{% if service_fields|length > 0 %}
{% for field in service_fields %}
{% if field.field_type == "text" %} {% elif field.field_type == "textarea" %} {% elif field.field_type == "number" %} {% elif field.field_type == "date" %} {% elif field.field_type == "select" %} {% elif field.field_type == "file" %} {% else %} {% endif %} {% if field.field_key %}
Field key: {{ field.field_key }}
{% endif %}
{% endfor %}
{% else %}
No active jobcard fields are mapped for this service. You can still create the jobcard, but no service-specific details will be captured for this item.
{% endif %}
{% endfor %}
Ready to create this jobcard?
Please verify quote details, selected internal processes, proposal items, and required service fields before creating the jobcard.
{% endblock %}