{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{{ staff.get_full_name }} - {% trans "Staff Details" %}{% endblock %} {% block content %}
{{ staff.job_title|default:"-" }} | {{ staff.get_department_type_display }}
| {% trans "Ref #" %} | {% trans "Title" %} | {% trans "Patient" %} | {% trans "Status" %} | {% trans "Severity" %} | {% trans "Role" %} | {% trans "Created" %} |
|---|---|---|---|---|---|---|
| {{ complaint.reference_number|default:complaint.id|truncatechars:10 }} | {{ complaint.title|truncatechars:50 }} | {% if complaint.patient %} {{ complaint.patient.get_full_name|truncatechars:25 }} {% elif complaint.patient_name %} {{ complaint.patient_name|truncatechars:25 }} {% else %} - {% endif %} | {% if complaint.status == 'open' %} {% trans "Open" %} {% elif complaint.status == 'in_progress' %} {% trans "In Progress" %} {% elif complaint.status == 'resolved' or complaint.status == 'partially_resolved' %} {% trans "Resolved" %} {% elif complaint.status == 'closed' %} {% trans "Closed" %} {% elif complaint.status == 'cancelled' %} {% trans "Cancelled" %} {% elif complaint.status == 'contacted' %} {% trans "Contacted" %} {% elif complaint.status == 'contacted_no_response' %} {% trans "No Response" %} {% else %} {{ complaint.get_status_display }} {% endif %} | {% if complaint.severity == 'critical' %} {% trans "Critical" %} {% elif complaint.severity == 'high' %} {% trans "High" %} {% elif complaint.severity == 'medium' %} {% trans "Medium" %} {% elif complaint.severity == 'low' %} {% trans "Low" %} {% else %} - {% endif %} | {{ row.role }} | {{ complaint.created_at|date:"M d, Y" }} |
{% trans "No complaints found for this staff member" %}
{{ activity.description|default:"-" }}
{% if activity.module %} {{ activity.module }} {% endif %} {% if activity.ip_address %} IP: {{ activity.ip_address }} {% endif %}{% trans "Create a user account to allow this staff member to log in to the system." %}
{% if user.is_px_admin or user.is_hospital_admin or user.is_department_manager and staff.department == user.department %} {% if staff.email %} {% else %}{% trans "Add email address first" %}
{% trans "Create a user account for" %} {{ staff.get_full_name }}?
{% trans "Credentials will be emailed to" %} {{ staff.email }}.
{% trans "Send invitation email to" %} {{ staff.get_full_name }}?
{% trans "A new password will be generated and emailed." %}
{% trans "Unlink user account from" %} {{ staff.get_full_name }}?
{% trans "This will remove login access. The user account will still exist but will no longer be linked to this staff profile." %}
{% trans "Password reset and email sent successfully!" %}
{% trans "Copy this password:" %}