2020-11-22 22:08:09 +01:00
|
|
|
|
|
|
|
from django.urls import path
|
|
|
|
from . import views
|
2021-01-05 00:33:09 +01:00
|
|
|
from django.contrib.auth import views as auth_views
|
2020-11-22 22:08:09 +01:00
|
|
|
|
2020-12-20 23:10:49 +01:00
|
|
|
app_name = 'hr_module'
|
|
|
|
|
2020-11-22 22:08:09 +01:00
|
|
|
urlpatterns = [
|
2021-01-05 00:33:09 +01:00
|
|
|
path('login', auth_views.LoginView.as_view(template_name='hr_module_login.html'), name='login'),
|
|
|
|
path('logout', auth_views.LogoutView.as_view(), name='logout'),
|
|
|
|
path('change_password', auth_views.PasswordChangeView.as_view(template_name='hr_module_password_change.html'), name='change_password'),
|
|
|
|
path('home', views.homepage, name='homepage'),
|
2021-01-03 18:14:50 +01:00
|
|
|
path('create_schedule', views.create_schedule, name='create_schedule'),
|
|
|
|
path('create_employees', views.create_employees, name='create_employees'),
|
|
|
|
path('search_api', views.search_users_api, name='search_users_api'),
|
2021-01-09 18:31:20 +01:00
|
|
|
path('loademployees', views.load_employees_api, name='load_employees'),
|
2020-12-28 19:40:37 +01:00
|
|
|
path('new_plan_api', views.new_plan_api, name='new_plan_api'),
|
2021-01-03 18:14:50 +01:00
|
|
|
path('manage_schedule', views.manage_schedule, name='manage_schedule'),
|
2021-01-03 00:08:18 +01:00
|
|
|
path('show_employee_plan_api', views.show_employee_plan_api, name='show_employee_plan_api'),
|
|
|
|
path('update_plan_api', views.update_plan_api, name='update_plan_api'),
|
2021-01-08 22:05:06 +01:00
|
|
|
path('manage_timelog', views.manage_timelog, name='manage_timelog'),
|
|
|
|
path('show_employee_timelog_api', views.show_employee_timelog_api, name='show_employee_timelog_api'),
|
|
|
|
path('update_timelog_api', views.update_timelog_api, name='update_timelog_api'),
|
2021-01-03 18:14:50 +01:00
|
|
|
path('change_employee_data', views.change_employee_data, name='change_employee_data'),
|
|
|
|
path('change_employee_data_api', views.change_employee_data_api, name='change_employee_data_api'),
|
2021-01-08 22:05:06 +01:00
|
|
|
path('plan_creation_log', views.plan_creation_log, name='plan_creation_log'),
|
2020-11-22 22:08:09 +01:00
|
|
|
]
|