Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
48 changes: 0 additions & 48 deletions README.md

This file was deleted.

Binary file added erms/ER.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
5 changes: 5 additions & 0 deletions erms/HR/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from django.apps import AppConfig


class HrConfig(AppConfig):
name = 'HR'
44 changes: 44 additions & 0 deletions erms/HR/forms.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
from django import forms
from ermsapp.models import *


class MessageForm(forms.ModelForm):
class Meta:
model = Messages
fields = ('Reciever', 'MsgCont')


class NewPost1(forms.ModelForm):
class Meta:
model = Post
fields = ['Post', 'Field', 'NoOfInterviews', 'InterviewType']


class PostDept(forms.ModelForm):
class Meta:
model = Post_Dept
fields = ['Post', 'Dept']


class DegPost(forms.ModelForm):
class Meta:
model = Degree_For_Post
fields = ['Post', 'Degree']


class SubQualif(forms.ModelForm):
class Meta:
model = subQul_Post
fields = ['Post', 'QName', 'Subject', 'SubResult']


class ProfQualif(forms.ModelForm):
class Meta:
model = Exp_Post
fields = ['Post', 'ExPost', 'Duration']


class CvForDept(forms.ModelForm):
class Meta:
model = Personal_Post_Dept
fields = ['DeptPost']
Empty file added erms/HR/migrations/__init__.py
Empty file.
Empty file added erms/HR/models.py
Empty file.
File renamed without changes.
23 changes: 23 additions & 0 deletions erms/HR/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
from django.conf.urls import url
from HR import views
from erms.views import logedinHR_view


urlpatterns = [
url(r'^hr/$', views.home, name='home'),
url(r'^received_CVs/$', views.received_cvs, name='received_CVs'),
url(r'^view_cvs/(?P<person_id>[0-9]+)/$', views.view_cvs, name='view_cvs'),
url(r'^new_post/$', views.create_post, name='new_post'),
url(r'^addDept/$', views.add_dept, name='addDept'),
url(r'^degPost/$', views.deg_post, name='degPost'),
url(r'^qualifications/$', views.qualifications, name='qualifications'),
url(r'^successPost/$', views.success_post, name='successPost'),
url(r'^messages/$', views.messages, name='messages'),
url(r'^vacancies/$', views.vacancies_view, name='vacancies'),
url(r'^vacancy_cvs/(?P<vacancy_id>[0-9]+)/$', views.vacancy_cvs, name='vacancy_cvs'),
url(r'^vacancy_cvs/(?P<vacancy_id>[0-9]+)/(?P<person_id>[0-9]+)/$', views.cvs_for_vacancies,name='cvsForVacancies'),
url(r'^new_message/$', views.send_msg, name='new_message'),
url(r'^send_cvs/(?P<p_id>[0-9]+)/$', views.send_cvs, name='sendCV'),
url(r'^send_rec_cvs/(?P<p_id>[0-9]+)/$', views.send_rec_cvs, name='sendRecCV'),

]
Loading