{% extends "base_authenticated.html" %} {% block title %}Import Batch Details - {{ COMPANY_NAME }}{% endblock %} {% block extra_head %} {% endblock %} {% block page_title %}Import Batch Details{% endblock %} {% block content %}

Import Batch Details

Batch ID: {{ batch_summary.batch_id }}

View All Records {% if session.role == 'admin' %} {% endif %}
{{ batch_summary.total_records }}
Total Records
{{ batch_summary.unique_employees }}
Unique Employees
{{ batch_summary.unique_locations }}
Locations
{{ batch_summary.date_range.start.strftime('%Y-%m-%d') }}
Start Date
{{ batch_summary.date_range.end.strftime('%Y-%m-%d') }}
End Date

Import Information

Import Date: {{ batch_summary.import_date.strftime('%Y-%m-%d %H:%M:%S') if batch_summary.import_date else 'Unknown' }}

Import Source: {{ batch_summary.import_source or 'Not specified' }}

Batch ID: {{ batch_summary.batch_id }}

Actions Breakdown

{% for action, count in batch_summary.actions.items() %}
{{ action }} {{ count }} records
{% endfor %}

Employee Summary

{% for emp_id, emp_data in batch_summary.employee_summary.items() %}
{{ emp_data.name }} (ID: {{ emp_id }}) {{ emp_data.count }} records
{% endfor %}
{% endblock %}