From 8e8cd1d2b7e41d2dc6cd24833cbdda88c15a7793 Mon Sep 17 00:00:00 2001 From: Horilla Date: Sat, 9 Sep 2023 14:02:04 +0530 Subject: [PATCH] [ADD]added payslip tab to employee profile --- .../employee/profile/profile_view.html | 17 +++++ .../templates/employee/view/individual.html | 17 +++++ employee/templates/payroll-tab.html | 76 +++++++++++++++++++ 3 files changed, 110 insertions(+) create mode 100644 employee/templates/payroll-tab.html diff --git a/employee/templates/employee/profile/profile_view.html b/employee/templates/employee/profile/profile_view.html index 36d4ff33d..2c798b800 100644 --- a/employee/templates/employee/profile/profile_view.html +++ b/employee/templates/employee/profile/profile_view.html @@ -1,5 +1,6 @@ {% extends 'index.html' %} {% load i18n %} +{% load static %} {% block content %}
@@ -98,6 +99,15 @@ >{% trans "Leave" %} +
  • + {% trans "Payroll" %} +
  • {% include 'leave-tab.html' %}
  • +
    + {% include 'payroll-tab.html' %} +
    + {% endblock content %} \ No newline at end of file diff --git a/employee/templates/employee/view/individual.html b/employee/templates/employee/view/individual.html index f02f06a38..2920aa7a9 100644 --- a/employee/templates/employee/view/individual.html +++ b/employee/templates/employee/view/individual.html @@ -1,6 +1,7 @@ {% extends 'index.html' %}{% load static %} {% block content %} {% load i18n %} +{% load static %} {% comment %} {% include 'employee_nav.html' %} {% endcomment %} @@ -103,6 +104,15 @@ >{% trans "Leave" %} +
  • + {% trans "Payroll" %} +
  • {% include "leave-tab.html" %} +
    + {% include "payroll-tab.html" %} +
    + {% endblock content %} \ No newline at end of file diff --git a/employee/templates/payroll-tab.html b/employee/templates/payroll-tab.html new file mode 100644 index 000000000..1b6f35211 --- /dev/null +++ b/employee/templates/payroll-tab.html @@ -0,0 +1,76 @@ +{% load i18n %} + + + +
    \ No newline at end of file