{% extends "base.html" %}{% block title %}Translator Details{% endblock %}{% block content %}
Translator Portal

{{ vendor.name }}

TransId {{ vendor.external_translator_id }}
{% if vendor.portal_active %}Portal Active{% else %}Portal Not Active{% endif %}
Translator Summary
{% for l,v in [('Email',vendor.email),('Phone',vendor.phone),('Currency',vendor.currency),('Vendor Status',vendor.status),('Onboarding',(vendor.onboarding_status or 'NOT_STARTED')|replace('_',' ')|title),('Last Login',vendor.last_login_at.strftime('%d %b %Y, %I:%M %p') if vendor.last_login_at else 'Never'),('Password Changed',vendor.password_changed_at.strftime('%d %b %Y') if vendor.password_changed_at else 'Never')] %}
{{ l }}
{{ v or '—' }}
{% endfor %}
Vendor Profile
{% set op=vendor.onboarding_profile %}{% for l,v in [('Date of Birth',op.date_of_birth.strftime('%d %b %Y') if op and op.date_of_birth else None),('Gender',op.gender if op else None),('Years of Experience',((op.years_of_experience|string) ~ ' years') if op and op.years_of_experience is not none else None),('Native Language',(op.native_language.name if op.native_language else op.native_language_other) if op else None),('Voice Modulation',op.voice_modulation_type if op else None),('Domains',(op.domains|map(attribute='name')|join(', ')) if op and op.domains else None)] %}
{{ l }}
{{ v or '—' }}
{% endfor %}
Billing & Payment Profile
{% if vendor.billing_profile and vendor.billing_profile.is_complete %}Complete{% else %}Incomplete{% endif %}
{% set bp=vendor.billing_profile %}{% for l,v in [('Beneficiary Name',bp.beneficiary_name if bp else None),('Billing Address',bp.billing_address if bp else None),('Bank Name',bp.bank_name if bp else None),('Bank Address',bp.bank_address if bp else None),('Account Number',bp.bank_account_number if bp else None),('IFSC',bp.ifsc_code if bp else None),('SWIFT / BIC',bp.swift_code if bp else None),('IBAN',bp.iban if bp else None),('PAN Number',bp.pan_number if bp else None),('GST Registered',('Yes' if bp.gst_registered else 'No') if bp and bp.gst_registered is not none else None),('GSTIN',bp.gstin if bp else None),('PayPal ID',bp.paypal_id if bp else None),('Confirmed',bp.profile_confirmed_at.strftime('%d %b %Y, %I:%M %p') if bp and bp.profile_confirmed_at else None)] %}
{{ l }}
{{ v or '—' }}
{% endfor %}
Portal Controls

Sensitive actions are permission controlled and logged.

{% if can_manage %}{% if vendor.portal_active %}
{% else %}
{% endif %}{% endif %}{% if can_reset %}
{% if vendor.locked_until and vendor.locked_until > now %}
{% endif %}{% endif %}
{% for l,v in [('Total Jobs',counts.total),('Open Jobs',counts.open),('Completed',counts.completed)] %}
{{ l }}
{{ v }}
{% endfor %}
Recent Assignments
{% for a in assignments %}{% set s=a.jobcard_service %}{% set jc=s.jobcard if s else None %}{% else %}{% endfor %}
AssignmentServiceQtyRateDeadlineStatus
{{ jc.jobcard_code if jc else '—' }}
#{{ a.id }}
{{ s.service_name if s else '—' }}{{ a.assigned_qty or 0 }}{{ vendor.currency or '' }} {{ a.rate or 0 }}{% if a.flat_rate %} Flat{% endif %}{{ a.deadline.strftime('%d %b %Y, %I:%M %p') if a.deadline else '—' }}{{ a.status }}
No assignments found.
{% endblock %}