{% extends 'backoffice/base.html' %} {% block title %}Home Page{% endblock %} {% block content %}
{% if messages %}
{% for message in messages %}
{{ message }}
{% endfor %}
{% endif %}

STAFFS LIST

{% for staff in page_obj %} {% endfor %}
Fst Name Sec Name Email Phone Gender DoB Marital Status Empl Type Branch Status Action
{{ staff.first_name }} {{ staff.second_name }} {{ staff.email }} {{ staff.phone_number }} {{ staff.gender }} {{ staff.dob|date:"d/m/Y" }} {{ staff.marital_status }} {{ staff.employment_type }} {{ staff.branch.branch_name }} {{ staff.status }}
{% for staff in page_obj %} {% endfor %}
{% endblock %}