{% if software_type == 'SAAS' %}
{% if current_user.has_perm('software.vendors.manage') %}
Add Software Vendor
{% endif %}
{% endif %}
{% if current_user.has_perm('software.jobcard.close') and jobcard.status not in ['Ready For Billing','Completed'] %}
{% endif %}
No Production, QC, workload or translator assignment is required for SaaS Jobcards.
{% for svc in services %}
{% set cost = saas_costs.get(svc.id) %}
{{ svc.service_name or (svc.quote_item.item_name if svc.quote_item else 'SaaS Product') }}
{% if svc.quote_item %}{{ svc.quote_item.item_name }}{% endif %}
· Qty {{ svc.total_quantity or (svc.quote_item.qty if svc.quote_item else 0) or 0 }}
{% if svc.quote_item and svc.quote_item.billing_cycle %} · {{ svc.quote_item.billing_cycle|replace('_',' ')|title }}{% endif %}
{% if svc.quote_item %}{% set subscription = saas_subscriptions_by_quote_item.get(svc.quote_item.id) %}{% if subscription %}Subscription Created{% else %}Subscription Pending{% endif %}{% endif %}
{{ svc.status }}
{% if not software_vendors %}
No Software Vendor added yet. Add the SaaS supplier first; this list is separate from the existing Vendor Management module.
{% if current_user.has_perm('software.vendors.manage') %}Add Software Vendor{% endif %}
{% endif %}
{% set saas_locked = jobcard.status in ['Ready For Billing','Completed'] or jobcard.closed_at %}
{% endfor %}
{% else %}
{{ 'AMC' if software_type == 'AMC' else 'Development' }} Execution
Assignments & Work Hours
Assign work, track effort and see planned versus actual execution cost in one place.
{{ total_assignments }} Assignment(s)
{% for svc in services %}
{% set rows = assignments_by_service.get(svc.id, []) %}
{% set total_logged = namespace(v=0) %}
{% set total_estimated_cost = namespace(v=0) %}
{% set total_actual_cost = namespace(v=0) %}
{% for a in rows %}
{% set total_logged.v = total_logged.v + (logged_hours.get(a.id, 0) or 0) %}
{% set total_estimated_cost.v = total_estimated_cost.v + (estimated_costs.get(a.id, 0) or 0) %}
{% set total_actual_cost.v = total_actual_cost.v + (actual_costs.get(a.id, 0) or 0) %}
{% endfor %}
{{ svc.service_name or (svc.quote_item.item_name if svc.quote_item else 'Software Service') }}
{% if subtasks %}{{done_subtasks}}/{{subtasks|length}}{% endif %}
{% for st in subtasks %}
{{st.title}}
{% if st.description %}
{{st.description}}
{% endif %}
{{st.priority|title}}{% if st.due_date %}{{st.due_date.strftime('%d %b %Y')}}{% endif %}{{st.status|replace('_',' ')|title}}
{% if assignment.status != 'COMPLETED' and (current_user.has_perm('software.time.create') or current_user.has_perm('software.assignment.manage')) %}{% endif %}
{% else %}
No subtasks yet. Add the first subtask below.
{% endfor %}
{% if current_user.has_perm('software.assignment.manage') and assignment.status != 'COMPLETED' %}
Add Subtask
{% endif %}
Work Hours
Log time against a specific subtask or general task.
{{assignment.time_entries.count()}} logs
{% if assignment.time_entries.count() %}View work history
{% for entry in assignment.time_entries.all()|sort(attribute='work_date', reverse=true) %}