{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Import Staff" %} - PX360{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
{% trans "Upload a CSV file to bulk-import staff into" %} {{ hospital.name }}
{% trans "Download the sample CSV for the exact format with an example row." %}
{% trans "Total Rows" %}
{{ results.total_rows }}
{% trans "Created" %}
{{ results.created_count }}
{% trans "Updated" %}
{{ results.updated_count }}
{% trans "Skipped" %}
{{ results.skipped_count }}
{% trans "Deactivated" %}
{{ results.deactivated_count }}
{% trans "Errors" %}
{{ results.error_count }}
| {% trans "Row" %} | {% trans "Staff ID" %} | {% trans "Name" %} | {% trans "Status" %} |
|---|---|---|---|
| {{ r.row }} | {{ r.id }} | {{ r.name }} | {{ r.message }} |
| {{ r.row }} | {{ r.id }} | {{ r.name }} | {{ r.message }} |
| {{ r.row }} | {{ r.id }} | {{ r.name }} | {{ r.message }} |
| {{ r.row }} | {{ r.id }} | {{ r.name }} | {{ r.message }} |
| {{ r.row }} | {{ r.id }} | {{ r.name }} | {{ r.message }} |
| {% trans "No rows found in the CSV file." %} | |||
{% trans "Preview looks good! Uncheck 'Dry run' and submit again to apply the import." %} {% if results.deactivated_count > 0 %} ({{ results.deactivated_count }} {% trans "staff would be deactivated" %}) {% endif %}