55 lines
1.5 KiB
TypeScript
55 lines
1.5 KiB
TypeScript
|
|
import {Employee} from '../Employee/employee';
|
||
|
|
import {BonusEmpCostCenter} from './bonusEmpCostCenter';
|
||
|
|
import {Bonus} from '../Basic/bonus';
|
||
|
|
import { BaseObject } from '../Basic/baseObject';
|
||
|
|
import { IncomeTax } from './Tax/incomeTax';
|
||
|
|
import { enumwfStatus } from '../enums';
|
||
|
|
|
||
|
|
export class BonusProcess extends BaseObject {
|
||
|
|
constructor() {
|
||
|
|
super();
|
||
|
|
}
|
||
|
|
bonusID: number;
|
||
|
|
salaryMonth: Date;
|
||
|
|
basicOnMonth: Date;
|
||
|
|
processDate: Date;
|
||
|
|
paymentDate: Date;
|
||
|
|
monthEndDate: Date;
|
||
|
|
workDays: number;
|
||
|
|
isFinalized: boolean;
|
||
|
|
processCode: string;
|
||
|
|
remarks: string;
|
||
|
|
payrollTypeID: number;
|
||
|
|
showInDesktop: boolean;
|
||
|
|
bonusMonth: Date;
|
||
|
|
showInDesktopDate: Date;
|
||
|
|
bonusProcessDetails: BonusProcessDetail[];
|
||
|
|
disburseDate: Date;
|
||
|
|
isTaxProcess: boolean;
|
||
|
|
isDisburseWithSalary: boolean;
|
||
|
|
wfstatus : any;
|
||
|
|
}
|
||
|
|
|
||
|
|
export class BonusProcessDetail {
|
||
|
|
isProjectedBonus: boolean;
|
||
|
|
bonusProcessID: number;
|
||
|
|
bonusID: number;
|
||
|
|
employeeID: number;
|
||
|
|
bonusMonth: Date;
|
||
|
|
bonusAmount: number;
|
||
|
|
basicSalary: number;
|
||
|
|
changeBonusAmount: number;
|
||
|
|
changeTaxAmount: number;
|
||
|
|
changeSalaryItemAmount: number;
|
||
|
|
changeAdjustAmount: number;
|
||
|
|
calculatedAdjustAmount: number;
|
||
|
|
calculatedSalaryItemAmount: number;
|
||
|
|
NetBonusAmount: number;
|
||
|
|
taxAmount: number;
|
||
|
|
employee: Employee;
|
||
|
|
bonusEmpCostCenters: BonusEmpCostCenter[] = [];
|
||
|
|
bonus: Bonus;
|
||
|
|
incomeTaxcoll: IncomeTax[]=[];
|
||
|
|
// private ObjectsTemplate < IncomeTax > incomeTax : null;
|
||
|
|
}
|