3248 lines
59 KiB
TypeScript
3248 lines
59 KiB
TypeScript
export enum EnumAuthStatus {
|
|
None = 0,
|
|
Active = 1,
|
|
New_Not_Yet_Approve = 2,
|
|
Deleted_Not_Yet_Approve = 3,
|
|
Edited_Not_Yet_Approve = 4,
|
|
Approved = 5,
|
|
Locked = 6,
|
|
Archived = 7,
|
|
Inactive = 8,
|
|
Inactive_Not_Yet_Approve = 9,
|
|
}
|
|
|
|
export enum EnumHrNotificationType {
|
|
Manual = 1,
|
|
System_Generated = 2,
|
|
}
|
|
|
|
export enum EnumTaxInvestment {
|
|
Regardless = 0,
|
|
ESS = 1,
|
|
Admin = 2,
|
|
}
|
|
export enum EnumTaxInvestmentStatus {
|
|
Not_Yet_Approve = 0,
|
|
Approve = 1,
|
|
Reject = 2,
|
|
}
|
|
export enum EnumTaxAITInvestment {
|
|
Not_Yet_Approve = 0,
|
|
Approve = 1,
|
|
Reject = 2,
|
|
}
|
|
export enum EnumTaxAttachment {
|
|
Investment = 1,
|
|
Ait = 2,
|
|
}
|
|
export enum TempEnumAuthStatus {
|
|
Active = 1,
|
|
Inactive = 8,
|
|
}
|
|
export enum enumEmpFileUploadType {
|
|
Profile_Picture = 1,
|
|
signature = 2,
|
|
certificates = 3,
|
|
nationalID = 4,
|
|
Mobile = 5,
|
|
passport = 6,
|
|
bloodGroup = 7,
|
|
training = 8,
|
|
TIN = 9,
|
|
Education = 10,
|
|
Experience = 11,
|
|
Nominee = 12,
|
|
NomineePicture = 13,
|
|
NomineeSignature = 14,
|
|
DrivingLicense = 15,
|
|
MarriageCertificate = 16,
|
|
BirthCertificate = 17,
|
|
PermanentAddress = 18,
|
|
PresentAddress = 19
|
|
}
|
|
export enum enumTaxAttachmentType {
|
|
taxReturn = 1,
|
|
}
|
|
export enum EnumFileFormat {
|
|
Picture = 1,
|
|
Pdf = 2,
|
|
}
|
|
|
|
export enum enumwfLogicOperator {
|
|
Equal = 1,
|
|
Greater = 2,
|
|
Less = 3,
|
|
LessOrEqual = 4,
|
|
Not_Null = 5,
|
|
Null = 6,
|
|
SrouceFieldTrue = 7,
|
|
SourceFiledFalse = 8,
|
|
}
|
|
|
|
export enum EnumwfLogicAction {
|
|
NextStep = 1,
|
|
Complete = 2,
|
|
GoToStep = 3,
|
|
}
|
|
|
|
export enum EnumWFActorType {
|
|
AnyEmployee = 1,
|
|
LineManager = 2,
|
|
Employee = 3,
|
|
Organogram_Position = 4,
|
|
PositionType = 5,
|
|
ListField = 6,
|
|
Designation = 7,
|
|
Department = 8,
|
|
}
|
|
|
|
export enum EnumWFCvSortStatus {
|
|
Not_Yet_Completed = 0,
|
|
Completed = 1,
|
|
}
|
|
|
|
export enum EnumLeaveCalculationType {
|
|
Yearly = 1,
|
|
Monthly_Earn = 2,
|
|
Hourly_365Day = 3,
|
|
Hourly_Monthly = 4,
|
|
OneDay_On_18Day_Present = 5,
|
|
Hourly_Prorated = 6,
|
|
Days_365 = 7,
|
|
Yearly_Without_Prorated = 8,
|
|
}
|
|
|
|
export enum EnumLeaveparamOn {
|
|
Grade = 1,
|
|
Location = 2,
|
|
}
|
|
|
|
export enum EnumGatePassStatus {
|
|
None = 0,
|
|
Applied = 1,
|
|
Approved = 2,
|
|
Rejected = 3,
|
|
}
|
|
|
|
export enum EnumPurposeOfVisit {
|
|
None = 0,
|
|
Personal = 1,
|
|
Official = 2,
|
|
}
|
|
|
|
export enum EnumConfigurationType {
|
|
None = 1,
|
|
UI = 2,
|
|
Logic = 3,
|
|
Menu = 4,
|
|
}
|
|
|
|
export enum EnumLocation {
|
|
Mirpur = 1,
|
|
Mirpur_security = 2,
|
|
Rupganj = 3,
|
|
Rupganj_security = 4,
|
|
Operational_HQ = 5,
|
|
Operational_HQ_security = 6,
|
|
Shalna = 7,
|
|
Shalna_security = 8,
|
|
Tongi = 9,
|
|
Tongi_security = 10,
|
|
}
|
|
|
|
export enum EnumAttendanceDB {
|
|
None = 0,
|
|
SQLServer = 1,
|
|
Access = 2,
|
|
Oracle = 3,
|
|
Text = 4,
|
|
}
|
|
|
|
export enum EnumTrackType {
|
|
Branch = 0,
|
|
Client = 1,
|
|
}
|
|
|
|
export enum EnumUserType {
|
|
SuperUser = 0,
|
|
User = 1,
|
|
Employee = 2,
|
|
}
|
|
|
|
export enum EnumAttachmentType {
|
|
Leave = 1,
|
|
EmployeeTraining = 2,
|
|
EmployeeAcademic = 3,
|
|
EFiling = 4,
|
|
Notice = 5,
|
|
}
|
|
export enum EnumReminderStatus {
|
|
Pending = 0,
|
|
Done = 1,
|
|
}
|
|
|
|
export enum EnumStatus {
|
|
Regardless = 0,
|
|
Active = 1,
|
|
Inactive = 2,
|
|
// Role_Created_And_Waiting_For_Approve = 7,
|
|
// Role_Menu_Assigned_And_Waiting_For_Approve = 8,
|
|
// Role_Menu_Modified_And_Waiting_For_Approve = 9,
|
|
// User_Created_And_Waiting_For_Approve = 10,
|
|
// Role_Assigned_To_User_And_Waiting_For_Approve = 11,
|
|
// Role_Modified_And_Waiting_For_Approve = 13,
|
|
// Archieved = 12,
|
|
// User_Inactive_And_Waiting_For_Approve = 15,
|
|
// Role_Approved_and_Menu_Not_Yet_Assigned = 16,
|
|
// Role_Approved_and_Menu_Assigned = 17,
|
|
// User_Active_And_Waiting_For_Approve = 18,
|
|
// PendingForActive = 19,
|
|
// PendingForInactive = 20,
|
|
// User_Modified_And_Waiting_For_Approve = 21,
|
|
// Locked = 22
|
|
}
|
|
|
|
export enum EnumClaimValueType {
|
|
SystemGenerated = 1,
|
|
Manual = 2,
|
|
}
|
|
|
|
export enum EnumPURequestType {
|
|
None,
|
|
Mobile_Phone_Information,
|
|
National_ID_Information,
|
|
Blood_Group_Information,
|
|
TIN_Information,
|
|
Passport_No_Information,
|
|
Picture_Upload,
|
|
Parental_Information,
|
|
Permanent_Contact_Information,
|
|
Present_Contact_Information,
|
|
Emergency_Contact_Information,
|
|
Spouse_Information,
|
|
Children_Information,
|
|
Educational_Information,
|
|
Training_Information,
|
|
Experience_Information,
|
|
Nominee_Information,
|
|
}
|
|
|
|
export enum EnumEmploymentStatus {
|
|
Full_Time = 1,
|
|
Part_Time = 2,
|
|
}
|
|
|
|
export enum EnumPURequestStatus {
|
|
None,
|
|
Requested,
|
|
Approved,
|
|
Rejected,
|
|
}
|
|
|
|
export enum EnumSystemMode {
|
|
Desktop = 1,
|
|
Web = 2,
|
|
Kiosk = 3,
|
|
Mobile = 4,
|
|
}
|
|
|
|
export enum HolidayDayOfWeek {
|
|
None = -1,
|
|
Auto = 0,
|
|
Sunday = 1,
|
|
Monday = 2,
|
|
Tuesday = 3,
|
|
Wednesday = 4,
|
|
Thursday = 5,
|
|
Friday = 6,
|
|
Saturday = 7,
|
|
}
|
|
|
|
export enum EnumDayOfWeek {
|
|
Sunday = 1,
|
|
Monday = 2,
|
|
Tuesday = 3,
|
|
Wednesday = 4,
|
|
Thursday = 5,
|
|
Friday = 6,
|
|
Saturday = 7,
|
|
}
|
|
|
|
export enum EnumClaimWFStatus {
|
|
None = 0,
|
|
EmpSubmitted = 1,
|
|
LMApproved = 2,
|
|
Rejected = 3,
|
|
Approved_and_Paid = 4,
|
|
}
|
|
|
|
export enum EnumSearchObjDataType {
|
|
String = 1,
|
|
Number = 2,
|
|
Date = 3,
|
|
DateWithTime = 4,
|
|
Object = 5,
|
|
boolean = 6,
|
|
}
|
|
|
|
export enum EnumOnBoradStatus {
|
|
//None = 0,
|
|
//NotYetInitiated = 1,
|
|
//CVPosting = 2,
|
|
//CVCollection = 3,
|
|
//CVSortingbyUser = 4,
|
|
//Viva = 5,
|
|
//Written = 6,
|
|
//FinalSelectionComplete = 7,
|
|
//OfferLetterProvided = 8,
|
|
//Appointmentletterprovided = 9,
|
|
//Joined = 10
|
|
|
|
None = 0,
|
|
NotYetInitiated = 1,
|
|
CVPosting = 2,
|
|
CVCollection = 3,
|
|
InterviewStarted = 4,
|
|
InterviewCompleted = 5,
|
|
OfferLetterProvided = 6,
|
|
Appointmentletterprovided = 7,
|
|
Joined = 8,
|
|
}
|
|
|
|
export enum ColumnDataTypeEnum {
|
|
Fixed = 0,
|
|
Boolean = 1,
|
|
String = 2,
|
|
Numeric = 3,
|
|
DateTime = 4,
|
|
}
|
|
|
|
export enum EnumQTModuleType {
|
|
Employee,
|
|
Leave,
|
|
Attendance,
|
|
Salary,
|
|
}
|
|
|
|
export enum EnumSearchToolColumnType {
|
|
Employee,
|
|
Organization,
|
|
EmpContact,
|
|
EmpNominee,
|
|
EnumSpouse,
|
|
EmnChildren,
|
|
}
|
|
|
|
export enum OrderByEnum {
|
|
None = 0,
|
|
Ascending = 1,
|
|
Descending = 2,
|
|
}
|
|
|
|
export enum PickerTypeEnum {
|
|
None = 0,
|
|
Table = 1,
|
|
ManualSQL = 2,
|
|
UserDefined = 3,
|
|
}
|
|
|
|
export enum ColumnAlignmentEnum {
|
|
Left = 1,
|
|
Center = 2,
|
|
Right = 3,
|
|
}
|
|
|
|
export enum EnumStatusComponent {
|
|
Grade,
|
|
Location,
|
|
Department,
|
|
Designation,
|
|
BasicSalary,
|
|
GrossSalary,
|
|
Function,
|
|
Company,
|
|
Confirmation,
|
|
PFmember,
|
|
Discontinue,
|
|
Continue,
|
|
Role,
|
|
}
|
|
|
|
export enum EnumMenuPermissionStatus {
|
|
Approved = 1,
|
|
Added = 2,
|
|
Removed = 3,
|
|
}
|
|
|
|
export enum EnumActor {
|
|
Employee = 1,
|
|
Line_Manager = 2,
|
|
Second_Line_Manager = 3,
|
|
}
|
|
|
|
export enum EnumObjectiveChangeType {
|
|
Title = 1,
|
|
Description = 2,
|
|
Weightages = 3,
|
|
MeasuresOfSuccess = 4,
|
|
MeasuresOfSuccess2 = 5,
|
|
MYEmployeeComments = 6,
|
|
MYLMComments = 7,
|
|
ObjectiveType = 8,
|
|
YEEmployeeComments = 9,
|
|
YELMComments = 10,
|
|
StartDate = 11,
|
|
EndDate = 12,
|
|
MYAssessRating = 13,
|
|
MYLMAssessRating = 14,
|
|
MYEmpOverallComment = 15,
|
|
MYLMOverallComment = 16,
|
|
}
|
|
|
|
export enum EnumWFSubmitStatus {
|
|
Accept = 1,
|
|
Reject = 2,
|
|
Revert = 3,
|
|
Redirect = 4,
|
|
}
|
|
|
|
export enum EnumReplacementDueTo {
|
|
Regardless = 0,
|
|
Resignation = 1,
|
|
Termination = 2,
|
|
Transfer = 3,
|
|
Dismissal = 4,
|
|
Death = 5,
|
|
Other = 6,
|
|
}
|
|
|
|
export enum enumLetterVisaType {
|
|
Single_Entry = 1,
|
|
Multiple_Entry = 2,
|
|
Multiple_Entry_Schengen = 3,
|
|
}
|
|
|
|
export enum EnumLetterOrganizationType {
|
|
Embassy = 1,
|
|
// Bank = 2,
|
|
//University = 2,
|
|
// Others = 3,
|
|
Immigration = 4
|
|
}
|
|
|
|
export enum EnumObjectiveRating {
|
|
None = 0,
|
|
UnderAchieved = 1,
|
|
Achieved = 2,
|
|
OverAchieved = 3,
|
|
}
|
|
|
|
export enum EnumFileType {
|
|
InternalRecruitment = 1,
|
|
CV = 2,
|
|
Image = 3,
|
|
PDF = 4,
|
|
Word = 5,
|
|
Excel = 6,
|
|
Text = 7,
|
|
ClaimRequisition = 8,
|
|
}
|
|
|
|
export enum EnumObjectiveStatus {
|
|
NoChange = 0,
|
|
New = 1,
|
|
Updated = 2,
|
|
Removed = 3,
|
|
Freeze = 4,
|
|
}
|
|
export enum EnumAssessment {
|
|
None = 0,
|
|
BehindTarget = 1,
|
|
OnTarget = 2,
|
|
AheadOfTarget = 3,
|
|
}
|
|
|
|
export enum EnumExceptionType {
|
|
Error = 0,
|
|
Warning = 1,
|
|
Informational = 2,
|
|
Validation = 3,
|
|
}
|
|
|
|
export enum EnumBATBBonusType {
|
|
Management_Festival = 38,
|
|
Management_Corporate = 39,
|
|
NonMgt_Festival = 40,
|
|
NonMgt_Spring = 41,
|
|
NonMgt_Corporate = 42,
|
|
KLF_Spring = 43,
|
|
}
|
|
|
|
////
|
|
//// export enum EnumSurveyType
|
|
//// {
|
|
//// None = 0,
|
|
//// Self,
|
|
//// Managerial
|
|
//// }
|
|
|
|
export enum EnumDocType {
|
|
Email = 1,
|
|
Event = 2,
|
|
Letter = 3,
|
|
}
|
|
|
|
export enum EnumLeaveDayPeriod {
|
|
FullDay = 1,
|
|
FirstHalf = 2,
|
|
SecondHalf = 3,
|
|
}
|
|
|
|
export enum EnumBonusStatus {
|
|
Open = 1,
|
|
Close = 2,
|
|
Suspended = 3,
|
|
}
|
|
|
|
export enum EnumCVOrgType {
|
|
None = 0,
|
|
CVDesignation = 1,
|
|
CVOrganogram = 2,
|
|
}
|
|
|
|
export enum EnumApprovalFinancialData {
|
|
Allowance = 1,
|
|
Deduction = 2,
|
|
Lifecycle = 3,
|
|
BankAccountHistory = 4,
|
|
}
|
|
|
|
export enum EnumBadliStatus {
|
|
Not_Assigned = 0,
|
|
Recruit = 1,
|
|
Confirm = 2,
|
|
Depart = 3,
|
|
Reject = 4,
|
|
}
|
|
|
|
export enum EnumletterCreationType {
|
|
Manual = 1,
|
|
file_selection = 2,
|
|
}
|
|
|
|
export enum EnumUserLogInMode {
|
|
SuperUser = 1,
|
|
Normal = 2,
|
|
PowerUser = 3,
|
|
}
|
|
|
|
export enum HolidayType {
|
|
General = 1,
|
|
Executive_Order = 2,
|
|
Hartal = 3,
|
|
Other = 4,
|
|
Festival_Holiday = 5,
|
|
}
|
|
|
|
export enum EnumArearProcessItemType {
|
|
Basic = 1,
|
|
Allowance = 2,
|
|
Deduction = 3,
|
|
OT = 4,
|
|
Bonus = 5,
|
|
PF = 6,
|
|
IncomeTax = 7,
|
|
OPI = 8,
|
|
NetPay = 9,
|
|
Miscellaneous = 10,
|
|
Gross = 11,
|
|
TotalDeduct = 12,
|
|
OtherDeductions = 13,
|
|
}
|
|
|
|
export enum EnumArearTranSide {
|
|
None = 0,
|
|
Debit = 1,
|
|
Credit = 2,
|
|
}
|
|
|
|
export enum EnumLoanGroup {
|
|
PF_Loan = 1,
|
|
General_Loan = 2,
|
|
Flat_Amount = 3
|
|
}
|
|
|
|
export enum EnumCustomBasicControl {
|
|
None = 0,
|
|
Grade = 1,
|
|
Category = 2,
|
|
Department = 3,
|
|
Location = 4,
|
|
Designation = 5,
|
|
GradeSagment = 6,
|
|
CostCenter = 7,
|
|
Religion = 8,
|
|
Function = 9,
|
|
Company = 10,
|
|
TrainingType = 11,
|
|
Complaints = 12,
|
|
Punishment = 13,
|
|
Skills = 14,
|
|
SkillLevel = 15,
|
|
SurveyQuestion = 16,
|
|
ProdBonusSetup = 17,
|
|
}
|
|
|
|
export enum EnumControlType {
|
|
None = 0,
|
|
AutoComplete = 1,
|
|
}
|
|
|
|
export enum EnumColumnDataType {
|
|
Int = 0,
|
|
Double = 1,
|
|
String = 2,
|
|
Date = 3,
|
|
Boolean = 4,
|
|
}
|
|
|
|
export enum EnumColumnType {
|
|
employee = 0,
|
|
designation = 1,
|
|
contact = 2,
|
|
family = 3,
|
|
}
|
|
|
|
export enum EnumAssessmentFor {
|
|
Employee = 0,
|
|
Candidate = 1,
|
|
Trainee = 2,
|
|
}
|
|
|
|
export enum EnumAssessmentFormType {
|
|
Recruitement = 0,
|
|
Training = 1,
|
|
Confirmation = 2,
|
|
}
|
|
|
|
export enum EnumSendMail {
|
|
None = 0,
|
|
FromMissing,
|
|
ToMissing,
|
|
SubjectMissing,
|
|
BodyMissing,
|
|
SendError,
|
|
ServerNotFound,
|
|
SuccessFullySend,
|
|
}
|
|
|
|
export enum EnumBasicDataItemGroup {
|
|
Category = 0,
|
|
Grade = 1,
|
|
Department = 2,
|
|
Location = 3,
|
|
Religion = 4,
|
|
Designation = 5,
|
|
}
|
|
|
|
export enum BasicCodeItem {
|
|
Code = 0,
|
|
Name = 1,
|
|
}
|
|
|
|
export enum LogInStatus {
|
|
InvalidPassword = 1,
|
|
InvalidEmployee,
|
|
PasswordIsSetFromHR,
|
|
PasswordExpired,
|
|
DiscontinueEmployee,
|
|
NotManager,
|
|
NotEligible,
|
|
UnAuthorizedForDesktop,
|
|
SuccessfulLogin,
|
|
}
|
|
|
|
export enum EnumCustomBasicControlType {
|
|
ListView = 0,
|
|
TreeView = 1,
|
|
}
|
|
|
|
export enum EnumBonusItemType {
|
|
Department = 0,
|
|
Designation = 1,
|
|
}
|
|
export enum EnumProductionBonusType {
|
|
Sewing = 1,
|
|
Printing = 2,
|
|
Cutting = 3,
|
|
Finishing = 4,
|
|
}
|
|
|
|
export enum EnumAccessType {
|
|
None = 0,
|
|
SelfAccessType = 1,
|
|
ManagerialAccessType = 2,
|
|
}
|
|
|
|
export enum EnumGradeSalaryEffect {
|
|
Grade = 1,
|
|
Salary = 2,
|
|
Both = 3,
|
|
}
|
|
|
|
export enum EnumAllowOrDeduct {
|
|
Allowance = 1,
|
|
Deduction = 2,
|
|
}
|
|
|
|
export enum EnumPayableOrDeduct {
|
|
Payable = 1,
|
|
Deduction = 2,
|
|
}
|
|
|
|
export enum EnumSettlmentAdviceStatus {
|
|
Prepared = 1,
|
|
InApproval = 2,
|
|
Approved = 3,
|
|
Payment_Done = 4,
|
|
}
|
|
|
|
export enum EnumOverTimeType {
|
|
NONE = 0,
|
|
Daily_Flat_Amount = 1,
|
|
Hourly_Flat_Amount = 2,
|
|
Daily_Basic_Percent = 3,
|
|
Hourly_Basic_Percent = 4,
|
|
Fixed_Amount = 5,
|
|
Hours_Of_Month = 6,
|
|
Slab = 7,
|
|
Any_Amount = 8,
|
|
}
|
|
|
|
export enum EnumPaymentType {
|
|
GeneralType = 1,
|
|
Daily = 2,
|
|
Hourly = 3,
|
|
FixedType = 4,
|
|
}
|
|
|
|
export enum EnumPaymentNature {
|
|
Employee = 1,
|
|
ThirdParty = 2,
|
|
PaidInKind = 3,
|
|
}
|
|
|
|
export enum EnumChronology {
|
|
NotNeeded = 1,
|
|
Month = 2,
|
|
MonthRange = 3,
|
|
Date = 4,
|
|
DateRange = 5,
|
|
Year = 6,
|
|
}
|
|
|
|
export enum EnumOpiType {
|
|
Provision = 1,
|
|
Payment = 2,
|
|
Final_Settlement = 3,
|
|
}
|
|
|
|
export enum EnumOpiPeriodicity {
|
|
Monthly = 1,
|
|
OnceOff = 2,
|
|
Annual = 3,
|
|
// AveragePayment = 4,
|
|
// OnAmount = 5,
|
|
// BonusProvision = 6
|
|
}
|
|
|
|
export enum EnumOpiPaymentType {
|
|
Manually = 1,
|
|
FromSetup = 2,
|
|
FromProvision = 3,
|
|
}
|
|
|
|
export enum EnumLTType {
|
|
None = 0,
|
|
LTIP = 1,
|
|
DSBS = 2,
|
|
}
|
|
|
|
export enum EnumPaymentMode {
|
|
Cash_Payment = 1,
|
|
Bank_Transfer = 2,
|
|
Provision = 3,
|
|
}
|
|
|
|
export enum EnumLoanPaymentMode {
|
|
NotYetpayment = 0,
|
|
Salary = 2,
|
|
Cash = 3,
|
|
}
|
|
|
|
export enum EnumLeaveEntryType {
|
|
Normal = 1,
|
|
PaidLeave = 2,
|
|
}
|
|
|
|
export enum EnumTaxMergeType {
|
|
NONE = 1,
|
|
Allowance = 2,
|
|
Deduction = 3,
|
|
OT = 4,
|
|
Bonus = 5,
|
|
Settlement = 6,
|
|
TaxAdjustItem = 7,
|
|
}
|
|
|
|
export enum EnumIncomeTaxDataFrom {
|
|
ProcessedData = 1,
|
|
ProcessTempData = 2,
|
|
SalaryITTempData = 3,
|
|
BonusITTempData = 4,
|
|
}
|
|
|
|
export enum EnumAttnBenefitProcessType {
|
|
Daily_Attendance = 1,
|
|
Manual_Entry = 2,
|
|
Manual_Entry_Single_Employee = 3,
|
|
}
|
|
|
|
export enum EnumComponentType {
|
|
Allowance = 1,
|
|
Deduction = 2,
|
|
PF = 3,
|
|
OPI = 4,
|
|
OverTime = 5,
|
|
Bonus = 6,
|
|
Loan = 7,
|
|
}
|
|
|
|
export enum EnumBATGrandFather {
|
|
Allowance = 1,
|
|
Bonus = 2,
|
|
Leave = 3,
|
|
Gratuity = 4,
|
|
OPI = 5,
|
|
Pension = 6,
|
|
}
|
|
|
|
export enum EnumBenefitDefinationType {
|
|
Gross = 1,
|
|
Guranteed_Cash = 2,
|
|
}
|
|
|
|
export enum EnumBasicItem {
|
|
None = 0,
|
|
Category = 1,
|
|
Location = 2,
|
|
Department = 3,
|
|
Religion = 4,
|
|
Designation = 5,
|
|
Grade = 6,
|
|
CostCenter = 7,
|
|
}
|
|
|
|
export enum EnumPayScaleItemType {
|
|
None = 0,
|
|
Basic = 1,
|
|
Allowance = 2,
|
|
}
|
|
|
|
export enum EnumLoanFraction {
|
|
WithFraction = 0,
|
|
FractionFirstMonth = 1,
|
|
FractionLastMonth = 2,
|
|
RemoveFraction = 3,
|
|
}
|
|
|
|
export enum EnumArrearType {
|
|
Regardless = 0,
|
|
NotPresent = 1,
|
|
ToCalculate = 2,
|
|
Paid = 3,
|
|
}
|
|
|
|
export enum EnumSalaryGroup {
|
|
Gross = 1,
|
|
UnauthLeave = 2,
|
|
Deductions = 3,
|
|
Miscellaneous = 4,
|
|
OtherItem = 5,
|
|
Arrear = 8,
|
|
}
|
|
|
|
export enum ITHead {
|
|
Rent_Free_Accomodation = 2,
|
|
Free_Use_Company_Transport = 1,
|
|
}
|
|
|
|
export enum EnumTaxSlabType {
|
|
Male = 1,
|
|
Female = 2,
|
|
Age = 3,
|
|
Disable = 4,
|
|
Freedom_Fighter = 5,
|
|
}
|
|
|
|
export enum EnumPersonType {
|
|
None = 0,
|
|
Disable = 1,
|
|
Freedom_Fighter = 2,
|
|
}
|
|
|
|
export enum EnumProfileStatus {
|
|
Inserted_By_Employee,
|
|
Approve = 1,
|
|
Edit_By_Employee = 2,
|
|
Edit_By_Admin = 3,
|
|
Delete_By_Employee = 4,
|
|
Delete_By_Admin = 5,
|
|
}
|
|
|
|
export enum EnumIncomeTaxSide {
|
|
Inc_SalaryIncome = 6,
|
|
Dec_SalaryIncome = 7,
|
|
Inc_AnnualIncome = 8,
|
|
Dec_AnnualIncome = 9,
|
|
Tax_fixed_Item = 10,
|
|
Inc_GrossTax = 11,
|
|
Dec_GrossTax = 12,
|
|
Tax_Info_Item = 13,
|
|
}
|
|
|
|
export enum EnumLeaveSuspension {
|
|
Suspended = 1,
|
|
UnauthorizedLeave = 2,
|
|
}
|
|
|
|
export enum EnumGender {
|
|
Regardless = 0,
|
|
Male = 1,
|
|
Female = 2,
|
|
Other = 3,
|
|
}
|
|
|
|
export enum EnumShortLeaveType {
|
|
UnOfficial = 0,
|
|
Official = 1,
|
|
}
|
|
|
|
export enum EnumMealDeductionType {
|
|
Employee = 0,
|
|
Driver = 1,
|
|
}
|
|
|
|
export enum EnumHeadCountRequestType {
|
|
None = 0,
|
|
New = 1,
|
|
Additional = 2,
|
|
Replacement = 3,
|
|
}
|
|
export enum EnumInternalRecruitmentType {
|
|
None = 0,
|
|
New = 1,
|
|
Replacement = 2,
|
|
}
|
|
|
|
export enum EnumRecruitmentReportType {
|
|
Bar_Chart = 1,
|
|
Requisition_Count = 2,
|
|
Requisition_Candidate_Report = 3,
|
|
}
|
|
|
|
export enum EnumOfferLetterStatus {
|
|
not_Initiated = 0,
|
|
InProcess = 1,
|
|
Approved = 2,
|
|
}
|
|
|
|
export enum EnumMaritalStatus {
|
|
None = 0,
|
|
Married = 1,
|
|
UnMarried = 2,
|
|
Divorced = 3,
|
|
Widow = 4,
|
|
}
|
|
|
|
export enum EnumHalf {
|
|
First_Half = 1,
|
|
Second_Half = 2,
|
|
}
|
|
|
|
export enum EnumOrganizationType {
|
|
None = 0,
|
|
Academic = 1,
|
|
Charitable = 2,
|
|
Professional = 3,
|
|
Social = 4,
|
|
}
|
|
|
|
export enum EnumCrestTranType {
|
|
Credit = 1,
|
|
Debit = 2,
|
|
NONE = 3,
|
|
}
|
|
|
|
export enum EnumTranSide {
|
|
Debit = 1,
|
|
Credit = 2,
|
|
}
|
|
|
|
export enum EnumTrainingCompletedFrom {
|
|
None = 0,
|
|
Own = 1,
|
|
Company = 2,
|
|
// TrainingInstitute = 1,
|
|
// TrainingConductedByCompany = 2,
|
|
}
|
|
|
|
export enum EnumBloodGroup {
|
|
None,
|
|
APos,
|
|
ANeg,
|
|
BPos,
|
|
BNeg,
|
|
OPos,
|
|
ONeg,
|
|
ABPos,
|
|
ABNeg,
|
|
}
|
|
|
|
export enum EnumOGPositionType {
|
|
CEO = 1,
|
|
HOHR = 2,
|
|
DH = 3,
|
|
BM = 4,
|
|
Man_COM = 5,
|
|
Others = 6,
|
|
Trusty = 7,
|
|
}
|
|
|
|
export enum EnumSalaryItemCode {
|
|
Basic_Salary = -101,
|
|
Over_Time_Hours = -102,
|
|
Over_Time_Amount = -103,
|
|
Bonus = -107,
|
|
Allowance = -113,
|
|
Deduction = -115,
|
|
Advance_Deduction = -116,
|
|
Loan_Monthly_Installment = -118,
|
|
Loan_Monthly_Interest = -119,
|
|
Loan_Payment = -201,
|
|
Loan_Remain_Installment = -124,
|
|
Loan_Remain_Interest = -125,
|
|
Loan_Remain_Balance = -126,
|
|
PF_Contribution = -128,
|
|
Inc_Tax_Deduction = -129,
|
|
Inc_Tax_Tot_Taxable = -130,
|
|
Inc_Tax_Yearly_Amount = -131,
|
|
Net_Payable = -132,
|
|
Tot_UnauthLeave_Days = -133,
|
|
Tot_Arrear_Days = -134,
|
|
Tot_Attend_Days = -135,
|
|
Conv_Days = -136,
|
|
Short_Leave_Amount = -137,
|
|
OPI = -138,
|
|
Leave_Days = -139,
|
|
Total_HoliDays = -140,
|
|
Delay_Days = -141,
|
|
Total_Days = -142,
|
|
Working_Hour = -143,
|
|
}
|
|
|
|
export enum EnumIncomeTaxItemGroup {
|
|
None = 0,
|
|
Basic_Salary = -201,
|
|
|
|
Other_Allowance = -202, // All allowance except house rent, conveyance, medical and LFA, if these items are not exampted
|
|
|
|
House_Rent_Allowance = -203,
|
|
Exemption_House_Rent_Allowance = -204,
|
|
|
|
Conveyance_Allowance = -205,
|
|
Exemption_Conveyance_Allowance = -206,
|
|
|
|
Medical_Allowance = -222,
|
|
Exemption_Medical_Allowance = -223,
|
|
|
|
Company_Contri_PF = -207,
|
|
Interest_Credited_PF = -208,
|
|
Exemption_Interest_PF = -209,
|
|
|
|
TimeCard = -224, // OT
|
|
Bonus = -213,
|
|
Bonus_TaxAmount = -221, // might be currently not used
|
|
|
|
Adjusted_Cash_Deduct = -229,
|
|
Earned_Leave = -230,
|
|
Adjusted_Cash_Add = -231,
|
|
|
|
Other_Cash_Benefits = -214, // might be currently not used
|
|
|
|
Cmp_Provided_car = -215,
|
|
Cmp_Provided_House = -232,
|
|
|
|
Annual_Salary_Income = -216,
|
|
Annual_Income = -217,
|
|
|
|
Gross_Tax = -218,
|
|
|
|
Tax_Credit_On_Investment = -210,
|
|
Tax_Gross_Rebate = -225,
|
|
Tax_Gross_Refund = -226,
|
|
Tax_Gross_OtherRebate = -227,
|
|
Tax_Gross_OtherAddable = -228,
|
|
|
|
Net_Payable = -211,
|
|
Tax_Deducted = -212,
|
|
|
|
Investment_Actual = -219,
|
|
Investment_Allowed = -220,
|
|
|
|
LFA_Allowance = -233,
|
|
Exemption_LFA_Allowance = -234,
|
|
Tax_Refund_On_Current_Year = -235,
|
|
|
|
WPPF_Allowance = -236,
|
|
WPPF_Examption = -237,
|
|
}
|
|
|
|
export enum EnumTrainingSchStatus {
|
|
Not_yet_Approved = 1,
|
|
Approved = 2,
|
|
Completed = 3,
|
|
}
|
|
|
|
//
|
|
// export enum EnumEmployeeStatus
|
|
// {
|
|
// StatusLive = 1,
|
|
// Discontinue = 2,
|
|
// StatusSuspend = 3,
|
|
// DiscontinueAfterSalary = 4,
|
|
// WithHeld = 5,
|
|
// LiveHeldNotPaid = 6
|
|
// }
|
|
|
|
export enum EnumOperationalStatus {
|
|
None = 0,
|
|
Add = 1,
|
|
Edit = 2,
|
|
Delete = 3,
|
|
Unchanged = 4,
|
|
}
|
|
|
|
export enum EnumLoanActivity {
|
|
LoanIssue = 19, // accroding to SyatemTranType Table
|
|
BodilyShift = 2,
|
|
Reschedule = 3,
|
|
DelayCharge = 4,
|
|
EarlySettlement = 5,
|
|
}
|
|
|
|
export enum EnumLoanTransactionType {
|
|
None = 0,
|
|
LoanIssue = 19, // Accroding to SystemTranType Table
|
|
MonthlyInstallmentRealization = 20,
|
|
LoanEarlySettlement = 21,
|
|
}
|
|
|
|
export enum EnumEmployeeStatus {
|
|
Live = 1,
|
|
Discontinued = 2,
|
|
Secondy = 3,
|
|
Suspend = 4,
|
|
//Withheld = 5,
|
|
Waitingforjoin = 6,
|
|
Didnotjoin = 7,
|
|
IA = 8,
|
|
}
|
|
|
|
export enum EnumBaseStation {
|
|
None = 0,
|
|
Dhaka = 1,
|
|
Other = 2,
|
|
}
|
|
|
|
export enum EnumRole {
|
|
Front_Office = 1,
|
|
Back_Office = 2,
|
|
None = 3,
|
|
}
|
|
|
|
//
|
|
// export enum EnumEmployeeOtherStatus
|
|
// {
|
|
// Confirmed = 4,
|
|
// Converted = 10,
|
|
// Posting_Change = 11,
|
|
// CostCenter_Change = 12,
|
|
// Grade_Salary_Change = 13,
|
|
// Discontinue_AfterNext_Salary = 14
|
|
// }
|
|
|
|
export enum EnumSlabType {
|
|
BasicSalary = 0,
|
|
CasualLeave = 1,
|
|
}
|
|
|
|
export enum EnumSlabAmountType {
|
|
FlatAmount = 0,
|
|
ActualBasic = 1,
|
|
Percentage = 2,
|
|
}
|
|
|
|
export enum EnumFSLeaveHead {
|
|
Basic = 1,
|
|
Houserent = 2,
|
|
Medical = 3,
|
|
Utility = 4,
|
|
Upkeep = 5,
|
|
}
|
|
|
|
export enum EnumFASOwnComp {
|
|
Own = 1,
|
|
Comp = 2,
|
|
}
|
|
|
|
export enum EnumPFParmaType {
|
|
PF = 1,
|
|
CPF = 2,
|
|
IntRate = 3,
|
|
}
|
|
|
|
export enum EnumPFMembershipType {
|
|
NotYetLive = 0,
|
|
Live = 1,
|
|
DiscontinuedfromPayroll = 2,
|
|
}
|
|
|
|
export enum EnumSide {
|
|
Add = 1,
|
|
Deduct = -1,
|
|
}
|
|
|
|
export enum enumIncomeTaxItemType {
|
|
None = 0,
|
|
Basic_Salary = 1,
|
|
Allowance = 2,
|
|
Deduction = 3,
|
|
OT = 4,
|
|
Bonus = 5,
|
|
Earned_Leave = 6,
|
|
PF = 7,
|
|
OPI = 8,
|
|
AdjustItem = 9,
|
|
FinalSettlement = 10,
|
|
LFA = 11,
|
|
}
|
|
|
|
export enum EnumJVEmpType {
|
|
RegardLess = 1,
|
|
Expat = 2,
|
|
Local = 3,
|
|
}
|
|
|
|
export enum enumPayrollComponentType {
|
|
Basic_salary = 1,
|
|
Allowance = 2,
|
|
Deduction = 3,
|
|
Over_Time = 4,
|
|
Bonus = 5,
|
|
Loan = 6,
|
|
LoanInterest = 7,
|
|
PF = 8,
|
|
CPF = 9,
|
|
Gratuity = 10,
|
|
IncomeTax = 11,
|
|
Net_pay = 12,
|
|
OPI = 13,
|
|
Final_settlement = 14,
|
|
Earn_Leave = 15,
|
|
FSSNoticePay = 16,
|
|
FSSNetPay = 17,
|
|
FSSWPPF = 18,
|
|
FSSLeave = 19,
|
|
OPINetPay = 20,
|
|
BonusAdjustment = 21,
|
|
Ordinary_Hour_Extra = 22,
|
|
// just por continue the work, plz remove this if it creates any problem
|
|
Badli_Shift_Allowance = 23,
|
|
}
|
|
|
|
export enum EnumEmployeeType {
|
|
Regardless = 0,
|
|
Salary = 1,
|
|
Wages = 2,
|
|
}
|
|
|
|
export enum EnumPeriodicity {
|
|
Monthly = 1,
|
|
OneOff = 2,
|
|
RegardLess = 3,
|
|
Schedule = 4,
|
|
Periodic = 5,
|
|
}
|
|
|
|
export enum EnumEntitleType {
|
|
Regardless = 0,
|
|
Grade = 1,
|
|
Individual = 2,
|
|
}
|
|
|
|
export enum EnumOpiAvgPayType {
|
|
NONE = 0,
|
|
OT = 1,
|
|
Allowance = 2,
|
|
Deduction = 3,
|
|
}
|
|
|
|
export enum EnumPFTranType {
|
|
PFAmount = 1,
|
|
CPFAmount = 2,
|
|
Withdrawal = 3,
|
|
OwnInt = 4,
|
|
CompInt = 5,
|
|
}
|
|
|
|
export enum EnumBankAccountType {
|
|
SalaryAccount = 1,
|
|
OutPayAccount = 2,
|
|
}
|
|
|
|
export enum EnumPageType {
|
|
HorizonPage = 1,
|
|
VerticPage = 2,
|
|
}
|
|
|
|
export enum EnumLeaveType {
|
|
General = 3,
|
|
Unauthorized = 2,
|
|
SuspendedEmp = 1,
|
|
RegardlessLeave = 0,
|
|
}
|
|
|
|
export enum EnumMaternityLeaveStatus {
|
|
Prenatal = 0,
|
|
Postnatal = 1,
|
|
FullPayment = 2,
|
|
}
|
|
export enum EnumMaternityItemDetailType {
|
|
GrossSalary = 1, //GrossSalary=Basic + House Rent allowance + Conveyance Allowance + Special Allowance
|
|
OT = 2,
|
|
ExtraWorkAllowance = 3,
|
|
BonusFestival = 4,
|
|
BonusDressAllowance = 5,
|
|
MedicalAllowance = 6,
|
|
SpecialConveyanceAllowance = 7,
|
|
Others = 8,
|
|
Days = 9,
|
|
Total = 10
|
|
}
|
|
|
|
export enum EnumFASHeadItem {
|
|
FASSalComponent = 1,
|
|
FASOT = 2,
|
|
FASNetPay2Bank = 3,
|
|
FASPF = 4,
|
|
FASESB = 5,
|
|
FASGOSI = 6,
|
|
FASRRS = 7,
|
|
FASVPA = 8,
|
|
FASOPI = 9,
|
|
FASAUL = 10,
|
|
FASUAUL = 11,
|
|
FASBONUS = 12,
|
|
}
|
|
|
|
export enum EnumSearchEmployeeGroup {
|
|
None = 1,
|
|
Category = 2,
|
|
Grade = 3,
|
|
Department = 4,
|
|
Location = 5,
|
|
}
|
|
|
|
export enum EnumAddress {
|
|
CorporateAddress = 1,
|
|
FactoryAddress = 2,
|
|
}
|
|
|
|
export enum EnumFooterAppearance {
|
|
OnEachPage = 1,
|
|
OnLastPage = 2,
|
|
}
|
|
|
|
export enum enumFalgStatus {
|
|
True = 0,
|
|
False = 1,
|
|
}
|
|
|
|
export enum EnumSalaryHead {
|
|
Allowance = 1,
|
|
Deduction = 2,
|
|
Reimbursement = 3,
|
|
}
|
|
|
|
export enum EnumSearchFrom {
|
|
Employee = 1,
|
|
Salary = 2,
|
|
Bonus = 3,
|
|
OutSidePayroll = 4,
|
|
PFTran = 5,
|
|
OverTime = 6,
|
|
Loan = 7,
|
|
IT = 8,
|
|
Attendance = 9,
|
|
WorkPlanGroup = 10,
|
|
}
|
|
|
|
export enum EnumJdEducation {
|
|
None,
|
|
Masters_Of_Business_Administration,
|
|
Masters_Of_Science,
|
|
Masters_Of_Social_Science,
|
|
Masters_Of_Arts,
|
|
Masters_Of_Commerce,
|
|
Masters_Of_Business_Studies,
|
|
Bachelor_Of_Business_Administration,
|
|
Bachelor_Of_Science,
|
|
Bachelor_Of_Commerce,
|
|
Honours,
|
|
Bachelor_Of_Arts,
|
|
Bachelor_Of_Business_Studies,
|
|
Bachelor_Of_Social_Science,
|
|
Diploma_In_Engineering,
|
|
Higher_Secondary_Certificate,
|
|
Secondary_Certificate,
|
|
Junior_School_Certificate,
|
|
Below_Junior_School_Certificate,
|
|
Not_Available,
|
|
}
|
|
|
|
export enum EnumReportType {
|
|
None = 100,
|
|
DLP = 1,
|
|
Grade = 2,
|
|
GradeSegment = 3,
|
|
Designations = 4,
|
|
Categiries = 5,
|
|
|
|
// Employee (16-30)
|
|
Employees = 16,
|
|
EmployeePosting = 17,
|
|
EmployeeAllInfo = 18,
|
|
EmpCostCenter = 19,
|
|
BankGuarantee = 20,
|
|
EmpIndvidualDetail = 21,
|
|
EmpUpcomingInfo = 22,
|
|
EmpHistory = 23,
|
|
EmpRetirement = 24,
|
|
EmpService = 25,
|
|
EmpEnvelop = 26,
|
|
|
|
// OverTime (31-35 and 167-168)
|
|
OTHour = 31,
|
|
OTPaySlip = 32,
|
|
OTBankAdvice = 33,
|
|
|
|
OTHourSheet = 34,
|
|
OTMonthRange = 35,
|
|
OTBranch = 167,
|
|
OTDivision = 168,
|
|
OTCostCenter = 169,
|
|
|
|
// Salary(36-60)
|
|
BankAdvice = 36,
|
|
CashDisbursement = 37,
|
|
PayRegister = 38,
|
|
OverAllSummary = 39,
|
|
SalaryControl = 40,
|
|
PaySlip = 41,
|
|
Envelop = 42,
|
|
SalaryReconcil = 43,
|
|
SalaryReconcilItemWise = 143,
|
|
SalaryControl1Page = 44,
|
|
IndvSalaryComponent = 45,
|
|
ChangeNotes = 46,
|
|
ChangeNotesSummary = 47,
|
|
CCSalaryDetails = 48,
|
|
CCSalarySummary = 49,
|
|
CCSalarySheet = 249,
|
|
SalaryComparison = 51,
|
|
Memorandum = 52,
|
|
SalarySMS = 53,
|
|
SalarySheetSummary = 54,
|
|
SalarySheetSummaryWithoutCostCenter = 540,
|
|
SalarySheetArrear = 57,
|
|
SalaryBankSummary = 55,
|
|
SalaryByMonthAndYear = 111111,
|
|
SalarySheetForIDLC = 110,
|
|
SalarySheetWithOPIItems = 111,
|
|
SalarySheetForIDLCWithOPIItems = 112,
|
|
PayrollSummary = 113,
|
|
BranchWiseSalarySummary = 302,
|
|
CostCenterWiseSalaryDetails = 303,
|
|
DivisionWiseReport = 305,
|
|
DepartmentWiseReport = 306,
|
|
CTCDetail = 307,
|
|
CCReportToFinance = 308,
|
|
CostCenterWiseSummary = 309,
|
|
PreRequisite = 310,
|
|
CTCComparison = 311,
|
|
PromotionSalarySheetDetail = 312,
|
|
PromotionSalarySheetSummary = 313,
|
|
ChangeInLocation = 314,
|
|
JoiningReport = 315,
|
|
IncrementDetail = 316,
|
|
IncrementSummary = 317,
|
|
IncrementComparison = 318,
|
|
BranchWiseSalaryDetail = 321,
|
|
BranchWiseOPIDetails = 322,
|
|
BranchWiseDeductionDetails = 323,
|
|
CashAdviceReport = 324,
|
|
|
|
DivisionWiseSalary = 58,
|
|
CostCenterWise = 59,
|
|
SalarySheetExtended = 60,
|
|
CostInformation = 260,
|
|
SalarySheetBuyerWise = 261,
|
|
SalarySheetDeptWise = 262,
|
|
BanglaPayslip = 263,
|
|
BuyerWiseBanglaPayslip = 264,
|
|
SalaryStracture = 223,
|
|
SalaryReconciliationSummary = 501,
|
|
ItemWiseSalary = 502,
|
|
SalaryreconciliationForAllitems = 503,
|
|
SalaryCertificate = 504,
|
|
EmployeesMasterData = 505,
|
|
StuffListWithoutSalary = 506,
|
|
StuffAccountWithoutSalary = 507,
|
|
SalaryComparisonNew = 508,
|
|
AuditReport = 509,
|
|
// PF
|
|
PFLedger = 61,
|
|
PFRegister = 62,
|
|
PFCertificate = 63,
|
|
PFYrlyRegister = 64,
|
|
PFTotalInvestment = 65,
|
|
MonthlyPF = 24,
|
|
|
|
// Income Tax(66-70)
|
|
ITAnnual = 66,
|
|
ITMonthly = 67,
|
|
ITRegister = 68,
|
|
ITIndividual = 69,
|
|
ITInvestment = 70,
|
|
ITPerquisite = 147,
|
|
ITReport108 = 252,
|
|
EmployeeTaxDetails = 253,
|
|
ITReportWithoutProjection = 255,
|
|
EmployeesTaxDeducted = 256,
|
|
ITReport108onPaidAmount = 257,
|
|
TaxInvestment = 258,
|
|
TaxChallan = 259,
|
|
// ITMultipleEmp=254,
|
|
|
|
// Bonus(71-80)
|
|
BonusBankAdvice = 71,
|
|
BonusRegister = 72,
|
|
PaySlipForBonus = 73,
|
|
|
|
// Loan(81-85)
|
|
LoanIssue = 81,
|
|
LoanDue = 82,
|
|
Loan = 83,
|
|
|
|
// Outside Payslip
|
|
OutPayslip = 86,
|
|
OutPayRegister = 87,
|
|
OutCashDisbursementRegister = 88,
|
|
OutPayBankAdvice = 89,
|
|
OutPaymentRegister = 90,
|
|
OutPayLedger = 91,
|
|
OutPayEmployeeCost = 92,
|
|
DetailOtherPayrollItem = 300,
|
|
DeductionReport = 301,
|
|
CostCenterWiseOPIDetails = 304,
|
|
OPIPayslip = 319,
|
|
IDLCOPIRegister = 320,
|
|
ItemWiseOPI = 321,
|
|
ManagersPtt = 322,
|
|
// ManagersMedical = 323,
|
|
|
|
// Leave
|
|
UnAuthorizedLeave = 93,
|
|
EmpWorkingHours = 94,
|
|
EmpITInvestment = 95,
|
|
|
|
// Budget(106-115)
|
|
MarketSurvey = 106,
|
|
|
|
// Gratuity(116-120)
|
|
URBProvision = 116,
|
|
Appraisal = 117,
|
|
|
|
URBRegister = 150,
|
|
URBDetail = 151,
|
|
|
|
// Payroll Type Change Histry
|
|
PTCHistry = 118,
|
|
|
|
// Final Sattlement
|
|
FinalSattlement = 119,
|
|
BankLetter = 120,
|
|
EmployeeHistory = 121,
|
|
PermissionList = 145,
|
|
ChangeHistry = 146,
|
|
CCHistory = 147,
|
|
PositionWiseSalary = 148,
|
|
Payscale = 149,
|
|
EmailPayslip = 999,
|
|
|
|
// For Attendance Module
|
|
DailyAttendance = 160,
|
|
MonthlyAttendances = 161,
|
|
MonthlyLateAtten = 162,
|
|
|
|
// FAS
|
|
FASSalaryAllocation = 163,
|
|
FASSWJV = 164,
|
|
PFrevenue = 165,
|
|
GL = 166,
|
|
|
|
// Attendance report
|
|
DailyInOut = 200,
|
|
DailyAbsent = 201,
|
|
MonthlyAttendance = 202,
|
|
MonthlyDetailAttendance = 203,
|
|
AttendanceInformation = 204,
|
|
DailyInOutAndAbsent = 205,
|
|
|
|
// Attendance Report For Buyer
|
|
DailyInOutForBuyer = 230,
|
|
DailyAbsentForBuyer = 231,
|
|
MonthlyAttendanceForBuyer = 232,
|
|
MonthlyDetailAttendanceForBuyer = 233,
|
|
|
|
// Journal Voucher(240-245)
|
|
JVReport = 240,
|
|
EmployeeWiseJVReport = 241,
|
|
CCWiseJVReport = 242,
|
|
JVSummaryReport = 243,
|
|
|
|
// FinalSettlement
|
|
FinalSettlement = 244,
|
|
|
|
// Employee Life Cycle
|
|
EmpLifeCycle = 245,
|
|
|
|
// Workflow
|
|
Workflow = 246,
|
|
|
|
//Echotex(701-800)
|
|
PaySlipEcho = 701,
|
|
EchoSalarySheet = 702,
|
|
SalarySheetEcho = 703,
|
|
SalarySheetEchoNew = 704,
|
|
BankAdviceEcho = 705,
|
|
OverallSummaryEcho = 706,
|
|
SalaryReconEcho = 707,
|
|
SalaryReconSummaryEcho = 708,
|
|
BanglaPaySlipEcho = 709,
|
|
ItemWiseSalaryEcho = 710,
|
|
CashAdviceEcho = 711,
|
|
|
|
//LiNFung
|
|
SingleJobCardLiNFunf = 605,
|
|
MultipleEmployeeJobCardLiNFunf = 606,
|
|
AttendanceSummaryLiFung = 607,
|
|
DailyPresentLiFung = 608,
|
|
DailyAbsentLiFung = 609,
|
|
DailyOddLiFung = 610,
|
|
DailyAttnLiFung = 611,
|
|
|
|
}
|
|
|
|
export enum EnumItemType {
|
|
NotNeeded = 1,
|
|
LeaveType = 2,
|
|
Bonus = 3,
|
|
Advance = 4,
|
|
IncomeTax = 5,
|
|
VPA = 6,
|
|
SalaryItem = 7,
|
|
PF = 8,
|
|
}
|
|
|
|
export enum EnumPropertyValue {
|
|
Regardless = 3,
|
|
Yes = 1,
|
|
OtherThan = 0,
|
|
}
|
|
|
|
export enum EnumSQLOperator {
|
|
None = 0,
|
|
EqualTo = 1,
|
|
NotEqualTo = 2,
|
|
GraterThan = 3,
|
|
SmallerThan = 4,
|
|
Between = 5,
|
|
NotBetween = 6,
|
|
In = 7,
|
|
NotIn = 8,
|
|
Like = 9,
|
|
Null = 10,
|
|
NotNull = 11,
|
|
}
|
|
|
|
export enum EnumRegularDataUpload {
|
|
None = 0,
|
|
EmployeeWithBasic = 1,
|
|
Allowance = 2,
|
|
Deduction = 3,
|
|
OPI = 4,
|
|
TC = 5,
|
|
Leave = 6,
|
|
EmployeeConfirmation = 7,
|
|
EmpDiscontinue = 8,
|
|
SalaryData = 9,
|
|
Bonus = 10,
|
|
TaxAdjustCurrYear = 11,
|
|
EmployeeBankAccount = 12,
|
|
ITInvestment = 13,
|
|
TaxChallan = 14,
|
|
SalaryRemarks = 15,
|
|
ESB = 16,
|
|
EmpGradeSalary = 17,
|
|
EmployeeAttendance = 18,
|
|
TaxData = 19,
|
|
EmployeeLoan = 20,
|
|
EmployeeLoanSetup = 21,
|
|
EmpSalaryComponent = 22,
|
|
EmpCC = 23,
|
|
EmpVendorCode = 24,
|
|
EmpHRData = 25,
|
|
EmpAllHRData = 26,
|
|
CVDocument = 27,
|
|
LifeCycle = 28,
|
|
EmpRole = 29,
|
|
EmpSingle = 30,
|
|
EmpMultiple = 31,
|
|
EmpGeneralCont = 32,
|
|
PFOpening = 33,
|
|
OPI_Parameter_Individual = 34,
|
|
EmpAddressData = 35,
|
|
ExceptionAllowance = 36,
|
|
NotApplicableAllowance = 37,
|
|
Organogram = 38,
|
|
LTAdata = 39,
|
|
WPPFAllowance = 40,
|
|
EmployeeDepartmentBasic = 41,
|
|
EmpCardInfo = 42,
|
|
EmpWorkPlanSetup = 43,
|
|
OrganogramData = 44,
|
|
EmployeeProfileUpload = 46,
|
|
LeaveBalance = 47,
|
|
LeaveEntry = 48,
|
|
TaxInvestment = 49,
|
|
AitUpload = 50,
|
|
OTImport = 51,
|
|
EmpWorkplanUpload = 52,
|
|
TemporaryShiftAssignmentUpload = 53,
|
|
PFYearlyInterest = 54,
|
|
LeaveEntryLf = 55,
|
|
MonthlyAchivement = 56,
|
|
TaxAdjustmentDataUpload = 203,
|
|
LeaveEncashDays = 57,
|
|
// Do not use greater 41 while you will need to assign a new enum type here.
|
|
}
|
|
|
|
export enum EnumMessageType {
|
|
Error = 1,
|
|
Success = 2,
|
|
}
|
|
|
|
export enum EnumSchedularType {
|
|
None = 0,
|
|
Birthday = 1,
|
|
Work_Aniversary = 2,
|
|
Daily_Attendance_Report = 3,
|
|
Previous_Weekly_Attendance_Report = 4,
|
|
Previous_Monthly_Attendance_Report = 5,
|
|
Pending_Approval = 6,
|
|
Previous_Day_Attendance_Report = 7,
|
|
Previous_Day_Approved_LeaveEntry_Report = 8,
|
|
Yesterday_Absent_Notification_Self = 9,
|
|
Yesterday_Absent_Notification_LM = 10,
|
|
LiFung_Leave_upload = 11,
|
|
Coordinator_Upload = 12,
|
|
MonthlyAttendanceSummaryLM = 13,
|
|
AttendanceAutoProcess = 14
|
|
}
|
|
|
|
export enum EnumCardStatus {
|
|
UnAssigned = 0,
|
|
Free = 1,
|
|
Temporary = 2,
|
|
Lost = 3,
|
|
Found = 4,
|
|
Attached = 5,
|
|
Detached = 6,
|
|
}
|
|
|
|
export enum EnmSetupManagerTranType {
|
|
None = 0,
|
|
Grade = 1,
|
|
Location = 2,
|
|
Category = 3,
|
|
Designation = 4,
|
|
}
|
|
|
|
export enum EnumSetupDetailType {
|
|
OT = 1,
|
|
Bonus = 2,
|
|
}
|
|
|
|
export enum EnumAttendanceType {
|
|
Present = 1,
|
|
Absent = 2,
|
|
Delay = 3,
|
|
Late = 11,
|
|
Early = 12,
|
|
Leave = 4,
|
|
Holiday = 5,
|
|
OutSideDuty = 7,
|
|
WeeklyHoliday = 8,
|
|
}
|
|
|
|
export enum EnumAttendanceStatus {
|
|
All = 1,
|
|
Present = 2,
|
|
Rest = 3,
|
|
Present_Odd = 4,
|
|
Leave = 5,
|
|
National_Holiday = 6,
|
|
Absent = 7,
|
|
}
|
|
|
|
export enum EnumReportItemType {
|
|
NotNeeded = 1,
|
|
LeaveType = 2,
|
|
Bonus = 3,
|
|
Advance = 4,
|
|
IncomeTax = 5,
|
|
VPA = 6,
|
|
SalaryItem = 7,
|
|
PF = 8,
|
|
OPI = 9,
|
|
BankAdviceSalary = 10,
|
|
EmployeeBasicAndDetails = 11,
|
|
Loan = 12,
|
|
}
|
|
|
|
export enum EnumLogoutType {
|
|
NotInitiate = 0,
|
|
User = 1,
|
|
Superuser = 2,
|
|
ResetLoginTime = 3,
|
|
WebUser = 4,
|
|
}
|
|
|
|
export enum EnumTermType {
|
|
Normal = 1,
|
|
Slab = 2,
|
|
AnyAmount = 3,
|
|
}
|
|
|
|
export enum EnumTaxCircle {
|
|
CityCorporation = 0,
|
|
Municipal = 1,
|
|
Union = 2
|
|
}
|
|
|
|
export enum EnumADEmpType {
|
|
Exception = 1,
|
|
NotApplicable = 2,
|
|
AppliedToIndividual = 3,
|
|
AppliedToGrade,
|
|
}
|
|
|
|
export enum EnumOPIIndivdualType {
|
|
Exception = 1,
|
|
NotApplicable = 2,
|
|
AppliedToIndividual = 3,
|
|
AppliedToGrade,
|
|
}
|
|
|
|
export enum EnumValueType {
|
|
Amount = 1,
|
|
Other = 2,
|
|
}
|
|
|
|
//export enum EnumRecPayType {
|
|
// None=0,
|
|
// Payable = 1,
|
|
// Deduct = 2
|
|
//}
|
|
|
|
export enum EnumFSTranType {
|
|
FSReceivable = 1,
|
|
FSPayable = 2,
|
|
}
|
|
|
|
export enum EnumResignationType {
|
|
Resign = 1,
|
|
Terminate = 2,
|
|
Retire = 3,
|
|
}
|
|
|
|
export enum EnumFSItemCode {
|
|
Leave = 1,
|
|
PF = 2,
|
|
Gratuity = 3,
|
|
OT = 4,
|
|
Bonus = 5,
|
|
Gross = 6,
|
|
FractionateSalary = 7,
|
|
Other = 8,
|
|
Loan = 9,
|
|
CPF = 10,
|
|
LFA = 11,
|
|
NoticePayDay = 12,
|
|
Provision = 13,
|
|
FSProvision = 14,
|
|
WPPF = 15,
|
|
PFLoan = 16,
|
|
OPI = 17,
|
|
LTA = 18,
|
|
Medical = 19,
|
|
LeaveEncashment = 20,
|
|
Compensation = 22,
|
|
NoticPeriodAmount = 23,
|
|
Benifit = 24,
|
|
Voluntary_Gratuity = 25,
|
|
Pension = 26,
|
|
Asset = 27,
|
|
PFLapsAndForfeiture = 28,
|
|
PFLoanInterest = 29,
|
|
WPPFTax = 30,
|
|
Compensate_Basic = 31,
|
|
Claim = 32,
|
|
}
|
|
|
|
export enum EnumParameterSetup {
|
|
None = 0,
|
|
OT = 1,
|
|
Bonus = 2,
|
|
SalaryDeduct = 3,
|
|
Gratuity = 4,
|
|
Leave = 5,
|
|
}
|
|
|
|
export enum EnumIncomeTaxHead {
|
|
None = 0,
|
|
House = 1,
|
|
Car = 2,
|
|
}
|
|
|
|
export enum EnumSearchParameter {
|
|
FromDate = 1,
|
|
ToDate = 2,
|
|
CategoryID = 5,
|
|
DesignationID = 6,
|
|
GradeID = 7,
|
|
ReligionID = 8,
|
|
DepartmentID = 9,
|
|
BranchID = 10,
|
|
Name = 11,
|
|
FromEmployeeNO = 12,
|
|
ToEmployeeNO = 13,
|
|
Status = 14,
|
|
Posted = 15,
|
|
Confirm = 16,
|
|
OTEligible = 17,
|
|
BonusId = 18,
|
|
Gender = 19,
|
|
JoiningDate = 22,
|
|
FinalizedSalary = 24,
|
|
SalaryBarchID = 25,
|
|
OPIID = 26,
|
|
Expatriate = 27,
|
|
TermID = 28,
|
|
BankID = 29,
|
|
PFMember = 30,
|
|
AssingedAccCard = 31,
|
|
LocationID = 32,
|
|
GradeSegmentID = 33,
|
|
CostCenterID = 34,
|
|
PayrollTypeID = 35,
|
|
EmployeeNo = 36,
|
|
CompanyID = 37,
|
|
TrainingTypeID = 38,
|
|
TaxParameterID = 39,
|
|
ComplaintID = 40,
|
|
PunishmentID = 41,
|
|
SkillID = 42,
|
|
BonusProcessID = 43,
|
|
ReportID = 44,
|
|
ProductionBonusSetupID = 45,
|
|
NationalID = 46,
|
|
IA = 47,
|
|
WorkPlanGroupID = 48,
|
|
LM = 49,
|
|
JoiningDateFrom = 50,
|
|
JoiningDateTo = 51,
|
|
EmployeeNoIn = 52,
|
|
}
|
|
|
|
export enum EnumLeaveStatus {
|
|
/* Drafted = 0, OnApproval = 1, Approved = 2, Declined = 3, Availed = 4*/
|
|
Drafted = 0,
|
|
OnApproval = 1,
|
|
Approved = 6,
|
|
Declined = 4,
|
|
Availed = 5,
|
|
Cancel_Request = 9,
|
|
Cancel = 10,
|
|
Cancelled_by_user = 11,
|
|
}
|
|
|
|
export enum EnumLeaveApplicableType {
|
|
Probationary = 0,
|
|
Confirmed = 1,
|
|
Regardless = 2,
|
|
}
|
|
|
|
export enum EnumEntryMode {
|
|
Unknown = 0,
|
|
In = 1,
|
|
Out = 2,
|
|
}
|
|
|
|
export enum EnumHolidayType {
|
|
Weekend = 1,
|
|
National = 2,
|
|
Other = 3,
|
|
}
|
|
|
|
// Added by Motiur
|
|
|
|
export enum EnumWorkPlanGroup {
|
|
Fixed = 2,
|
|
Counter_Clock_1 = 1,
|
|
Counter_Clock_2 = 3,
|
|
Counter_Clock_3 = 4,
|
|
Counter_Clock_4 = 5,
|
|
Counter_Clock_5 = 6,
|
|
Counter_Clock_6 = 7,
|
|
Counter_Clock_7 = 8,
|
|
Counter_Clock_8 = 9,
|
|
Double_Shift_1 = 10,
|
|
Double_Shift_2 = 11,
|
|
Double_Shift_3 = 12,
|
|
Double_Shift_4 = 13,
|
|
Two_Days_Shift_1 = 14,
|
|
Two_Days_Shift_2 = 15,
|
|
Three_Days_Shift_1 = 16,
|
|
Three_Days_Shift_2 = 17,
|
|
}
|
|
|
|
export enum EnumLateAttendanceType {
|
|
NotApplicable = 1,
|
|
Nine_0am_to_Nine_14am = 2,
|
|
Nine_15am_to_Nine_29am = 3,
|
|
Nine_30am_to_Ten_59am = 4,
|
|
Eleven_0am_to_One_30pm = 5,
|
|
}
|
|
|
|
export enum EnumWorkPlanDayType {
|
|
WeeklyHoliday = 1,
|
|
NationalHoliday = 2,
|
|
WorkingDay = 3,
|
|
HartalDay = 4,
|
|
}
|
|
|
|
export enum EnumLifeCycleComponent {
|
|
Category = 1,
|
|
Department = 2,
|
|
Position_With_Properties = 3,
|
|
Designation = 4,
|
|
Grade = 5,
|
|
Location = 6,
|
|
Basic_salary = 7,
|
|
PF_Member = 8,
|
|
Continue = 9,
|
|
Confirm = 10,
|
|
Discontinue = 11,
|
|
Function = 12,
|
|
Company = 13,
|
|
Gross_salary = 14,
|
|
Cost_Center = 15,
|
|
Position_Without_Properties = 16,
|
|
Force_Remove_From_Position = 17,
|
|
Role = 18,
|
|
IA = 19,
|
|
salary_Withheld = 20,
|
|
undo_salary_Withheld = 21,
|
|
Payroll_Type = 22,
|
|
Grievance = 23,
|
|
}
|
|
|
|
export enum EnumAuthorityType {
|
|
Reporting = 1,
|
|
Doted = 2,
|
|
}
|
|
|
|
export enum EnumWFRuleType {
|
|
LineManager = 1,
|
|
FixedOGNode = 2,
|
|
Designation = 3,
|
|
Manual = 4,
|
|
OrganizationStructure = 5,
|
|
}
|
|
//export enum EnumwfStatus {
|
|
// Initiate = 0,
|
|
// Received = 1,
|
|
// Revert = 2,
|
|
// Reject = 3,
|
|
// Approve = 4,
|
|
// Halt = 5,
|
|
// Recomendation = 6,
|
|
// End = 7
|
|
//}
|
|
|
|
export enum EnumClaimRequsitionStatus {
|
|
Draft = 0,
|
|
Submitted = 1,
|
|
Approved = 2,
|
|
Rejected = 3,
|
|
Approved_and_Paid = 4,
|
|
}
|
|
|
|
export enum EnumFieldTypeStatus {
|
|
String = 1,
|
|
Date = 2,
|
|
Number = 3,
|
|
}
|
|
|
|
export enum enumwfStatus {
|
|
//Not_yet_Initiated = 0,
|
|
//Received = 1,
|
|
//Passed = 2,
|
|
//Revert = 3,
|
|
//Decline = 4,
|
|
//Approve = 5,
|
|
//End = 6,
|
|
//Exception = 7,
|
|
//Not_yet_Submitted = 8,
|
|
// do not change the value of following enum without discuss Shamim
|
|
Initiate = 0,
|
|
Received = 1,
|
|
Revert = 2,
|
|
Reject = 3,
|
|
Approve = 4,
|
|
Halt = 5,
|
|
Recomendation = 6,
|
|
End = 7,
|
|
Not_yet_Submitted = 8,
|
|
Cancel_Request = 9,
|
|
Cancel = 10,
|
|
}
|
|
|
|
export enum EnumResignStatus {
|
|
Sumitted = 1,
|
|
Approved = 2,
|
|
Rejected = 3,
|
|
Clearance_initiated = 4,
|
|
Clearance_Done = 5,
|
|
Calculation_Done = 6,
|
|
Payment_Advice_forwarded = 7,
|
|
Payment_done = 8,
|
|
}
|
|
|
|
export enum EnumClaimPaymentType {
|
|
None = 0,
|
|
Paid = 1,
|
|
With_Salary = 2,
|
|
Unpaid = 3,
|
|
Reject = 4,
|
|
Paid_By_Clearance = 5,
|
|
}
|
|
export enum EnumResignationClearanceStatus {
|
|
Not_yet_started = 1,
|
|
Started = 2,
|
|
Done = 3,
|
|
}
|
|
|
|
export enum EnumLetterRequestPurpose {
|
|
NOC = 1,
|
|
Business_Visa_Letter = 2,
|
|
Experience_Certificate = 3,
|
|
Employment_Certificate_with_JD = 4,
|
|
Salary_Certificate = 5,
|
|
NOC_To_Whom_it_may_concern = 6,
|
|
Employment_Certificate_to_whom_it_may_concern = 7,
|
|
Salary_Certificate_to_whom_it_may_concern = 8,
|
|
// Travel_NOC_Personal = 9,
|
|
// NOC_For_Immigration_OR_Visa_Request_NOC = 9,
|
|
// Visa_Request_NOC_Personal = 10,
|
|
NOC_For_Embassy_OR_Immigration = 9,
|
|
Visa_Request_NOC = 10,
|
|
Resignation_Letter_With_Notice_Period = 11,
|
|
Employment_Certificate = 12,
|
|
}
|
|
|
|
export enum EnumLetterRequestTrip {
|
|
Personal_Trip = 1,
|
|
Business_Trip = 2
|
|
}
|
|
|
|
export enum EnumLetterRequestStatus {
|
|
//Approved = 1,
|
|
//Waiting_For_Approve = 2,
|
|
//Rejected = 3,
|
|
//Approval_Not_Required = 4
|
|
Darft = 0,
|
|
Submitted = 1,
|
|
Approved = 2,
|
|
Rejected = 3,
|
|
}
|
|
|
|
export enum EnumAssetStatus {
|
|
Free = 1,
|
|
Assigned = 2,
|
|
Faulty = 3,
|
|
Repaired = 4,
|
|
}
|
|
|
|
export enum EnumRequisitionApprovalStatus {
|
|
Not_Initiated = 0,
|
|
InProcess = 1,
|
|
Approved = 2,
|
|
}
|
|
|
|
export enum EnumWFReceiveStatus {
|
|
NOT_YET_OPEN = 1,
|
|
ALREADY_OPENED = 2,
|
|
}
|
|
|
|
export enum EducationEnum {
|
|
Any = 1,
|
|
Diploma = 2,
|
|
Bachelors_Honors = 3,
|
|
Masters = 4,
|
|
Doctorial = 5,
|
|
Others = 6,
|
|
}
|
|
|
|
export enum ComputerRequisitionEnum {
|
|
Yes = 1,
|
|
No = 2,
|
|
}
|
|
|
|
export enum EnumWFNotifyType {
|
|
Email = 1,
|
|
SysNotification = 2,
|
|
}
|
|
|
|
export enum enumMailSendType {
|
|
To = 1,
|
|
CC = 2,
|
|
BCC = 3,
|
|
}
|
|
|
|
export enum EnumWeeklyHolidayType {
|
|
None = 0,
|
|
Normal = 1,
|
|
Alternative = 2,
|
|
HalfDay = 3,
|
|
All = 4,
|
|
}
|
|
|
|
export enum EnmInstituteType {
|
|
None = 0,
|
|
Educational = 1,
|
|
Training = 2,
|
|
EduactionalAndTraining = 3,
|
|
}
|
|
|
|
export enum EnumSystemType {
|
|
Admin = 1,
|
|
Self_Service = 2,
|
|
}
|
|
|
|
export enum EnumCompensatoryLeaveFor {
|
|
None = 0,
|
|
Day_Off = 1,
|
|
Hartal = 2,
|
|
Festival = 3,
|
|
}
|
|
|
|
export enum EnumLanguageEfficiency {
|
|
None = 0,
|
|
Basic = 1,
|
|
Intermideate = 2,
|
|
Advanced = 3,
|
|
}
|
|
|
|
export enum EnumAnswerType {
|
|
None = 0,
|
|
INT = 1,
|
|
STRING = 2,
|
|
DATETIME = 3,
|
|
}
|
|
|
|
export enum EnumBasedOnPercent {
|
|
None = 0,
|
|
Basic = 1,
|
|
Base = 2,
|
|
Gross = 3,
|
|
Fixed_Amount = 4,
|
|
}
|
|
|
|
export enum EnumBudgetChangeType {
|
|
None = 0,
|
|
Discontinue = 1,
|
|
Basic = 2,
|
|
// Gross=3,
|
|
Grade = 4,
|
|
Function = 5,
|
|
Department = 6,
|
|
Location = 7,
|
|
CC = 8,
|
|
}
|
|
|
|
export enum EnumBudgetComponent {
|
|
None = 0,
|
|
Allowance = 1,
|
|
Deduction = 2,
|
|
OPI = 3,
|
|
Bonus = 4,
|
|
}
|
|
|
|
export enum EnumBudgetDetailType {
|
|
None = 0,
|
|
Individual = 1,
|
|
Exception = 2,
|
|
Not_Applicable = 3,
|
|
}
|
|
|
|
export enum EnumIsPrimary {
|
|
YES = 1,
|
|
NO = 0,
|
|
}
|
|
|
|
export enum EnumMonths {
|
|
None = 0,
|
|
January = 1,
|
|
February = 2,
|
|
March = 3,
|
|
April = 4,
|
|
May = 5,
|
|
June = 6,
|
|
July = 7,
|
|
August = 8,
|
|
September = 9,
|
|
October = 10,
|
|
November = 11,
|
|
December = 12,
|
|
}
|
|
|
|
export enum EnumBudgetGroup {
|
|
Gross = 1,
|
|
Deduction = 2,
|
|
Miscellanies = 3,
|
|
}
|
|
|
|
export enum EnumBudgetCode {
|
|
Basic_Salary = 1,
|
|
Allowance = 2,
|
|
Deduction = 3,
|
|
OPI = 4,
|
|
Bonus = 5,
|
|
IncomeTax = 6,
|
|
CTC = 7,
|
|
PF = 8,
|
|
Guranted_Cash = 9,
|
|
}
|
|
|
|
export enum EnumSurveyOn {
|
|
Basic = 1,
|
|
Base = 2,
|
|
Cash = 3,
|
|
CTC = 4,
|
|
}
|
|
|
|
//export enum EnumSurveyQuestionType {
|
|
// None = 0,
|
|
// Weight = 1
|
|
//}
|
|
export enum EnumSurveyQuestionType {
|
|
None = 0,
|
|
// Weight = 1
|
|
Multiple_Choice = 1,
|
|
Weitage_Multiple_Choice = 2,
|
|
Text_Answer = 3,
|
|
Numeric_Anwser = 4,
|
|
}
|
|
|
|
export enum EnumSurveyType {
|
|
None = 0,
|
|
Weight = 1,
|
|
Managerial,
|
|
}
|
|
|
|
export enum PMPStatus {
|
|
NotYetInitiate = 0,
|
|
Target_Setting = 1,
|
|
Midyear_Appraisal = 2,
|
|
Final_Appraisal = 3,
|
|
}
|
|
|
|
export enum PMPWFStatus {
|
|
Draft = 1,
|
|
InProcess = 2,
|
|
Complete = 3,
|
|
Decline = 4,
|
|
Revert = 5,
|
|
}
|
|
|
|
export enum EnumReferredBy {
|
|
CompanyEmployee = 1,
|
|
Other = 2,
|
|
}
|
|
|
|
export enum EnumResult {
|
|
Pass = 1,
|
|
Fail = 2,
|
|
}
|
|
|
|
export enum EnumRecruitementProcess {
|
|
None = 0,
|
|
Started = 1,
|
|
Posponed = 2,
|
|
Completed = 3,
|
|
}
|
|
|
|
export enum EnumAssesmentStatus {
|
|
None = 0,
|
|
// BoardMemberAssesment=1
|
|
Start = 1,
|
|
Complete = 2,
|
|
}
|
|
|
|
export enum EnumInterViewSesstionStatus {
|
|
Not_Yet_initiated = 1,
|
|
Rescheduled = 2,
|
|
Cancelled = 3,
|
|
Completed = 4,
|
|
}
|
|
|
|
export enum EnumDataPermissionType {
|
|
Cagtegory = 1,
|
|
Grade = 2,
|
|
Department = 3,
|
|
Location = 4,
|
|
}
|
|
export enum EnumBaordMemberMarkEntryStatus {
|
|
Not_Required = 1,
|
|
Permission_Given = 2,
|
|
Entry_Completed = 3,
|
|
}
|
|
export enum EnumRecruitementStep {
|
|
Viva = 1,
|
|
Written = 2,
|
|
Final_Selection = 3,
|
|
}
|
|
|
|
export enum EnumTrainingFrequency {
|
|
Select_Frequency = 0,
|
|
ONE_OFF = 1,
|
|
ONCE_A_YEAR = 2,
|
|
EVERY_TWO_YEAR = 3,
|
|
EVERY_THREE_YEAR = 4,
|
|
EVERY_FOUR_YEAR = 5,
|
|
EVERY_FIVE_YEAR = 6,
|
|
}
|
|
|
|
export enum EnumTSStatus {
|
|
Nominated = 6,
|
|
Enrolled = 7,
|
|
Incomplete = 9,
|
|
Complete = 8,
|
|
Request_Declined = 4,
|
|
Requested = 1,
|
|
}
|
|
|
|
export enum EnumVendorType {
|
|
Courier = 1,
|
|
TrainingInstitute = 2,
|
|
RecruitementVendor = 3,
|
|
}
|
|
|
|
export enum EnumVendorPaymentMode {
|
|
Receive = 1,
|
|
Payment = 2,
|
|
}
|
|
|
|
export enum EnumNotificationMedium {
|
|
Email = 1,
|
|
SMS = 2,
|
|
WEB = 3,
|
|
}
|
|
|
|
export enum EnumNotificationStatus {
|
|
InProcess = 1,
|
|
Closed = 2,
|
|
}
|
|
|
|
export enum EnumNotificationType {
|
|
Notification = 1,
|
|
Action_Monitoring = 2,
|
|
Meeting_Minutes = 3,
|
|
}
|
|
|
|
export enum EnumPerticipantType {
|
|
Employee = 1,
|
|
Vendor = 2,
|
|
Applicant = 3,
|
|
WFID = 4,
|
|
}
|
|
|
|
export enum EnumSendStatus {
|
|
NotEligable = 1,
|
|
NotSent = 2,
|
|
Sent = 3,
|
|
}
|
|
|
|
export enum EnumRequestType {
|
|
LTA = 1,
|
|
Medical = 2,
|
|
Insurance = 3,
|
|
Letter = 4,
|
|
Loan = 5,
|
|
MedicalClaim = 6,
|
|
AIT = 7,
|
|
Recognition = 8,
|
|
}
|
|
|
|
export enum EnumLetterType {
|
|
Visa_Letter_Business_Trip_With_Family = 1,
|
|
Salary_Certificate = 2,
|
|
Visa_Letter_Business_Trip = 3,
|
|
Visa_Letter_Personal_Trip = 4,
|
|
Visa_Letter_Personal_Trip_With_Family = 5,
|
|
Loan_Letter_Bank = 6,
|
|
}
|
|
|
|
export enum EnumTransferCombination {
|
|
None = 0,
|
|
SMS = 1,
|
|
Email = 2,
|
|
Web = 3,
|
|
SMS_Email = 4,
|
|
SMS_Web = 5,
|
|
Email_Web = 6,
|
|
SMS_Email_WEb = 7,
|
|
}
|
|
|
|
export enum EnumCardUserType {
|
|
Employee = 0,
|
|
Father = 1,
|
|
Mother = 2,
|
|
Spouse = 3,
|
|
Children = 4,
|
|
}
|
|
|
|
export enum EnumEmpReqStatus {
|
|
RM = 0,
|
|
DH = 1,
|
|
HR = 2,
|
|
CEO = 3,
|
|
Approved = 4,
|
|
}
|
|
|
|
export enum EnumAssetInventoryType {
|
|
Asset = 1,
|
|
FixedItem = 2,
|
|
}
|
|
|
|
export enum EnumReasonForLeaveing {
|
|
PromotionalOpportunity = 0,
|
|
Changeintypeofwork = 1,
|
|
Lackofchallengeinjob = 2,
|
|
Poorsupervision = 3,
|
|
Jobdidnotmeetoriginalexpectations = 4,
|
|
Redeployment = 5,
|
|
Relocation = 6,
|
|
CompensationorBenefits = 7,
|
|
Personal = 8,
|
|
Returningtoschool = 9,
|
|
Companycultureclimate = 10,
|
|
Other = 11,
|
|
}
|
|
|
|
export enum EnumUPDStatus {
|
|
None = 0,
|
|
Regular = 1,
|
|
Absent = 2,
|
|
Late = 3,
|
|
Accept = 4,
|
|
Reject = 5,
|
|
}
|
|
|
|
export enum EnumProcessMode {
|
|
Auto = 0,
|
|
Manual = 1,
|
|
}
|
|
|
|
export enum EnumAttnProcessStatus {
|
|
SuccessWithoutError = 0,
|
|
Error = 1,
|
|
SuccessWithError = 2,
|
|
}
|
|
|
|
//export enum EnmSetupManagerTranType {
|
|
// None = 0,
|
|
// Grade = 1,
|
|
// Location = 2,
|
|
// Category = 3,
|
|
// Designation = 4
|
|
//}
|
|
|
|
export enum EnumErrorType {
|
|
WorkGroupUndefine = 0,
|
|
ShiftNotFound = 1,
|
|
ServiceException = 2,
|
|
Exception = 3,
|
|
// InTime = 2,
|
|
// OutTime = 3,
|
|
// WeekEnd = 4,
|
|
// Leave = 5,
|
|
// Holiday = 6,
|
|
Others = 4,
|
|
BasicData = 5,
|
|
MonthlyRosterUndefined = 6,
|
|
}
|
|
|
|
//export enum EnumLeaveCalculationType {
|
|
// Hourly = 0,
|
|
// Daily = 1,
|
|
// Monthly = 2,
|
|
// Yearly = 3,
|
|
// // Prorated=3,
|
|
// Not_Applicable = 4,
|
|
// Not_Applicable_With_Prorated = 5,
|
|
// Hourly_Prorated = 6
|
|
//}
|
|
|
|
export enum EnumPhotoType {
|
|
EmployeePicture = 0,
|
|
EmployeeSignature = 1,
|
|
NomineePicture = 2,
|
|
NomineeSignature = 3,
|
|
HospitalizationPicture = 4,
|
|
}
|
|
|
|
export enum EnumWagesType {
|
|
Monthly = 1,
|
|
Daily = 2,
|
|
Hourly = 3,
|
|
Apprentice = 4,
|
|
}
|
|
|
|
export enum EnumShiftHourType {
|
|
Consider_Shift_Hour = 0,
|
|
Consider_Entire_Present_Hour = 1,
|
|
Hours_Over_Shift = 2,
|
|
}
|
|
|
|
export enum EnumMinimumTaxType {
|
|
Municipal = 1,
|
|
City_Corporation = 2,
|
|
}
|
|
|
|
export enum EnumRewardStatement {
|
|
Cash_Component = 1,
|
|
Benefit_Component = 2,
|
|
Benefit_Description = 3,
|
|
}
|
|
|
|
export enum EnumAssetTranType {
|
|
Receive = 1,
|
|
Assign = 2,
|
|
HandOver = 3,
|
|
Replace = 4,
|
|
Servicing = 5,
|
|
Repaired = 6,
|
|
Lost = 7,
|
|
}
|
|
|
|
export enum EnumAssetReceiverType {
|
|
Employee = 1,
|
|
Department = 2,
|
|
Location = 3,
|
|
}
|
|
|
|
export enum EnumAssetHandoverType {
|
|
Faulty = 1,
|
|
Lost = 2,
|
|
}
|
|
|
|
export enum EnumGradeLocationType {
|
|
Grade = 1,
|
|
Location = 2,
|
|
}
|
|
|
|
export enum EnumTopTeam {
|
|
Top_Team = 1,
|
|
Non_Top_Team = 2,
|
|
}
|
|
|
|
export enum EnumSAPProcessStatus {
|
|
None = 0,
|
|
Success = 1,
|
|
Error = 2,
|
|
}
|
|
|
|
export enum EnumReceiveStatus {
|
|
Success = 1,
|
|
Error = 2,
|
|
}
|
|
|
|
export enum EnumPMPStatus {
|
|
Not_Yet_Initiate = 0,
|
|
Objective_Setting = 1,
|
|
Midyear_Appraisal = 2,
|
|
Final_Appraisal = 3,
|
|
}
|
|
|
|
//
|
|
// export enum EnumRecommendationType
|
|
// {
|
|
// Transfer = 1,
|
|
// TransferWithPromotion = 2,
|
|
// Allowance = 3,
|
|
// Confirm = 4,
|
|
// ConfrimWithPromotion = 5,
|
|
// ConfrimExtend = 6,
|
|
// ContractRenew = 7
|
|
// }
|
|
|
|
export enum EnumRecomendationLevel {
|
|
LM = 1,
|
|
SecondLM = 2,
|
|
HR = 3,
|
|
Director = 4,
|
|
Board = 5,
|
|
}
|
|
|
|
export enum EnumRecommendationType {
|
|
// Transfer = 1,
|
|
// Promotion = 2,
|
|
// Allowance_Monthly = 3,
|
|
// Contract_Renew = 4,
|
|
// Confirm = 5,
|
|
// Others = 6,
|
|
// Transfer_With_Promotion = 7,
|
|
// Confirm_With_Promotion = 8,
|
|
// Transfer_With_Allowance = 9,
|
|
// Transfer_With_Confirm = 10
|
|
Promotion = 1,
|
|
Slab = 2,
|
|
Yearly = 3,
|
|
Others = 4,
|
|
}
|
|
|
|
export enum EnumPMPActor {
|
|
// All = 1,
|
|
Employee = 2,
|
|
Supervisor = 3,
|
|
SecondSupervisor = 4,
|
|
}
|
|
|
|
export enum EnumPMPActorMidYear {
|
|
// All = 1,
|
|
Employee = 2,
|
|
Supervisor = 3,
|
|
}
|
|
|
|
export enum EnumPMPProcess {
|
|
Objective_Setting = 1,
|
|
Development_Plan = 2,
|
|
Mid_Year = 3,
|
|
Year_End = 4,
|
|
}
|
|
|
|
export enum EnumPMPStatus2 {
|
|
Not_Yet_Done = 1,
|
|
Done = 2,
|
|
Agreed = 3,
|
|
/*Conversation_Not_Done = 4,
|
|
Conversation_Status_Pending = 5*/
|
|
}
|
|
|
|
export enum EnumPMPStatusSupervisor {
|
|
Done = 2,
|
|
Aggred = 3,
|
|
}
|
|
|
|
export enum EnumPMPStatusSESupervisor {
|
|
Done = 2,
|
|
}
|
|
|
|
export enum EnumPMPStatusObjectiveSetting {
|
|
Not_Yet_Done = 1,
|
|
Done = 2,
|
|
LM_Agreed = 3,
|
|
}
|
|
|
|
export enum EnumPMPAutorizedType {
|
|
PMP = 1,
|
|
// Midyear = 2,
|
|
// Yearend = 3,
|
|
Apprisal_Form = 4,
|
|
}
|
|
|
|
export enum EnumObjectiveCategory {
|
|
Grade = 1,
|
|
Tier = 2,
|
|
}
|
|
|
|
export enum EnumObjectiveType {
|
|
Strategic = 1,
|
|
Operation = 2,
|
|
People = 3,
|
|
}
|
|
|
|
export enum EnumObjectiveFlowStatus {
|
|
Not_Yet_Initiated = 0,
|
|
Agreed = 1,
|
|
Not_yet_Agreed = 2,
|
|
Revert = 3,
|
|
Draft = 4,
|
|
Submit = 5,
|
|
Draft_For_Employee = 6,
|
|
Not_Agreed = 7,
|
|
Editable = 8,
|
|
}
|
|
|
|
export enum EnumPMSNotificationStatus {
|
|
None = 0,
|
|
OBJNotify = 1,
|
|
MidNotify = 2,
|
|
YENotify = 3,
|
|
YE2Notify = 4,
|
|
}
|
|
|
|
export enum EnumPMPReports {
|
|
Program_Project_Status_Low_Performing_Staff = 0,
|
|
Staffs_Nominated_Performance_Allowance,
|
|
Staffs_Level8_Above_Not_Promoted_8y,
|
|
Programme_Level_Assessment_Analysis_Low_Performing_Staff_1to7,
|
|
Programme_Level_Assessment_Analysis_Low_Performing_Staff_8nAbove,
|
|
Staffs_Nominated_Promotion,
|
|
Employee_not_yet_posting,
|
|
Duplicate_Node,
|
|
Individual_annual_performance,
|
|
Programme_Level_No_Assessment_Receiving_Status_Low_Performing_Staff,
|
|
Programme_Level_No_Assessment_Receiving_Status_Low_Performing_Staff_Details,
|
|
}
|
|
|
|
export enum EnumTaskType {
|
|
None = 0,
|
|
Notification = 1,
|
|
PendingJob = 2,
|
|
}
|
|
|
|
export enum EnumWFAttnStatus {
|
|
None = 0,
|
|
EmpSubmitted = 1,
|
|
LMApproved = 2,
|
|
DHApproved = 3,
|
|
HRApproved = 4,
|
|
NotApplicable = 5,
|
|
Reject = 6,
|
|
}
|
|
|
|
export enum EnumSalaryComponent {
|
|
Basic = 1,
|
|
Allowance = 2,
|
|
Bonus = 3,
|
|
}
|
|
|
|
export enum EnumTrustyStatus {
|
|
None = 0,
|
|
Inactive = 1,
|
|
Active = 2,
|
|
}
|
|
|
|
export enum EnumEmpStatus {
|
|
All = 0,
|
|
Live,
|
|
Discontinued,
|
|
Setteled,
|
|
Suspend,
|
|
}
|
|
|
|
export enum EnumTranEffect {
|
|
Nothing = 0,
|
|
Increase = 1,
|
|
Decrease = 2,
|
|
}
|
|
|
|
export enum EnumElementType {
|
|
None = 0,
|
|
NonTotalType = 1,
|
|
TotalType = 2,
|
|
}
|
|
|
|
export enum EnumTranTypeCategory {
|
|
None = 0,
|
|
Member = 1,
|
|
Loan = 2,
|
|
Investment = 3,
|
|
}
|
|
|
|
export enum EnumVoucherSetupStatus {
|
|
None = 0,
|
|
Active = 1,
|
|
Inactive = 2,
|
|
}
|
|
|
|
export enum VoucherTypeEnum {
|
|
None = 0,
|
|
BankPayment = 1,
|
|
BankReceipt = 2,
|
|
BankToBank = 3,
|
|
BankToCash = 4,
|
|
CashToBank = 5,
|
|
CashToCash = 6,
|
|
CashPayment = 7,
|
|
CashReceipt = 8,
|
|
JournalVoucher = 9,
|
|
}
|
|
|
|
export enum EnumMemberTranType {
|
|
Nothing = 0,
|
|
Contribution_Of_EPF = 1,
|
|
Contribution_Of_CPF = 2,
|
|
Opening_EPF = 3,
|
|
Opening_CPF = 4,
|
|
Opening_Actual_EPF_Interest = 5,
|
|
Opening_Actual_CPF_Interest = 6,
|
|
Monthly_Actual_EPF_Interest = 7,
|
|
Monthly_Actual_CPF_Interest = 8,
|
|
Yearly_Actual_EPF_Interest = 9,
|
|
Yearly_Actual_CPF_Interest = 10,
|
|
MonthlyDividendRealization = 11, // accroding to SystemTranType Table
|
|
WithdrawlOfEPF = 22,
|
|
WithdrawlOfCPF = 23,
|
|
WithdrawlOfEPFInterest = 24,
|
|
WithdrawlOfCPFInterest = 25,
|
|
SettlementInterestEPF = 27,
|
|
SettlementInterestCPF = 28,
|
|
EPF_LTA = 31,
|
|
CPF_LTA = 32,
|
|
}
|
|
|
|
export enum EnumFundType {
|
|
Nothing = 0,
|
|
PF_EPF,
|
|
PF_CPF,
|
|
PF_EQLIZATION_FUND,
|
|
PF_EX_MEMBERFUND,
|
|
PF_CAPITALRESERVE_FUND,
|
|
GF_FUND,
|
|
ALL_PF_FUND,
|
|
ALL_GF_FUND,
|
|
}
|
|
|
|
export enum EnumMemberDvdntDuration {
|
|
Half_Yearly = 0,
|
|
Yearly = 1,
|
|
}
|
|
|
|
export enum EnumLoanStatus {
|
|
All = 1,
|
|
Running = 2,
|
|
Close = 3,
|
|
Open = 4,
|
|
}
|
|
|
|
export enum EnumLoanIssueStatus {
|
|
Loan_Initiated = 1,
|
|
Loan_Verified = 2,
|
|
Loan_Approved_By_GS = 3,
|
|
Loan_Approved_By_Treasurer = 4,
|
|
Loan_Approved_By_Chairman = 5,
|
|
Loan_Decline = 6,
|
|
Loan_Issued = 7,
|
|
Installments_Recovered = 8,
|
|
}
|
|
|
|
export enum EnumLoanCategoryStatus {
|
|
None = 0,
|
|
Active = 1,
|
|
Inactive = 2,
|
|
}
|
|
|
|
export enum EmpSuppotInfoTypeEnum {
|
|
All = 0,
|
|
EmpCategory = 1,
|
|
Grade = 2,
|
|
Dept = 3,
|
|
CC = 4,
|
|
Designation = 5,
|
|
}
|
|
|
|
export enum EnumGLType {
|
|
None = 0,
|
|
Asset = 1,
|
|
Liability = 2,
|
|
Income = 3,
|
|
Expenditure = 4,
|
|
}
|
|
|
|
export enum EnumGLHeadType {
|
|
None = 0,
|
|
AccountPayable = 1,
|
|
AccountReceiveable = 2,
|
|
Bank = 3,
|
|
Cash = 4,
|
|
CostOfGoodsSold = 5,
|
|
CostAccountCurrent = 6,
|
|
CostAccountOpening = 7,
|
|
CostAccountClosing = 8,
|
|
FinishedGoods = 9,
|
|
FixedAsset = 10,
|
|
ProfitLossAccount = 11,
|
|
PurchaseAccount = 12,
|
|
RawMaterials = 13,
|
|
WorkInProcess = 14,
|
|
WPPF = 15,
|
|
ProvisionForIncomeTax = 16,
|
|
ProvisionForDeferredIncomeTax = 17,
|
|
FactoryOverHead = 18,
|
|
Packing = 19,
|
|
InventoryAccount = 20,
|
|
}
|
|
|
|
export enum EnumRoleType {
|
|
Admin = 1,
|
|
Self_Service = 2,
|
|
Mobile = 3,
|
|
}
|
|
|
|
export enum enumWFRuleManual {
|
|
Employee = 1,
|
|
Line_Manager = 2,
|
|
Positions_type = 3,
|
|
Og_Nodes = 4,
|
|
}
|
|
|
|
export enum Gender {
|
|
none = 0,
|
|
Male = 1,
|
|
Female = 2,
|
|
Other = 3,
|
|
}
|
|
|
|
export enum EnumComputerRequirement {
|
|
Yes = 1,
|
|
No = 2,
|
|
}
|
|
|
|
export enum EnumCicularColumnType {
|
|
Position = 1,
|
|
KeySellingPoints = 2,
|
|
Vacancy = 3,
|
|
JobContext = 4,
|
|
JobResponsibilities = 5,
|
|
EmploymentStatus = 6,
|
|
Workplace = 7,
|
|
EducationalRequirements = 8,
|
|
ExperienceRequirements = 9,
|
|
AdditionalRequirements = 10,
|
|
JobLocation = 11,
|
|
Salary = 12,
|
|
CompensationandOtherBenefits = 13,
|
|
JobSource = 14,
|
|
}
|
|
|
|
export enum EnumPRBCalculationType {
|
|
//LCTarget = 1,
|
|
//LCAchieve = 2,
|
|
//BusinessTarget = 3,
|
|
//BusinessAchieve = 4,
|
|
//DSOTarget = 5,
|
|
//DSOAchieve = 6,
|
|
//SalesRevenueTarget = 7,
|
|
//SalesRevenueAchieve = 8,
|
|
//ClientVisitTarget = 9,
|
|
//ClientVisitAchieve = 10,
|
|
//DeptLCTarget = 11,
|
|
//DeptLCTAchieve = 12,
|
|
//BadDebtTarget = 13,
|
|
//BadDebtAchieve = 14
|
|
|
|
T1Target = 1,
|
|
T1Achieve = 2,
|
|
T2Target = 3,
|
|
T2Achieve = 4,
|
|
T3Target = 5,
|
|
T3Achieve = 6,
|
|
T4Target = 7,
|
|
T4Achieve = 8,
|
|
T5Target = 9,
|
|
T5Achieve = 10,
|
|
T6Target = 11,
|
|
T6Achieve = 12,
|
|
T7Target = 13,
|
|
T7Achieve = 14,
|
|
T8Target = 15,
|
|
T8Achieve = 16,
|
|
T9Target = 17,
|
|
T9Achieve = 18,
|
|
T10Target = 19,
|
|
T10Achieve = 20,
|
|
|
|
}
|
|
|
|
export enum EnumPRBFrom {
|
|
FromInput = 1,
|
|
FromGrid = 2,
|
|
}
|
|
|
|
export enum EnumPRBStatus {
|
|
None = 0,
|
|
Darft = 1,
|
|
Submitted = 2,
|
|
Approved = 3,
|
|
Rejected = 4
|
|
}
|
|
|
|
export enum BloodGroup {
|
|
None = 0,
|
|
APos = 1,
|
|
ANeg = 2,
|
|
BPos = 3,
|
|
BNeg = 4,
|
|
OPos = 5,
|
|
ONeg = 6,
|
|
ABPos = 7,
|
|
ABNeg = 8,
|
|
NA = 9,
|
|
}
|
|
|
|
export enum EnumSuccessorType {
|
|
Internal = 1,
|
|
OutSide = 2
|
|
}
|
|
|
|
export enum EnumSuccessorReadiness {
|
|
Ready_Now = 1,
|
|
Ready_In_One_Year = 2,
|
|
Ready_In_Two_Years = 3
|
|
}
|
|
|
|
export let BloodGroupList = [
|
|
{ name: "A+", value: 1 },
|
|
{ name: "A-", value: 2 },
|
|
{ name: "B+", value: 3 },
|
|
{ name: "B-", value: 4 },
|
|
{ name: "O+", value: 5 },
|
|
{ name: "O-", value: 6 },
|
|
{ name: "AB+", value: 7 },
|
|
{ name: "AB-", value: 8 },
|
|
];
|
|
|
|
export class EnumExtension {
|
|
static getNamesAndValues<T extends number>(e: any) {
|
|
return EnumExtension.getNames(e).map((n) => ({
|
|
name: n.replace(/_/g, " "),
|
|
value: e[n] as T,
|
|
}));
|
|
}
|
|
|
|
static getName(e: any, val: number): string {
|
|
if (
|
|
EnumExtension.getNamesAndValues(e).filter((c) => c.value === val) &&
|
|
EnumExtension.getNamesAndValues(e).filter((c) => c.value === val)
|
|
.length > 0
|
|
) {
|
|
return EnumExtension.getNamesAndValues(e).filter(
|
|
(c) => c.value === val
|
|
)[0].name;
|
|
}
|
|
return "";
|
|
}
|
|
|
|
static getNames(e: any) {
|
|
return EnumExtension.getObjValues(e).filter(
|
|
(v) => typeof v === "string" && v.toLowerCase() !== "none"
|
|
) as string[];
|
|
}
|
|
|
|
static getNamesAndValuesWithSlash<T extends number>(e: any) {
|
|
return EnumExtension.getNames(e).map((n) => ({
|
|
name: n.replace(/_/g, "/"),
|
|
value: e[n] as T,
|
|
}));
|
|
}
|
|
|
|
static getValues<T extends number>(e: any) {
|
|
return EnumExtension.getObjValues(e).filter(
|
|
(v) => typeof v === "number"
|
|
) as T[];
|
|
}
|
|
|
|
public static getObjValues(e: any): (number | string)[] {
|
|
return Object.keys(e).map((k) => e[k]);
|
|
}
|
|
static getNamesAndValuesAndSlash<T extends number>(e: any) {
|
|
return EnumExtension.getNames(e).map((n) => ({
|
|
name: n.replace(/_/g, " ").replace(" OR ", "/"),
|
|
value: e[n] as T,
|
|
}));
|
|
}
|
|
}
|
|
|
|
export enum EnumSponsoredType {
|
|
None = 0,
|
|
TrainingBeforeJoining = 1,
|
|
TrainingConductedByCompany = 2,
|
|
SelfInitiatedTraining = 3,
|
|
TrainingBeforeJoiningButAtCompany = 4,
|
|
}
|
|
|
|
export enum EnumAppraisalPointType {
|
|
None = 0,
|
|
Objective = 1,
|
|
Values = 2
|
|
}
|
|
|
|
export enum EnumPMPRatingType {
|
|
All = 0,
|
|
Objective = 1,
|
|
Values = 2,
|
|
BellCurve = 3,
|
|
Recommendation = 4
|
|
}
|
|
|
|
export enum EnumBellCurveType {
|
|
None = 0,
|
|
LineManager = 1,
|
|
Employee = 2,
|
|
Standard = 3
|
|
}
|
|
|
|
export enum EnumCalibrationStatus {
|
|
Not_Yet_Assigned = 0,
|
|
Assigned = 1,
|
|
Calibrated = 2
|
|
}
|
|
|