{% extends "layouts/base.html" %} {% load i18n %} {% load static %} {% block title %}{% trans "Doctor Rating Import Jobs" %} - PX360{% endblock %} {% block content %}
{% trans "Track doctor rating import jobs" %}
| {% trans "Job Name" %} | {% trans "Hospital" %} | {% trans "Source" %} | {% trans "Status" %} | {% trans "Progress" %} | {% trans "Results" %} | {% trans "Created" %} | {% trans "Actions" %} |
|---|---|---|---|---|---|---|---|
|
{{ job.name|truncatechars:40 }} |
{{ job.hospital.name }} |
{% if job.source == 'his_api' %} {% trans "HIS API" %} {% else %} {% trans "CSV Upload" %} {% endif %} | {% if job.status == 'pending' %} {% trans "Pending" %} {% elif job.status == 'processing' %} {% trans "Processing" %} {% elif job.status == 'completed' %} {% trans "Completed" %} {% elif job.status == 'failed' %} {% trans "Failed" %} {% elif job.status == 'partial' %} {% trans "Partial" %} {% endif %} |
|
{% if job.is_complete %}
{{ job.success_count }}
{% if job.failed_count > 0 %}
{{ job.failed_count }}
{% endif %}
{% else %}
{{ job.processed_count }} / {{ job.total_records }}
{% endif %}
|
{{ job.created_at|date:"Y-m-d H:i" }} |
{% trans "View" %} |
{% trans "No import jobs found. Start by importing doctor ratings." %}
{% trans "Import Ratings" %}