{% extends "base.html" %} {% block content %}

Appraisal Audit Logs

Appraisal ID: #{{ a.id }}
Employee ID: {{ a.employee_id }}
Status: {{ a.status }}
Recent Actions
{% for l in logs %} {% else %} {% endfor %}
When By (Employee ID) Action Details
{{ l.created_at.strftime('%d-%b-%Y %I:%M %p') }} {{ l.created_by_id or '-' }} {{ l.action }}
View
{% if l.old_data %}
Old
{{ l.old_data | tojson(indent=2) }}
{% endif %} {% if l.new_data %}
New
{{ l.new_data | tojson(indent=2) }}
{% endif %}
No audit logs.
{% endblock %}