remove debugger

This commit is contained in:
Mohaimen Hasan 2026-11-23 11:49:34 +06:00
parent 3766ac10b0
commit 92a6c8277f
382 changed files with 1785 additions and 1908 deletions

View File

@ -58,7 +58,7 @@ export class CourseDetailsComponent implements OnInit {
this.loadingpanelService.ShowLoadingPanel = true;
this.lmsService.GetCourseForUser(this.oCourse.id).subscribe(
(resp: any) => {
debugger;
;
this.oCourse = undefined;
this.oCourse = resp;
},

View File

@ -84,7 +84,7 @@ export class CourseEnrollComponent implements OnInit {
this.loadingpanelService.ShowLoadingPanel = true;
this.lmsService.GetCourseForEnrollment(this.oCourse.id).subscribe(
(resp: any) => {
debugger;
;
this.oCourse = undefined;
this.oCourse = resp;
},
@ -182,7 +182,7 @@ export class CourseEnrollComponent implements OnInit {
this.cancelApiCall$.next();
this.cancelApiCall$.complete();
debugger;
;
this.loadContent(oContent, oLesson);
this.oLessonProgress = new LessonProgress();
if(this.oCourse.lessonProgres.length > 0){
@ -227,7 +227,7 @@ export class CourseEnrollComponent implements OnInit {
userCourseProgress(){
this.lmsService.UserCourseProgress(this.oCourse).subscribe(
(resp: any) => {
debugger;
;
this.oCourse = undefined;
this.oCourse = resp;
},
@ -273,7 +273,7 @@ export class CourseEnrollComponent implements OnInit {
this.isShowPowerpoint = false;
}
if(oContent.contentType === EnumContentType.Powerpoint){
debugger;
;
const fileID = this.extractFileIDForPPTS(oContent.contentUrl);
this.powerpointSource = this.sanitizer.bypassSecurityTrustResourceUrl(`https://docs.google.com/presentation/d/${fileID}/embed?start=true&loop=true&delayms=5000`);
this.isShowVideo = false;
@ -330,7 +330,7 @@ export class CourseEnrollComponent implements OnInit {
return difficultyLevel;
}
onLessonExpand(event:any,oLesson : Lessons){
debugger;
;
if(event === true){
this.lessonName = oLesson.lessonNo + ' - ' + oLesson.lessonTitle;
}

View File

@ -21,7 +21,7 @@ export class CourseTypeEntryComponent implements OnInit {
@Output() saveHandler = new EventEmitter<any>();
@Input() public set SetCourseType(oCourseType: CourseType) {
debugger;
;
this.oCourseType = undefined;
this.oCourseType = oCourseType;
}

View File

@ -156,7 +156,7 @@ export class CoursesEntryComponent implements OnInit {
});
}
//#endregion
debugger;
;
//#region FOR Template
if(this.oCourse.courseTemplate !== undefined){
this.oCourse.courseTemplate.fileData = this.oCourse.courseTemplate.fileTobase64;
@ -170,7 +170,7 @@ export class CoursesEntryComponent implements OnInit {
this.router.navigateByUrl('/lms/courses');
}
onSave(){
debugger;
;
if(this.oCourse.courseTitle === ""){
this.notificationService.showWarning("Please enter Course Title.","Warning!");
return;
@ -359,7 +359,7 @@ export class CoursesEntryComponent implements OnInit {
}
}
setData(type: string){
debugger;
;
if(type === "targetedAudience"){
if(this.oCourse !== undefined){
this.oCourse.targetedAudience = "";
@ -441,7 +441,7 @@ export class CoursesEntryComponent implements OnInit {
}
}
showCourseTemplate(item : LMSTemplate){
debugger;
;
this.displayAttachment = true;
if(item.templateID > 0){
this.fileData = item.fileTobase64;
@ -623,7 +623,7 @@ export class CoursesEntryComponent implements OnInit {
this.notificationService.showActiveConfirm('Confirmation', "Are you sure tou want to add this content for this lesson?").then((isConfirmed) => {
if (isConfirmed)
{
debugger;
;
if(this.oLesson !== undefined && this.oLesson.lessonContents !== undefined ){
this.oLesson.lessonContents.push(this.oLessonContent);
}

View File

@ -50,7 +50,7 @@ export class CoursesComponent implements OnInit {
this.loadingpanelService.ShowLoadingPanel = true;
this.lmsService.GetCoursesByStatus(status).subscribe(
(resp: any) => {
debugger;
;
this.courses = resp;
this.coursesAll = resp;
},

View File

@ -49,7 +49,7 @@ export class UserCoursesComponent implements OnInit {
this.loadingpanelService.ShowLoadingPanel = true;
this.lmsService.GetCoursesByStatus(EnumStatus.Active).subscribe(
(resp: any) => {
debugger;
;
this.courses = resp;
this.coursesAll = resp;
},

View File

@ -44,7 +44,7 @@ export class AuthGuard implements CanActivate, CanActivateChild {
return this.canActivate(route, state);
}
private checkMenuPermission(url: string): Observable<boolean | UrlTree> | boolean | UrlTree {
debugger;
;
const target = AuthGuard.normalize(url);
if (AuthGuard.ALWAYS_ALLOWED.indexOf(target) >= 0) {
return true;
@ -66,7 +66,7 @@ export class AuthGuard implements CanActivate, CanActivateChild {
return this.getAllMenuLinks().pipe(
map(allLinks => {
debugger;
;
if (allLinks !== null && allLinks.some(l => AuthGuard.covers(l, target))) {
return this.deny();
}

View File

@ -14,7 +14,7 @@ var GlobalfunctionExtension = /** @class */ (function () {
return lastDate;
};
GlobalfunctionExtension.capitalizeFirstLetter = function (inputString) {
debugger;
;
if (inputString.length === 0) {
return inputString; // Return an empty string if input is empty
}
@ -25,7 +25,7 @@ var GlobalfunctionExtension = /** @class */ (function () {
// const month = this.padZero(date.getMonth() + 1); // Adding 1 because months are zero-based
var month = (date.getMonth()) < 10 ? "0".concat((date.getMonth())) : "".concat((date.getMonth()));
var day = (date.getDate()) < 10 ? "0".concat(date.getDate()) : "".concat(date.getDate());
debugger;
;
return "".concat(year).concat(month).concat(day);
};
return GlobalfunctionExtension;

View File

@ -10,7 +10,7 @@ export class GlobalfunctionExtension {
return lastDate;
}
public static capitalizeFirstLetter(inputString: string): string {
debugger;
;
if (inputString.length === 0) {
return inputString; // Return an empty string if input is empty
}

View File

@ -469,7 +469,7 @@ export class BasicService {
formData.append('departmentName', String(departmentName));
formData.append('designationName', String(designationName));
debugger
const req = new HttpRequest('POST', `${this.apiService.base_url + '/'}HRBasic/uploadHallOfFame`, formData, {
reportProgress: true,
responseType: 'json'

View File

@ -76,7 +76,7 @@ export class EssFundService {
return this.apiService.httpGet<NewInvestment>('/EssFund/getNewInvestment');
}
saveLoanApplication(params: LoanApplication) {
debugger
return this.apiService.httpPost<LoanApplication[]>('/EssFund/saveLoanApplication', params);
}

View File

@ -55,14 +55,14 @@ var FinalSettlementService = function () {
return this.apiService.httpPost('/finalsettlement/deleteFsHead/', param);
};
FinalSettlementService_1.prototype.saveFsHead = function (param) {
debugger;
;
return this.apiService.httpPost('/finalsettlement/savefinalsettementhead', param);
};
FinalSettlementService_1.prototype.GetFSHeads = function () {
return this.apiService.httpGet('/finalsettlement/getFSHeads');
};
FinalSettlementService_1.prototype.saveResignationRequest = function (param) {
debugger;
;
return this.apiService.httpPost('/finalsettlement/saveResignationRequest', param);
};
FinalSettlementService_1.prototype.getResignationRequestByStatus = function (param) {
@ -111,7 +111,7 @@ var FinalSettlementService = function () {
return this.apiService.httpGet('/finalsettlement/getCurrentEmployeeInfo');
};
FinalSettlementService_1.prototype.saveFsTran = function (param) {
debugger;
;
return this.apiService.httpPost('/finalsettlement/saveFStran', param);
};
FinalSettlementService_1.prototype.loadPreviousData = function (employeeId) {

View File

@ -99,7 +99,7 @@ export class FinalSettlementService {
return this.apiService.httpGet<Employee>('/finalsettlement/getCurrentEmployeeInfo');
}
saveFsTran(param: FSTran) {
debugger
return this.apiService.httpPost<FSTran>('/finalsettlement/saveFStran', param);
}
loadPreviousData(employeeId: number) {

View File

@ -386,11 +386,11 @@ export class FundService {
return this.apiService.httpGet<boolean>("/Fund/deleteESBSLab/" + id );
}
SaveGFSettlement(data: any){
debugger
return this.apiService.httpPost('/Fund/saveGFSettlement', data);
}
SaveWPPFSettlement(data: WPPFSettlement){
debugger
return this.apiService.httpPost('/Fund/SaveWPPFSettlement', data);
}
getGratuityServiceLength(data){

View File

@ -52,7 +52,7 @@ var LetterRequestService = function () {
this.apiService = apiService;
}
//saveInternalRecruitment(param: InternalRecruitment) {
// debugger;
// ;
// return this.apiService.httpPost<InternalRecruitment>('/Recruitment/saveInternalRecruitment', param);
//}
//getAllRecruitmentRequisition() {
@ -212,7 +212,7 @@ var LetterRequestService = function () {
// return this.apiService.httpPost('/Recruitment/SaveRecruitementLetters', recruitementLetters);
//}
LetterRequestService_1.prototype.GetRequestedLetterRequestItems = function (id, fromDate, toDate) {
debugger;
;
return this.apiService.httpGet('/LetterRequest/getRequestedLetterRequestItems' + '/' + fromDate.toDateString() + '/' + toDate.toDateString() + '/' + id);
};
LetterRequestService_1.prototype.saveAuthorizedPerson = function (param) {

View File

@ -22,7 +22,7 @@ export class LetterRequestService {
}
//saveInternalRecruitment(param: InternalRecruitment) {
// debugger;
// ;
// return this.apiService.httpPost<InternalRecruitment>('/Recruitment/saveInternalRecruitment', param);
//}
@ -203,7 +203,7 @@ export class LetterRequestService {
// return this.apiService.httpPost('/Recruitment/SaveRecruitementLetters', recruitementLetters);
//}
GetRequestedLetterRequestItems(id: number, fromDate: Date, toDate: Date) {
debugger;
;
return this.apiService.httpGet<LetterRequest[]>('/LetterRequest/getRequestedLetterRequestItems' +'/' + fromDate.toDateString() + '/' + toDate.toDateString() + '/' + id);
}

View File

@ -197,7 +197,7 @@ export class BonusService {
reportProgress: true,
responseType: 'json'
});
debugger;
;
return this.http.request<any>(req);
}
getprbbonusbytranid(tranid: any) {

View File

@ -87,7 +87,7 @@ var RecruitmentService = function () {
return this.apiService.httpGet('/Requisition/getAllRecruitmentRequisition');
};
RecruitmentService_1.prototype.getAllInternalRecruitment = function (fromDate, toDate, type) {
debugger;
;
var sfromDate = (fromDate === undefined || fromDate === null) ? null : fromDate.toDateString();
var stoDAte = (toDate === undefined || toDate === null) ? null : toDate.toDateString();
type = (type === undefined || type === null) ? 0 : type;
@ -97,7 +97,7 @@ var RecruitmentService = function () {
return this.apiService.httpPost('/Recruitment/UpdateCvInfo', data);
};
RecruitmentService_1.prototype.getemployeeWiseRecruitment = function (fromDate, toDate, type) {
debugger;
;
var sfromDate = (fromDate === undefined || fromDate === null) ? null : fromDate.toDateString();
var stoDAte = (toDate === undefined || toDate === null) ? null : toDate.toDateString();
type = (type === undefined || type === null) ? 0 : type;

View File

@ -69,7 +69,7 @@ export class RecruitmentService {
}
getAllInternalRecruitment(fromDate: Date, toDate: Date, type: number) {
debugger;
;
const sfromDate = (fromDate === undefined || fromDate === null) ? null : fromDate.toDateString();
const stoDAte = (toDate === undefined || toDate === null) ? null : toDate.toDateString();
type = (type === undefined || type === null) ? 0 : type;
@ -81,7 +81,7 @@ export class RecruitmentService {
}
getemployeeWiseRecruitment(fromDate: Date, toDate: Date, type: number) {
debugger;
;
const sfromDate = (fromDate === undefined || fromDate === null) ? null : fromDate.toDateString();
const stoDAte = (toDate === undefined || toDate === null) ? null : toDate.toDateString();
type = (type === undefined || type === null) ? 0 : type;

View File

@ -465,7 +465,7 @@ export class ApproveFinancialDataComponent implements OnInit, OnDestroy {
selectedDataType: this.selectedFinancialDataType
};
debugger
this.gridItems = [];
this.gridAllApproveItems = [];
@ -694,7 +694,7 @@ export class ApproveFinancialDataComponent implements OnInit, OnDestroy {
}
} else if (this.selectedFinancialDataType === EnumApprovalFinancialData.Lifecycle) {
this.mySelection.forEach(x => {
debugger;
;
const gridItem = this.getGridItemById(x);
if (!gridItem) { return; }
let item: EmpLifeCycle = this.empLifeCycleList.find(l => l.id === gridItem.id);

View File

@ -74,7 +74,7 @@ export class AuthorizedPersonComponent implements OnInit {
@Input()
public set setSelectedAuthorizedPerson(inputedAuthorizedPerson: any) {
this.photo = undefined;
debugger;
;
if (inputedAuthorizedPerson !== undefined && inputedAuthorizedPerson !== null) {
this.isEdit = true;
this.authorizedPerson = inputedAuthorizedPerson;
@ -115,7 +115,7 @@ export class AuthorizedPersonComponent implements OnInit {
selectEventHandler(e: any) {
this.photo = undefined;
debugger;
;
//console.log('File selected', e);
var selectedFiles = e.target.files;
// this.photo = selectedFiles[0]
@ -222,7 +222,7 @@ export class AuthorizedPersonComponent implements OnInit {
}
//addItem() {
// debugger;
// ;
// if (this.designationID === undefined || this.designationID <= 0 || this.designationID === null) {
// this.notificationService.showError("Please select at least one designation");
// return;

View File

@ -101,7 +101,7 @@ export class ClaimApplyByEmployeeListComponent implements OnInit {
}
public approvalLoad() {
debugger;
;
if (this.tranid !== undefined && this.tranid > 0) {
this._wfTran = new WFMovementTran();
this.loadingService.ShowLoadingPanel = true;
@ -114,7 +114,7 @@ export class ClaimApplyByEmployeeListComponent implements OnInit {
this.notification.showError(err);
},
() => {
debugger;
;
this.loadingService.ShowLoadingPanel = false;
this.dataTransferService.setData(this._wfTran);
this.claimRequisitionId = this._wfTran.objectID;
@ -204,7 +204,7 @@ export class ClaimApplyByEmployeeListComponent implements OnInit {
() => {
this.loadingService.ShowLoadingPanel = false;
this.claimRequisitionList.forEach(x => {
debugger;
;
switch (x.requsitionStatus) {
case EnumClaimRequsitionStatus.Draft:
x.claimStatusString = "Drafted";
@ -259,7 +259,7 @@ export class ClaimApplyByEmployeeListComponent implements OnInit {
() => {
this.loadingService.ShowLoadingPanel = false;
//this.claimDisbursementReportList.forEach(x => {
// debugger;
// ;
// switch (x.requsitionStatus) {
// case EnumClaimRequsitionStatus.Draft:
// x.claimStatusString = "Drafted";

View File

@ -177,7 +177,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
this.claimApplyByEmployeeForm.get('itemHeadDropDownType').valueChanges
.subscribe(data => {
debugger;
;
if (data !== null && data !== undefined) {
this.onItemHeadChangeList(data);
}
@ -330,7 +330,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
claimrequisitionItem.remarks = this.selectedRemarks;
claimrequisitionItem.claimBasicName = this.claimList.find(x => x.id == this.selectedBasicID).itemName;
claimrequisitionItem.claimBasicItemName = this.claimBasicItems.find(x => x.id === this.selectedBasicItemID).name;
debugger;
;
claimrequisitionItem.fileName = this.currentFileName;
if (this.currentFileName !== null && this.currentFileName !== undefined) {
var fileattaachment = new FileAttachment();
@ -402,7 +402,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
}
}
}
debugger;
;
this.claimRequisition.totalClaimAmount = this.claimRequisition.prevClaimAmount > 0 ? this.claimRequisition.prevClaimAmount - this.claimRequisition.expenseClaimAmount : this.claimRequisition.expenseClaimAmount;
this.claimRequisition.claimAmount = this.claimRequisition.totalClaimAmount;
this.selectedBasicID = null;
@ -428,7 +428,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
this.currentFileName = null;
this.currentFileTobase64 = null;
this.refresh();
debugger;
;
if (this.selectedBasicID !== null) {
/* this.claimBasic = new ClaimBasic();*/
this.claimBasic = this.claimList.find(x => x.id == this.selectedBasicID);
@ -547,7 +547,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
// field six starts
debugger;
;
if (this.claimBasic.isField6 === true) {
if (this.claimBasic.field6Type === EnumFieldTypeStatus.Number) {
this.isField6Number = true;
@ -742,7 +742,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
}
getPrevClaimItems() {
debugger;
;
this.loadingService.ShowLoadingPanel = true;
this.claimService.getClaimRequisition(this.claimId).subscribe(
(resp) => {
@ -849,7 +849,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
}
public onSave() {
debugger;
;
this.claimRequisition.irFileAttacments = [];
if (this.claimRequisition.claimRequisitionItems === null || this.claimRequisition.claimRequisitionItems === undefined || this.claimRequisition.claimRequisitionItems.length <= 0) {
this.notificationService.showError('Please add at least one item');
@ -968,7 +968,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
this.loadingService.ShowLoadingPanel = true;
this.claimService.getClaimRequisitionTranItemHistory(this.claimId).subscribe(
(resp: any) => {
debugger;
;
this._wfFlowHistories = resp;
//console.log(this._wfFlowHistories);
},
@ -979,7 +979,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
this.loadingService.ShowLoadingPanel = false;
if (this._wfFlowHistories != null) {
this._wfFlowHistories.forEach(x => {
debugger;
;
switch (x.status) {
case enumwfStatus.Initiate:
x.tranStatusString = 'Requester';
@ -1005,7 +1005,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
}
selectEventHandler(e: any) {
debugger;
;
console.log('File selected', e);
var selectedFiles = e.target.files;
this.getBase64(selectedFiles[0]).then(
@ -1023,7 +1023,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
changeValidators() {
console.log(this.claimApplyByEmployeeForm.get('dropDownType').value);
debugger;
;
if (this.claimApplyByEmployeeForm.get('dropDownType').value !== null && this.claimApplyByEmployeeForm.get('dropDownType').value !== undefined) {
let currentValue = this.claimList.find(x => x.id === this.claimApplyByEmployeeForm.get('dropDownType').value);
@ -1065,7 +1065,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
}
if (currentValue.isField3Mandatory !== undefined) {
debugger;
;
if (currentValue.isField3Mandatory === true && currentValue.field3Type === EnumFieldTypeStatus.Number) {
this.claimApplyByEmployeeForm.controls['field3Number'].setValidators([Validators.required]);
} else {
@ -1182,7 +1182,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
//loadHistory() {
// this.claimService.getClaimRequisitionHistory().subscribe(
// (resp: any) => {
// debugger;
// ;
// this.claimRequisitionHisory = resp;
// console.log(this.claimRequisitionHisory);
// },
@ -1191,7 +1191,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
// () => {
// if (this.claimRequisitionHisory != null) {
// this.claimRequisitionHisory.forEach(x => {
// debugger;
// ;
// switch (x.wfStatus) {
// case enumwfStatus.Initiate:
// x.claimStatusString = "Requester";
@ -1217,7 +1217,7 @@ export class ClaimApplyByEmployeeComponent implements OnInit {
//}
onItemHeadChangeList(data: number) {
debugger;
;
if (data !== null && data > 0) {
var itemList = this.claimBasicItems.find(x => x.id === data);
if (itemList !== null) {

View File

@ -348,7 +348,7 @@ export class ClaimApproveByLineManagerComponent implements OnInit {
// /* this.notification.showError(err);*/
// },
// () => {
// debugger;
// ;
// this.loadingService.ShowLoadingPanel = false;
// if (this._wfTrans !== null && this._wfTrans.length > 0) {
// this._wfTrans.forEach(x => {

View File

@ -93,7 +93,7 @@ export class ClaimDisbursementReportAdminComponent implements OnInit {
this.notification.showError(err);
},
() => {
debugger;
;
this.loadingService.ShowLoadingPanel = false;
this.showNew = true;
}

View File

@ -151,7 +151,7 @@ export class ClaimItemApproveByLineManagerComponent implements OnInit {
this.loadingPanelService.ShowLoadingPanel = true;
this.workflowService.getFlowHistorybyTranID(this._wfTran.id).subscribe(
(resp: any) => {
debugger;
;
this._wfFlowHistories = resp;
//console.log(this._wfFlowHistories);
},
@ -179,7 +179,7 @@ export class ClaimItemApproveByLineManagerComponent implements OnInit {
this.claimRequisition = new ClaimRequisition();
this.claimRequisition.claimDate = new Date();
} else {
debugger;
;
if (this.claimRequisition.requsitionStatus === EnumClaimRequsitionStatus.Rejected
|| this.claimRequisition.requsitionStatus === EnumClaimRequsitionStatus.Approved) {
this.isAproved = true;
@ -212,7 +212,7 @@ export class ClaimItemApproveByLineManagerComponent implements OnInit {
this.loadingPanelService.ShowLoadingPanel = true;
this.claimService.getEmployeeInfo(employeeId).subscribe(
(resp: any) => {
debugger;
;
this.employee = resp;
// console.log(this._wfFlowHistories);
},
@ -236,7 +236,7 @@ export class ClaimItemApproveByLineManagerComponent implements OnInit {
//public approvalLoad() {
// debugger;
// ;
//if (this.tranid !== undefined && this.tranid > 0) {
// this._wfTran = new WFMovementTran();
@ -250,7 +250,7 @@ export class ClaimItemApproveByLineManagerComponent implements OnInit {
// /* this.notification.showError(err);*/
// },
// () => {
// debugger;
// ;
// /* this.loadingService.ShowLoadingPanel = false;*/
// this.claimRequisitionId = this._wfTran.objectID;
// //localStorage.setItem('requisitionId', null);

View File

@ -274,7 +274,7 @@ export class ClaimPreviewByAdminListComponent implements OnInit {
this.gridState.skip = 0;
this.gridState.take = 10;
this.taggedSelection = [];
debugger;
;
let employeeIds = (this.empIds == undefined || this.empIds == null || this.empIds.length == 0) ? null : this.empIds;
let fromDate = (this.fromDate == undefined || this.fromDate == null) ? null : this.fromDate;
let toDate = (this.toDate == undefined || this.toDate == null) ? null : this.toDate;
@ -381,7 +381,7 @@ export class ClaimPreviewByAdminListComponent implements OnInit {
);
}
public GetSelectedEmployee(childData) {
debugger;
;
this.selectedEmployees = childData;
this.empIds = undefined;
this.empIdList = [];

View File

@ -284,7 +284,7 @@ export class ClaimBasicComponent implements OnInit {
}
public save() {
debugger;
;
if (this.IsValidate() == true) {
this.loadingPanelService.ShowLoadingPanel = true;
this.claimService.saveClaimBasic(this.claimBasic).subscribe(

View File

@ -37,7 +37,7 @@ export class LetterGenerateComponent implements OnInit {
}
public GetSelectedEmployee(childData) {
debugger;
;
this.selectedEmployees = childData;
if(this.selectedEmployees !== undefined){
@ -55,7 +55,7 @@ export class LetterGenerateComponent implements OnInit {
forStuffOrWorker(dataItem: Employee, type : string): void {
debugger;
;
let data = undefined
if(type === 'for Staff'){
data = {

View File

@ -261,7 +261,7 @@ export class LetterRequestByAdminApprovalComponent implements OnInit {
}
search() {
debugger;
;
var empId = (this._employee == undefined) ? 0 : this._employee.id;
this.letterRequestRequestedItemList = [];
this.loadingService.ShowLoadingPanel = true;

View File

@ -248,7 +248,7 @@ export class LetterRequestByEmployeeAndApprovalComponent implements OnInit {
//onLetterTypeChange(id: any) {
// debugger;
// ;
// if (id !== null && id > 0 && id) {
// if (id == EnumLetterRequestPurpose.NOC) {
// this.isNOCSelected = false;

View File

@ -80,7 +80,7 @@ export class LetterRequestSignatoryApprovalComponent implements OnInit {
this.loadingPanelService.ShowLoadingPanel = true;
this.workflowService.getFlowHistorybyTranID(tranId).subscribe(
(resp: any) => {
debugger;
;
this._wfFlowHistories = resp;
//console.log(this._wfFlowHistories);
},
@ -158,7 +158,7 @@ export class LetterRequestSignatoryApprovalComponent implements OnInit {
}
approveLetterRequest() {
debugger;
;
if (this.letterRequest.remarks === null || this.letterRequest.remarks === undefined || this.letterRequest.remarks === "") {
this.letterRequest.remarks === "";
//this.notification.showError("Please input remarks");

View File

@ -147,7 +147,7 @@ export class WorkFlowAdminComponent implements OnInit {
this.loadingPanelService.ShowLoadingPanel = false;
},
() => {
debugger;
;
this.loadingPanelService.ShowLoadingPanel = false;
this.notificationService.showSuccess("Successfull");
this.taggedSelection = [];
@ -184,7 +184,7 @@ export class WorkFlowAdminComponent implements OnInit {
},
() => {
//console.log(this.wfPendingItems);
debugger;
;
this.loadingPanelService.ShowLoadingPanel = false;
});
}

View File

@ -144,7 +144,7 @@ var AppMainComponent = function () {
this.menuClick = false;
};
AppMainComponent_1.prototype.onMenuButtonClick = function (event) {
debugger;
;
this.menuClick = true;
this.rotateMenuButton = !this.rotateMenuButton;
this.topbarMenuActive = false;
@ -172,7 +172,7 @@ var AppMainComponent = function () {
this.inlineMenuClick = true;
};
AppMainComponent_1.prototype.onTopbarMenuButtonClick = function (event) {
debugger;
;
this.topbarItemClick = true;
this.topbarMenuActive = !this.topbarMenuActive;
this.hideOverlayMenu();

View File

@ -138,7 +138,7 @@ export class AppMainComponent {
this.menuClick = false;
}
onMenuButtonClick(event) {
debugger;
;
this.menuClick = true;
this.rotateMenuButton = !this.rotateMenuButton;
this.topbarMenuActive = false;
@ -166,7 +166,7 @@ export class AppMainComponent {
this.inlineMenuClick = true;
}
onTopbarMenuButtonClick(event) {
debugger;
;
this.topbarItemClick = true;
this.topbarMenuActive = !this.topbarMenuActive;

View File

@ -171,7 +171,7 @@ var AppMenuitemComponent = function () {
event.preventDefault();
return;
}
debugger;
;
this.menuService.clickedMenuItem = new role_1.RolePermission();
this.menuService.clickedMenuItem.menuKey = this.item.menuCode;
this.menuService.clickedMenuItem.link = this.item.routerLink;

View File

@ -224,7 +224,7 @@ export class AppMenuitemComponent implements OnInit, OnDestroy {
event.preventDefault();
return;
}
debugger;
;
this.menuService.clickedMenuItem = new RolePermission();
this.menuService.clickedMenuItem.menuKey = this.item.menuCode;
this.menuService.clickedMenuItem.link = this.item.routerLink;

View File

@ -220,11 +220,11 @@ var AppTopBarComponent = function () {
});
};
AppTopBarComponent_1.prototype.toggleFullScreen = function () {
// debugger;
// ;
this.apiService.isSelServiceFullScreen = !this.apiService.isSelServiceFullScreen;
};
AppTopBarComponent_1.prototype.openNotifLink = function (url) {
debugger;
;
if (!url)
return;
var isExternal = /^https?:\/\//i.test(url);
@ -295,7 +295,7 @@ var AppTopBarComponent = function () {
return this.authService.loggedIn();
};
AppTopBarComponent_1.prototype.SwitchUser = function () {
//debugger;
//;
var jwtHelper = new angular_jwt_1.JwtHelperService();
var user = jwtHelper.decodeToken(localStorage.getItem('token'));
this.authService.setIsFromUser(false);
@ -437,7 +437,7 @@ var AppTopBarComponent = function () {
this.router.navigate([b.link]);
};
AppTopBarComponent_1.prototype.ApprovePendingJob = function (dataItem) {
// debugger;
// ;
this.dataTransferService.setData(dataItem.id);
this.router.navigateByUrl(dataItem.link);
};

View File

@ -257,11 +257,11 @@ export class AppTopBarComponent implements OnInit, DoCheck, OnDestroy {
);
}
toggleFullScreen(){
// debugger;
// ;
this.apiService.isSelServiceFullScreen = !this.apiService.isSelServiceFullScreen;
}
openNotifLink(url: string) {
debugger;
;
if (!url) return;
const isExternal = /^https?:\/\//i.test(url);
if (isExternal) {
@ -349,7 +349,7 @@ export class AppTopBarComponent implements OnInit, DoCheck, OnDestroy {
}
SwitchUser() {
//debugger;
//;
const jwtHelper = new JwtHelperService();
const user = jwtHelper.decodeToken(localStorage.getItem('token'));
this.authService.setIsFromUser(false);
@ -383,7 +383,7 @@ export class AppTopBarComponent implements OnInit, DoCheck, OnDestroy {
user: oUser,
payrollTypeId: oUser.PayrollTypeID,
};
debugger;
;
this.loadingPanel.ShowLoadingPanel = true;
this.authService.SwtichUserMode(data).subscribe(
(resp: any) => {
@ -512,7 +512,7 @@ export class AppTopBarComponent implements OnInit, DoCheck, OnDestroy {
this.router.navigate([b.link]);
}
ApprovePendingJob(dataItem: PendingJobDTO) {
// debugger;
// ;
this.dataTransferService.setData(dataItem.id);
this.router.navigateByUrl(dataItem.link);
}

View File

@ -53,7 +53,7 @@ export class AccessCardManagementComponent implements OnInit {
foundActive: boolean = false;
@Input()
public set SetEmployee(InputObject: SearchEmployee) {
debugger;
;
this.pickerSelecteEmp = InputObject;
this.GetSelectedEmployee(InputObject);
this.empPickerActive = false;
@ -111,7 +111,7 @@ export class AccessCardManagementComponent implements OnInit {
}
}
ngOnInit(): void {
debugger;
;
this.selectedtypeid = 1;
}
@ -148,7 +148,7 @@ export class AccessCardManagementComponent implements OnInit {
}
SaveItem() {
debugger;
;
if (this.selectedAction == 1) {
if (this.employee == undefined) {
@ -196,7 +196,7 @@ export class AccessCardManagementComponent implements OnInit {
this.notificationService.showError('There is no card assinged to employee');
return;
}
debugger;
;
var cardop: CardOperation = new CardOperation();
cardop.employeeID = this.employee.id;
cardop.cardNumber = this.cardNumber;
@ -273,7 +273,7 @@ export class AccessCardManagementComponent implements OnInit {
}
changeCheckbox(checkedCheckbox: 'Three' | 'Five') {
debugger;
;
if (checkedCheckbox === 'Three' && this.isThreeYear) {
this.isFiveYear = false;
this.setExactDate = new Date(this.actionDate);

View File

@ -33,7 +33,7 @@ export class AccessCardTypeComponent {
}
ngOnInit() {
debugger;
;
this.msv.caption = "Access Card Type";
this.msv.fromViewType = EnumFormView.ListView;
//this.msv.listViewColumn.push(new BasicMasterListColumn("Code", "Code", EnumColumnDataTypes.String));

View File

@ -188,7 +188,7 @@ export class AttendanceDashboardComponent implements OnInit {
}
allowApproveOrReject(dataItem: any): boolean {
//debugger;
//;
var rtItem = false;
if (dataItem.wfstatus != 1) return false;
else rtItem = true;
@ -453,7 +453,7 @@ export class AttendanceDashboardComponent implements OnInit {
);
}
GetSelectedEmployee(childData) {
//debugger;
//;
this.selectedEmployee = [];
this.selectedEmployeeIds = "";
this.selectedEmployee = childData;
@ -476,7 +476,7 @@ export class AttendanceDashboardComponent implements OnInit {
}
GetSelectedLMEmployee(childData) {
debugger;
;
this.selectedEmployee = [];
this.selectedEmployeeIds = "";
this.selectedEmployee = childData;
@ -526,7 +526,7 @@ export class AttendanceDashboardComponent implements OnInit {
element.src = this.src;
}
else if (reportType === 'EXCEL') {
debugger
this.showPopUp = false;
this.downloadFile(resp);
}
@ -545,20 +545,20 @@ export class AttendanceDashboardComponent implements OnInit {
}
downloadFile(blobContent) {
//debugger
//
const blob = new Blob([this.b64toBlob(blobContent, 'application/data:application/vnd.ms-excel', 1024)], {});
saveAs(blob, 'Employee Attandence' + '.xls');
}
// downloadFile(blobContent) {
// debugger
//
// let blob = new Blob([this.b64toBlob(blobContent, 'application/data:application/vnd.ms-excel', 1024)], {});
// saveAs(blob, 'Employee Attandence' + '.xls');
// }
b64toBlob(b64Data, contentType, sliceSize) {
//console.log(b64Data)
debugger
const byteCharacters = atob(b64Data);
const byteArrays = [];

View File

@ -130,7 +130,7 @@ export class AttendanceManualEditForMultipleEmployeeComponent implements OnInit
}
private getPendindBillings() {
// debugger;
// ;
this.approvalRole = this.router.url.split('/')[3];
//console.log(this.approvalRole);
if (this.approvalRole === "picker") {
@ -190,7 +190,7 @@ export class AttendanceManualEditForMultipleEmployeeComponent implements OnInit
}
dateChange() {
debugger
if (this.selectedShiftID === undefined) {
return;
}
@ -231,7 +231,7 @@ export class AttendanceManualEditForMultipleEmployeeComponent implements OnInit
}
updateobject(type: number) {
debugger;
;
if (this.selectedRemarks != undefined) {
if (this.remarksList.find(y => y.value == this.selectedRemarks).name == "Other") {
this.isOtherRemarks = true;
@ -371,13 +371,13 @@ export class AttendanceManualEditForMultipleEmployeeComponent implements OnInit
}
public GetSelectedEmployee(childData) {
debugger;
;
this.selectedEmployees = childData;
this.AddToList();
}
public GetSelectedEmployeeByCordinator(childData) {
debugger;
;
this.selectedEmployees = childData;
this.AddToList();
}

View File

@ -230,7 +230,7 @@ export class AttendanceWorkhourEffectComponent {
});
}
loadDailyAttnByAttnTypeAndDateRange() {
debugger
const firstDay = new Date(this.selectedAttnMonth.getFullYear(), this.selectedAttnMonth.getMonth(), 1);
const lastDay = new Date(this.selectedAttnMonth.getFullYear(), this.selectedAttnMonth.getMonth() + 1, 0);
const enumAttendanceType = 11; //Late
@ -376,7 +376,7 @@ export class AttendanceWorkhourEffectComponent {
}
openWorkHourMailLog() {
debugger
if (this.selectedAttnMonth === undefined) {
this.notificationService.showWarning('Select a valid month.');
return;

View File

@ -10,7 +10,7 @@ import { AttendanceServices } from 'src/app/_services/attendance/attendance.serv
})
export class ViewAttnWorkhourComponent implements OnChanges {
debugger
@Input() row: any;
workHourDetails: any[] = [];
@ -28,7 +28,7 @@ debugger
}
showWorkHourInfo(row: any): void {
debugger
const attnDate = new Date(row.attndate);
const formattedFromDate = attnDate.toLocaleDateString('en-CA');

View File

@ -47,10 +47,10 @@ export class CardInformationComponent implements OnInit {
ngOnInit(): void {
}
preview() {
debugger;
;
this.loadingPanel.ShowLoadingPanel = true;
this.attendanceService.getCardInformation(this.selectedCardStatus['value']).subscribe((resp: any) => {
debugger;
;
this.cardInformationList = resp;
//console.log(this.cardInformationList);
}, () => {

View File

@ -145,7 +145,7 @@ export class EchotexRosterAssignmentComponent implements OnInit {
ewpList.workPlanGroupID = this.selectedWorkPlanID;
var wp = this.workPlanGroupList.find(w => w.id == this.selectedWorkPlanID);
ewpList.workPlanGroupNameView = wp.name;
debugger;
;
if (!this.fixedWorkPlan) {
ewpList.startDate = this.startDate;
// ewpList.weekEndOn = this.getDayOfWeekEnum(ewpList.startDate);
@ -213,7 +213,7 @@ export class EchotexRosterAssignmentComponent implements OnInit {
loadGroupTypeAndInitialShift(workPlanGroup: WorkPlanGroup) {
this.loadingPanel.ShowLoadingPanel = true;
this.empWorkPlanSetupList = [];
debugger;
;
if (workPlanGroup.type != EnumWorkPlanGroup.Fixed &&
(workPlanGroup.type != undefined || workPlanGroup.type != null)) {
this.fixedWorkPlan = false;
@ -231,7 +231,7 @@ export class EchotexRosterAssignmentComponent implements OnInit {
},
() => {
//console.log(this.empWorkPlanSetupList);
debugger;
;
// if (this.empWorkPlanSetupList.length > 0) {
// if (this.empWorkPlanSetupList[0].workPlanGroupType != EnumWorkPlanGroup.Fixed &&
// (this.empWorkPlanSetupList[0].workPlanGroupType != undefined || this.empWorkPlanSetupList[0].workPlanGroupType != null)) {
@ -344,7 +344,7 @@ export class EchotexRosterAssignmentComponent implements OnInit {
}
public getHolidayDayOfWeek( day: number): string {
debugger;
;
day = day + 1;
switch (day) {
case HolidayDayOfWeek.Sunday:

View File

@ -92,7 +92,7 @@ export class IdCardPrintComponent implements OnInit {
return;
}
let empIds = SearchEmployee.getEmpIds(this.selectedEmps);
debugger;
;
const data = {
reportType: reportType,
empIds: empIds,
@ -125,7 +125,7 @@ export class IdCardPrintComponent implements OnInit {
);
}
changeCheckbox(checkedCheckbox: 'Three' | 'Five') {
debugger;
;
if (checkedCheckbox === 'Three' && this.isThreeYear) {
this.isFiveYear = false;
this.expireYear=3;

View File

@ -76,7 +76,7 @@ export class MonthlyRosterCalendarComponent {
this.attnService.GetLastSavedWorkDate().subscribe(
(x) => {
if (x != null && x != undefined && x.toString() != '') {
debugger;
;
this.saveStatusText = "Last save Month: " + x.toString("MMM yyyy");
this._selectedDate = new Date(x);
// this._selectedDate.setMonth(this._selectedDate.getMonth() + 1)

View File

@ -356,7 +356,7 @@ export class ReadAttendanceRawdataComponent {
(resp: any) => {
this.attnRawDataList = resp as any;
console.log(resp);
debugger;
;
},
(err: any) => {
this._notificationService.showError(err);

View File

@ -40,7 +40,7 @@ export class ShiftEntryComponent implements OnInit {
@Output() saveHandler = new EventEmitter<Shift>();
@Input() public set InputObject(InputObject: Shift) {
this.shift = InputObject;
debugger;
;
if(this.shift !== undefined && this.shift !== null && this.shift.id > 0){
if(this.shift.ramadanStart !== null && this.shift.ramadanClose !== null){
if(new Date() >= new Date(this.shift.ramadanStart) &&

View File

@ -250,9 +250,9 @@ var RolePermissionEntryComponent = function () {
};
RolePermissionEntryComponent_1.prototype.NodecheckedChange = function ($event) {
var _this = this;
debugger;
;
this.roleTypeofMenus.findIndex(function (s) {
debugger;
;
s.status = enums_1.EnumAuthStatus.None;
var ind = 0;
if (_this._oldrole != undefined) {
@ -346,7 +346,7 @@ var RolePermissionEntryComponent = function () {
//}
RolePermissionEntryComponent_1.prototype.onSave = function () {
var _this = this;
debugger;
;
if (!this._fromValidator.valid) {
return;
}
@ -367,7 +367,7 @@ var RolePermissionEntryComponent = function () {
else
this._role.roleStatus = enums_1.EnumAuthStatus.Approved;
this.roleTypeofMenus.forEach(function (x) {
debugger;
;
var nindex = _this.selectedRoles.findIndex(function (y) { return y == x.id; });
if (nindex != -1) {
_this._role.rolePermissions.push(x);

View File

@ -222,9 +222,9 @@ export class RolePermissionEntryComponent implements OnInit {
}
public NodecheckedChange($event) {
debugger;
;
this.roleTypeofMenus.findIndex(s => {
debugger;
;
s.status = EnumAuthStatus.None;
let ind = 0;
if (this._oldrole != undefined) {
@ -333,7 +333,7 @@ export class RolePermissionEntryComponent implements OnInit {
//}
public onSave(): void {
debugger;
;
if (!this._fromValidator.valid) {
return;
}
@ -358,7 +358,7 @@ export class RolePermissionEntryComponent implements OnInit {
this.roleTypeofMenus.forEach(x => {
debugger;
;
var nindex: number = this.selectedRoles.findIndex(y => y == x.id);
if (nindex != -1) {
this._role.rolePermissions.push(x);

View File

@ -101,7 +101,7 @@ export class RolePermissionListComponent implements OnInit {
this.useService.getAllRoles()
.subscribe(
(resp: any) => {
debugger;
;
this.roles = resp;
this.refreshGridView();
},

View File

@ -362,7 +362,7 @@ export class UsersListComponent implements OnInit {
this.notificationService.showError('Created user and Approve user can\'t be Same.');
return;
}
debugger;
;
const ouser = Object.assign({}, oselecteduser);
if (this.actionselected == "deactivate-approve") {
ouser.userStatus = EnumAuthStatus.Inactive;
@ -428,7 +428,7 @@ export class UsersListComponent implements OnInit {
onReasonSave() {
debugger;
;
// Change a copy; the row only changes once the server has accepted it.
const target = this.deactivateTarget;
const changed = Object.assign({}, target);

View File

@ -99,7 +99,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
popupcall: boolean = false;
htmlContent!: SafeHtml;
@Input() public set setItemDataOne(value) {
debugger
this.itemid = value;
this.itemDropDown == false;
}
@ -109,7 +109,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
}
@Output() popupreturn = new EventEmitter<any>();
@Input() public set setUploadType(value) {
debugger
this.popupcall = true;
this.type = value;
this.itemDropDown = false;
@ -462,7 +462,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
this.loadingPanel.ShowLoadingPanel = true;
this.fundService.GetAllFundTypes().subscribe(
(rtn) => {
debugger
var oFundTypes: FundType[] = rtn;
this.ItemData = [];
oFundTypes.forEach((x) => {
@ -485,7 +485,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
this.loadingPanel.ShowLoadingPanel = true;
this.fundService.GetAllFundTypes().subscribe(
(rtn) => {
debugger
var oFundTypes: FundType[] = rtn;
this.ItemData = [];
oFundTypes.forEach((x) => {
@ -508,7 +508,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
this.loadingPanel.ShowLoadingPanel = true;
this.fundService.GetAllFundTypes().subscribe(
(rtn) => {
debugger
var oFundTypes: FundType[] = rtn;
this.ItemData = [];
oFundTypes.forEach((x) => {
@ -777,7 +777,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
() => {
this.loadingPanel.ShowLoadingPanel = false;
this.ItemData;
debugger
}
);
@ -878,7 +878,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
this.loadingPanel.ShowLoadingPanel = true;
this.preparedata();
} else if (this.type == EnumRegularDataUpload.Objective) {
debugger
this.itemDropDown = true;
this.apiService.selectedMenuName = "Upload Objective";
this.itemName = "PMS Year";
@ -903,7 +903,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
}
);
} else if (this.type == EnumRegularDataUpload.SecondLineManagerObjectiveRating) {
debugger
this.itemDropDown = true;
this.apiService.selectedMenuName = "Upload Second Line Manager Rating";
this.itemName = "PMS Year";
@ -956,7 +956,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
}
ItemSelectionChange(value: any) {
debugger
if (
this.type == EnumRegularDataUpload.LifeCycle ||
this.type == EnumRegularDataUpload.Allowance ||
@ -987,7 +987,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
}
public exportAsExcelFile(): void {
debugger
if (this.type == EnumRegularDataUpload.EmployeeAttendanceCordinator || this.type == EnumRegularDataUpload.EmployeeAttendance ) {
const link = document.createElement('a');
link.href = 'assets/AttendanceUploadTemplate.xlsx';
@ -1062,7 +1062,7 @@ export class DataUploadComponent implements OnInit, OnDestroy {
});
this.htmlContent = this.sanitizer.bypassSecurityTrustHtml(this.scolName);
this.apiService.selectedMenuName = this.dataUploadColumnDefinition.formText;
debugger
},
(err: any) => {
this.loadingPanel.ShowLoadingPanel = false;

View File

@ -312,7 +312,7 @@ export class CoreHrDashboardComponent implements OnInit {
onClickPhotoCheck(): boolean {
//debugger;
//;
if (!this.photocheck) {
this.photocheck = true;
}
@ -328,7 +328,7 @@ export class CoreHrDashboardComponent implements OnInit {
}
onCellClick(dataItem: any) {
this.selectedRow = dataItem;
//debugger;
//;
//console.log(this.selectedRow);
let photo: any;
this.employeeService.GetuploadEmpFile(dataItem["employeeid"], dataItem["employeeid"], 1).subscribe(
@ -341,7 +341,7 @@ export class CoreHrDashboardComponent implements OnInit {
this.loadingPanel.ShowLoadingPanel = false;
},
() => {
// debugger;
// ;
// this.refreshGrid();
this.openPhoto(photo);
this.loadingPanel.ShowLoadingPanel = false;
@ -364,7 +364,7 @@ export class CoreHrDashboardComponent implements OnInit {
}
onCheckViewBoxSelect(view: string) {
this.selectedView = view;
//debugger;
//;
}
refreshGrid(): void {
// Do any data updates here if needed
@ -376,7 +376,7 @@ export class CoreHrDashboardComponent implements OnInit {
}
createBlobImage(base64String: string) {
//debugger;
//;
if (base64String !== null) {
const byteString = atob(base64String);
const arrayBuffer = new ArrayBuffer(byteString.length);
@ -415,7 +415,7 @@ export class CoreHrDashboardComponent implements OnInit {
// (resp) => {
// this.orgEmployee = resp;
// console.log(resp);
// debugger
//
// },
// (err) => {
// this.notificationService.showError(err.error);
@ -430,7 +430,7 @@ export class CoreHrDashboardComponent implements OnInit {
// if (this.router.url === '/core-hr/core-hr-dashboard/DH') {
// // this.departmenLabel = this.empCount[0].department;
// console.log(this.departmenLabel);
// debugger;
// ;
// this.loadDepartmentData();
// }
// else if (this.router.url === '/core-hr/core-hr-dashboard/HR-Head') {
@ -506,7 +506,7 @@ export class CoreHrDashboardComponent implements OnInit {
// this.loadingPanel.ShowLoadingPanel = false;
// },
// () => {
// debugger;
// ;
// this.refreshGrid();
// this.loadingPanel.ShowLoadingPanel = false;
// }
@ -651,7 +651,7 @@ export class CoreHrDashboardComponent implements OnInit {
}
let leave = this.leaves.find(x => x.id == item.leaveID);
if (leave.isSelfCancellation == true) {
//debugger;
//;
var days = (new Date().getTime() - new Date(item.appliedToDate).getTime()) / (1000 * 3600 * 24);
if (days < leave.selfCancellationDays) {
@ -748,7 +748,7 @@ export class CoreHrDashboardComponent implements OnInit {
preview() {
this.searchEmployees = [this.searchEmployee];
// debugger;
// ;
this.loadingPanel.ShowLoadingPanel = true;
// this.searchEmployees[0].departmentID = this.leaveYear.id;
this.leaveService.getMultipleEmployeeLeaveBalance(this.leaveYear.id, this.searchEmployees).subscribe(
@ -1194,7 +1194,7 @@ export class CoreHrDashboardComponent implements OnInit {
*/
loadBarChart(type: string) {
debugger
this.dataForBarChart = [];
if (this.selectedSubMenu === 'GenderRatio') {
this.chartHeader = 'Gender Stat';
@ -1434,7 +1434,7 @@ export class CoreHrDashboardComponent implements OnInit {
}
loadData() {
//debugger
//
if (this.selectedSubMenu === 'GenderRatio') {
// this.loadEmployeeSummaryData();
// this.loadEmployeeGenderRatio();
@ -1469,7 +1469,7 @@ export class CoreHrDashboardComponent implements OnInit {
this.loadBarChart('');
}
// console.log(this.filteredDataList);
// debugger;
// ;
}
public dataStateChange(state: DataStateChangeEvent): void {
@ -1728,10 +1728,10 @@ export class CoreHrDashboardComponent implements OnInit {
}
onCheckBoxSelect(type: string) {
debugger
this.checkboxSelected.set(type, !this.checkboxSelected.get(type));
this.checkboxSelected.forEach((value, key) => {
//debugger;
//;
if (key === type) {
return;
}
@ -1775,7 +1775,7 @@ export class CoreHrDashboardComponent implements OnInit {
}
showFilteredData(type: string) {
debugger;
;
if (this.selectedSubMenu === 'GenderRatio') {
this.calculationForGenderRatio(type);
} else if (this.selectedSubMenu === 'HeadCount') {
@ -1861,7 +1861,7 @@ export class CoreHrDashboardComponent implements OnInit {
}
calculationForGenderRatio(type: string) {
//debugger
//
this.filteredDataList = [];
this.stateGenderData.group = [];
const result = groupBy(this.employeeSummaryData, [{ field: type }, { field: 'gender' }]);
@ -1918,12 +1918,12 @@ export class CoreHrDashboardComponent implements OnInit {
}
calculationForHeadCount(type: string) {
debugger
this.filteredDataList = [];
this.stateGenderData.group = [];
const result = groupBy(this.employeeSummaryData, [{ field: type }]);
result.forEach(item => {
//debugger
//
const filteredData = new FilteredDataModel();
filteredData.type = item.field;
this.nameTitle = filteredData.type.charAt(0).toUpperCase() + filteredData.type.slice(1);
@ -1937,7 +1937,7 @@ export class CoreHrDashboardComponent implements OnInit {
}
calculationForBloodGroup(type: string) {
debugger;
;
this.filteredDataList = [];
this.stateGenderData.group = [];
const result = type === '' ? groupBy(this.employeeSummaryData, [{ field: 'bloodGroup' }]) :
@ -1982,13 +1982,13 @@ export class CoreHrDashboardComponent implements OnInit {
}
calculationForAge(type: string) {
debugger;
;
this.filteredDataList = [];
this.stateGenderData.group = [];
const result = type === '' ? groupBy(this.employeeSummaryData, [{ field: 'ageGroup' }]) :
groupBy(this.employeeSummaryData, [{ field: 'ageGroup' }, { field: type }]);
result.forEach(item => {
//debugger;
//;
if (type === '') {
const filteredData = new FilteredDataModel();
filteredData.type = item.field;
@ -1999,7 +1999,7 @@ export class CoreHrDashboardComponent implements OnInit {
this.filteredDataList.push(filteredData);
} else {
item.items.forEach(x => {
//debugger;
//;
const filteredData = new FilteredDataModel();
filteredData.type = item.field;
this.nameTitle = filteredData.type.charAt(0).toUpperCase() + filteredData.type.slice(1);
@ -2027,13 +2027,13 @@ export class CoreHrDashboardComponent implements OnInit {
});*/
});
debugger;
;
this.gridGenderData = process(this.filteredDataList, this.stateGenderData);
this.total = aggregateBy(this.filteredDataList, this.aggregatesForCount);
}
handleNestedField(type: string, filteredData: FilteredDataModel, item: any) {
//debugger
//
this.stateGenderData.group = [];
if (type === 'section') {
filteredData.parName1 = item.items[0].department;
@ -2090,7 +2090,7 @@ export class CoreHrDashboardComponent implements OnInit {
private loadTraining() {
this.employeeService.getTrainingForEss(this.EmployeeData.employeeID).subscribe(
(resp) => {
debugger;
;
this.trainings = resp;
},
(x) => {

View File

@ -280,7 +280,7 @@ export class ProfileDashboardComponent implements OnInit {
this.imageUrlPopUp = undefined;
}
tabchange(item: any) {
debugger
this.data = [];
this.filterData = [];
//variables of filter declared undefined in clear function when tab changes
@ -330,7 +330,7 @@ export class ProfileDashboardComponent implements OnInit {
}
menuSelected(selectedindex: number) {
debugger
this.loadingPanel.ShowLoadingPanel = true;
if (selectedindex == 0) {
this.selectedSubMenu = 'EmployeeReport';
@ -798,7 +798,7 @@ export class ProfileDashboardComponent implements OnInit {
}
loadOtherQualification() {
debugger;
;
this.data = [];
this.filterData = [];
let data = {
@ -1043,7 +1043,7 @@ export class ProfileDashboardComponent implements OnInit {
this.showReport();
}
setReportColumnForOtherQualifications(reportType) {
debugger
const employeeOtherQualificationsInfo = new EmployeeOtherQualifications();
this.dynamicColumnNames = [
{ sl: 1, columnName: 'employeeno', columnHeader: 'Employee No', width: '200' },
@ -1055,7 +1055,7 @@ export class ProfileDashboardComponent implements OnInit {
this.showReport();
}
setReportColumns(reportType: string) {
debugger
const reportName = '';
if (reportType === 'General') {
this.setReportColumnForGeneralData(reportType);
@ -1089,7 +1089,7 @@ export class ProfileDashboardComponent implements OnInit {
}
showReport() {
debugger;
;
// this.cleared = false;
this.filterData = this.data;
//All the variables inside conditions are cleared in tabchange() function
@ -1101,14 +1101,14 @@ export class ProfileDashboardComponent implements OnInit {
if (this.selectedEmployees.length != 0) {
this.filterData = [];
// this.selectedEmployees.forEach(y => {
// debugger;
// ;
// let data = this.data.filter(x => x["employeeId"] == y.employeeID);
// if (data !== undefined && data.length!==0) {
// this.filterData = this.filterData.concat(data);
// }
// });
this.filterData = this.selectedEmployees.flatMap(y => {
//debugger;
//;
let data = this.data.filter(x => x["employeeId"] == y.employeeID);
return (data !== undefined && data.length !== 0) ? data : [];
});

View File

@ -253,7 +253,7 @@ export class AcademicEntryComponent implements OnInit {
//this.isGrade = false;
}
selectEducationLevelEvent(levelid: number) {
//debugger;
//;
let educationLevels = [];
if (levelid !== null) {
educationLevels = this.alleducationLevels.filter(x => x.id == levelid);
@ -287,7 +287,7 @@ export class AcademicEntryComponent implements OnInit {
// this.isGrade = false;
}
selectInstitutionEvent(institutionid: number) {
//debugger
//
let seletedInstitution: Institution = this.allinstitutions.find(x => x.id == institutionid);
let resultType: number = null;
if (seletedInstitution.boardRequired == true) resultType = 1;
@ -299,7 +299,7 @@ export class AcademicEntryComponent implements OnInit {
//this.isGrade = false;
}
selectResultTypeEvent(resultTypeid: number) {
debugger
let seletedresultType: ResultType = this.allresultTypes.find(x => x.id == resultTypeid);
if (seletedresultType.type == 2) {
this.ResultTypeTitle = 'Marks';
@ -359,7 +359,7 @@ export class AcademicEntryComponent implements OnInit {
this.selectedResultTypeID = this.academic.resultTypeID;
}
public onSave(e, type: string): void {
debugger;
;
this.academic.educationTypeID = this.selectedEducationTypeID;
this.academic.educationLevelID = this.selectedEducationLevelID;
this.academic.institutionID = this.selectedInstitutionID;

View File

@ -69,7 +69,7 @@ export class AcademicListComponent implements OnInit {
}
public ngOnInit(): void {
debugger;
;
this.employeeService.Employee_Get_Completed.subscribe(
(resp: any) => {
this.academics = this.employeeService.hrEmployee.academics;
@ -135,7 +135,7 @@ export class AcademicListComponent implements OnInit {
}
public editHandler(rowIndex: any) {
debugger;
;
//console.log(rowIndex);
this.editIndex = rowIndex;
this.academic = this.academics[this.editIndex];
@ -196,7 +196,7 @@ export class AcademicListComponent implements OnInit {
}
viewAttachment(id: number) {
debugger;
;
const item = this.academics.find(x => x.id === id);
if (item.attachment === null || item.attachment === undefined) {
this.notificationService.showError('There is no file attached');

View File

@ -192,7 +192,7 @@ export class ContactComponent implements OnInit {
}
SaveContact() {
// debugger
//
// if(this.isSameAddress){
// this.contact.presentAddress = this.contact.permanentAddress;
// this.contact.presentAddressInBangla = this.contact.permanentAddressInBangla;
@ -247,7 +247,7 @@ export class ContactComponent implements OnInit {
this.isDisplay = true;
}
checkAddress(value: boolean) {
debugger;
;
this.isSameAddress = !this.isSameAddress;
if (this.isSameAddress) {
this.contact.presentAddress = this.contact.permanentAddress;
@ -283,7 +283,7 @@ export class ContactComponent implements OnInit {
}
checkPresentAddressToPermanent(value: boolean) {
debugger;
;
this.isPresentSameAsPermanentAddress = !this.isPresentSameAsPermanentAddress;
if (this.isPresentSameAsPermanentAddress) {
this.contact.permanentAddress = this.contact.presentAddress;
@ -333,11 +333,11 @@ export class ContactComponent implements OnInit {
}
ngOnChanges(changes: SimpleChanges) {
//debugger;
//;
if (changes['employeeId'] && this.employeeId) {
this.employeeService.getEmployeeByID(this.employeeId).subscribe(
(resp) => {
//debugger;
//;
if (resp) this.employeeData = resp;
},
(err) => {

View File

@ -212,7 +212,7 @@ export class EmployeeProfileComponent implements OnInit {
checkValue(value: any) {
//debugger;
//;
if (value === true) {
this.refreshEmployee(new HrEmployee());
@ -237,7 +237,7 @@ export class EmployeeProfileComponent implements OnInit {
}
checkValueNew() {
//debugger;
//;
if (this.employeeService.hrEmployee.id != undefined) {
this.notificationService.confirm('Your changes are not saved, do you want to add a new Employee? ', () => {
this.employeeService.hrEmployee = new HrEmployee();
@ -247,7 +247,7 @@ export class EmployeeProfileComponent implements OnInit {
},
() => {
// User canceled, do something
//debugger
//
this.newEmployee = false;
this.loadingPanel.ShowLoadingPanel = false;
// Manually uncheck the checkbox using JavaScript
@ -258,7 +258,7 @@ export class EmployeeProfileComponent implements OnInit {
});
}
else {
//debugger
//
this.employeeService.hrEmployee = new HrEmployee();
this.hrEmployeeProfile = this.employeeService.hrEmployee;
@ -298,7 +298,7 @@ export class EmployeeProfileComponent implements OnInit {
public GetSelectedEmployee(childData) {
debugger;
;
this.selectedEmployee = childData;
//console.log(childData);
if (childData === undefined) {
@ -313,7 +313,7 @@ export class EmployeeProfileComponent implements OnInit {
this.loadingPanel.ShowLoadingPanel = true;
this.employeeService.getHREmployeeID(this.selectedEmployee.employeeID).subscribe(
(resp: any) => {
//debugger;
//;
//console.log(resp);
this.hrEmployeeProfile = resp;
},
@ -343,7 +343,7 @@ export class EmployeeProfileComponent implements OnInit {
}
public refreshEmployee(hremp: HrEmployee) {
debugger;
;
this.employeeService.hrEmployee = hremp;
if (this.hrEmployeeProfile.id !== undefined && this.hrEmployeeProfile.id !== 0) {
this.employeeService.hrEmployee.birthDate = new Date(this.employeeService.hrEmployee.birthDate);
@ -392,7 +392,7 @@ export class EmployeeProfileComponent implements OnInit {
}
editHandler({ dataItem }) {
debugger
if (dataItem.filetype == enumEmpFileUploadType.Profile_Picture) {
this.AttachmentViewerTitle = 'Profile Picture';
}
@ -462,7 +462,7 @@ export class EmployeeProfileComponent implements OnInit {
}
onTabChange(event: any) {
//debugger;
//;
//console.log(this.selectedEmployee);
if (event.index == 7) {
if (this.selectedEmployee != undefined) {
@ -498,34 +498,34 @@ export class EmployeeProfileComponent implements OnInit {
}
onFamilySaved(type: string) {
debugger;
;
if (type === 'Next') {
this.goToNextTab(); // moves to Experience tab
}
}
onExperienceSaved(type: string) {
debugger;
;
if (type === 'Next') {
this.goToNextTab(); // moves to Experience tab
}
}
onTrainingSaved(type: string) {
debugger;
;
if (type === 'Next') {
this.goToNextTab(); // moves to Experience tab
}
}
onEducationSaved(type: string) {
debugger;
;
if (type == "Next")
this.goToNextTab(); // navigate to Nominee tab
}
onNomineeSaved(type: string) {
debugger;
;
if (type == "Next")
this.goToNextTab(); // navigate to Nominee tab
}
@ -542,7 +542,7 @@ export class EmployeeProfileComponent implements OnInit {
}
onEmployeeNoChange(newValue: string) {
//debugger;
//;
this.employeeNo = newValue;
this.employeeService.hrEmployee.employeeNo = this.employeeNo;
this.hrEmployeeProfile = this.employeeService.hrEmployee;

View File

@ -144,7 +144,7 @@ var ChildrenEntryComponent = function () {
_this.loadingPanelService.ShowLoadingPanel = false;
//this.notificationService.showSuccess('Data Save successfully.');
_this.saveHandler.emit(_this.children);
debugger;
;
if (type == "Save")
_this.notificationService.showSuccess('Data Save successfully.');
_this.saveSuccess.emit(type);

View File

@ -121,7 +121,7 @@ export class ChildrenEntryComponent implements OnInit {
this.loadingPanelService.ShowLoadingPanel = false;
//this.notificationService.showSuccess('Data Save successfully.');
this.saveHandler.emit(this.children);
debugger;
;
if (type == "Save")
this.notificationService.showSuccess('Data Save successfully.');
this.saveSuccess.emit(type);

View File

@ -115,7 +115,7 @@ export class SpouseEntryComponent implements OnInit {
}
onSubmit(type: string) {
//debugger;
//;
if (!this.spouseForm.valid) {
this.notificationService.showWarning('Must Entry field can\'t be Empty');
return;

View File

@ -186,7 +186,7 @@ export class GeneralComponent implements OnInit {
public CommonMethodService: CommonMethodsService) { }
ngOnInit() {
debugger;
;
this.minDate.setFullYear(this.today.getFullYear() - 15); // Set to 15 years ago
this.employeePhoto = this.defaultPhoto;
this.basicService.getAllReligion().subscribe(
@ -309,7 +309,7 @@ export class GeneralComponent implements OnInit {
//this.hrEmployee = new HrEmployee();
this.employeeService.Employee_Get_Completed.subscribe(
(resp: any) => {
debugger;
;
this.hrEmployee = resp;
//console.log(this.hrEmployee);
if (this.hrEmployee.id !== undefined && this.hrEmployee.id !== 0) {
@ -421,7 +421,7 @@ export class GeneralComponent implements OnInit {
);
}
getLineManager() {
//debugger;
//;
this.employeeService.getSearchEmployeebyid(this.hrEmployee.lineManagerID).subscribe(
(resp) => {
this.lineManager = resp;
@ -574,7 +574,7 @@ export class GeneralComponent implements OnInit {
}
public GetSelectedEmployee(childData) {
//debugger;
//;
if (childData != undefined) {
this.hrEmployee.lineManagerID = childData.employeeID;
}
@ -609,7 +609,7 @@ export class GeneralComponent implements OnInit {
}
SavePersonalInfo() {
//debugger;
//;
//console.log(this.hrEmployee);
// return;
if (this.personalInfo.valid === false && this.hrEmployee.employeeNo === '') {
@ -631,7 +631,7 @@ export class GeneralComponent implements OnInit {
}
this.notificationService.confirm('Do you sure you want to save it?', () => {
//debugger;
//;
this.loadingPanel.ShowLoadingPanel = true;
this.employeeService.saveHrPersonalInfo(this.hrEmployee).subscribe(
(resp: any) => {
@ -644,7 +644,7 @@ export class GeneralComponent implements OnInit {
this.notificationService.showError(err.error);
},
() => {
//debugger;
//;
this.loadingPanel.ShowLoadingPanel = false;
this.isDisplay = false;
//this.notificationService.showSuccess('Data save successfully');
@ -740,7 +740,7 @@ export class GeneralComponent implements OnInit {
}
}
saveBanglaPersonalInformation() {
//debugger
//
this.notificationService.confirm('Do you sure you want to save it?', () => {
const data = {
employeeNo: this.employeeService.hrEmployee.employeeNo,
@ -1128,7 +1128,7 @@ export class GeneralComponent implements OnInit {
}
popUpAttachment(type: string) {
//debugger;
//;
this.selectedEmpFiles = new empFileuploads();
this.FileType = type;
if (type === 'NID') // 4
@ -1152,7 +1152,7 @@ export class GeneralComponent implements OnInit {
}
}
if (type === 'DLN') { //15
debugger;
;
if (this.hrEmployee.drivingLicenceNo.length == 0) {
this.dlnoPopUp = false;
this.notificationService.showError("Enter driver licence No first");
@ -1234,7 +1234,7 @@ export class GeneralComponent implements OnInit {
}
uploadAttachment(fileUploadType: enumEmpFileUploadType, files: FileList) {
//debugger;
//;
if (files !== undefined && files.length > 0) {
const file = files.item(0);
if (file.size > 500000) {
@ -1315,7 +1315,7 @@ export class GeneralComponent implements OnInit {
}
LoadEmployeeFile(fileType: enumEmpFileUploadType): void {
debugger;
;
if (!this.hrEmployee?.id) return; // Ensure employee ID exists
let refID = 0;
if (fileType == enumEmpFileUploadType.Education ||
@ -1337,7 +1337,7 @@ export class GeneralComponent implements OnInit {
}
ViewEmpFiles(EmpFile: empFileuploads) {
//debugger;
//;
// Early return if no selected files or invalid employee ID
if (!EmpFile.fileName || !this.hrEmployee.id) {
this.src = undefined; // Clear any previous content

View File

@ -116,13 +116,13 @@ var NomineeListComponent = function () {
this.isDisplay = true;
};
NomineeListComponent_1.prototype.editHandler = function (rowIndex) {
//debugger;
//;
this.editIndex = rowIndex;
this.nominee = this.nominees[this.editIndex];
this.isDisplay = true;
};
NomineeListComponent_1.prototype.saveHandler = function (dataItem) {
debugger;
;
if (dataItem === undefined) {
this.isDisplay = false;
return;

View File

@ -94,13 +94,13 @@ export class NomineeListComponent implements OnInit {
this.isDisplay = true;
}
public editHandler(rowIndex: any) {
//debugger;
//;
this.editIndex = rowIndex;
this.nominee = this.nominees[this.editIndex];
this.isDisplay = true;
}
public saveHandler(dataItem: any) {
debugger;
;
if (dataItem === undefined) {
this.isDisplay = false;
return;

View File

@ -110,7 +110,7 @@ export class OtherQualificationsComponent implements OnInit {
public removeAchievementHandler({ dataItem }) {
this.notificationService.confirm('Do you sure you want to delete?', () => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = true;
const item: Achievement = dataItem as Achievement;
@ -121,7 +121,7 @@ export class OtherQualificationsComponent implements OnInit {
};
this.employeeService.deleteChildData(data).subscribe(
() => {
//debugger;
//;
this.notificationService.showSuccess('Deleted Successfully');
const nIndex = this.achievements.findIndex(x => x.achievementID === item.achievementID);
this.achievements.splice(nIndex, 1);
@ -131,7 +131,7 @@ export class OtherQualificationsComponent implements OnInit {
this.loadingService.ShowLoadingPanel = false;
},
() => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = false;
}
);
@ -145,7 +145,7 @@ export class OtherQualificationsComponent implements OnInit {
public removeExtraCurricularHandler({ dataItem }) {
this.notificationService.confirm('Do you sure you want to delete?', () => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = true;
const item: ExtracurricularActivity = dataItem as ExtracurricularActivity;
@ -156,7 +156,7 @@ export class OtherQualificationsComponent implements OnInit {
};
this.employeeService.deleteChildData(data).subscribe(
() => {
//debugger;
//;
this.notificationService.showSuccess('Deleted Successfully');
const nIndex = this.curricularActivities.findIndex(x => x.curricularActivityID === item.curricularActivityID);
this.curricularActivities.splice(nIndex, 1);
@ -166,7 +166,7 @@ export class OtherQualificationsComponent implements OnInit {
this.loadingService.ShowLoadingPanel = false;
},
() => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = false;
}
);
@ -180,7 +180,7 @@ export class OtherQualificationsComponent implements OnInit {
public removeHobbyHandler({ dataItem }) {
this.notificationService.confirm('Do you sure you want to delete?', () => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = true;
const item: Hobby = dataItem as Hobby;
@ -191,7 +191,7 @@ export class OtherQualificationsComponent implements OnInit {
};
this.employeeService.deleteChildData(data).subscribe(
() => {
//debugger;
//;
this.notificationService.showSuccess('Deleted Successfully');
const nIndex = this.hobbies.findIndex(x => x.hobbyID === item.hobbyID);
this.hobbies.splice(nIndex, 1);
@ -201,7 +201,7 @@ export class OtherQualificationsComponent implements OnInit {
this.loadingService.ShowLoadingPanel = false;
},
() => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = false;
}
);
@ -215,7 +215,7 @@ export class OtherQualificationsComponent implements OnInit {
public removeOtherTalentsHandler({ dataItem }) {
this.notificationService.confirm('Do you sure you want to delete?', () => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = true;
const item: OtherTalent = dataItem as OtherTalent;
@ -226,7 +226,7 @@ export class OtherQualificationsComponent implements OnInit {
};
this.employeeService.deleteChildData(data).subscribe(
() => {
//debugger;
//;
this.notificationService.showSuccess('Deleted Successfully');
const nIndex = this.otherTalents.findIndex(x => x.otherTalentID === item.otherTalentID);
this.otherTalents.splice(nIndex, 1);
@ -236,7 +236,7 @@ export class OtherQualificationsComponent implements OnInit {
this.loadingService.ShowLoadingPanel = false;
},
() => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = false;
}
);
@ -258,7 +258,7 @@ export class OtherQualificationsComponent implements OnInit {
return;
}
this.notificationService.confirm('Do you sure you want to save it?', () => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = true;
const data = {
Description: this.AchievementTitle,
@ -274,7 +274,7 @@ export class OtherQualificationsComponent implements OnInit {
this.empAchievement.achievementTitle = this.AchievementTitle;
this.empAchievement.employeeID = this.hrEmployee.id;
this.achievements.push(this.empAchievement);
debugger;
;
this.notificationService.showSuccess(resp.message);
this.AchievementTitle = "";
}
@ -305,7 +305,7 @@ export class OtherQualificationsComponent implements OnInit {
return;
}
this.notificationService.confirm('Do you sure you want to save it?', () => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = true;
const data = {
Description: this.ExtraCurricularActivityTitle,
@ -352,7 +352,7 @@ export class OtherQualificationsComponent implements OnInit {
return;
}
this.notificationService.confirm('Do you sure you want to save it?', () => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = true;
const data = {
Description: this.HobbyTitle,
@ -399,7 +399,7 @@ export class OtherQualificationsComponent implements OnInit {
return;
}
this.notificationService.confirm('Do you sure you want to save it?', () => {
//debugger;
//;
this.loadingService.ShowLoadingPanel = true;
const data = {
Description: this.OtherTalentTitle,
@ -480,7 +480,7 @@ export class OtherQualificationsComponent implements OnInit {
}
filterSuggestions(type: string) {
debugger
if (type == "Achievement") {
const input = this.AchievementTitle.toLowerCase();
this.filteredSuggestions = this.SuggestionAchievementTitle.filter((title) =>

View File

@ -92,14 +92,14 @@ public GetSelectedEmployee(childData: any) {
this.selectedEmployee = childData;
this.employeeService.getEmployeeDetailByEmpID(this.selectedEmployee.employeeID).subscribe(
(resp: any) => {
debugger
this.employee = resp;
},
(err: any) => {
},
() => {
debugger
}
);
}

View File

@ -96,7 +96,7 @@ export class LegalTrackingUploaderComponent implements OnInit {
nextActionDescription: this.nextActionDescription
}
console.log(data);
debugger
this.loadingPanelService.ShowLoadingPanel = true;
this.basicService.saveLegalTracking(data).subscribe(
(resp) => {
@ -120,7 +120,7 @@ export class LegalTrackingUploaderComponent implements OnInit {
}
onActionChange(selectedValue: any) {
debugger
this.nextAction = selectedValue.name;
this.nextActionDescription = "";

View File

@ -92,7 +92,7 @@ export class LegalTrackingComponent implements OnInit {
let todayDate: Date = new Date();
notificationdate.setHours(0, 0, 0, 0);
todayDate.setHours(0, 0, 0, 0);
debugger
if (notificationdate <= todayDate) { // change this condition as you need
return {
passive: true

View File

@ -150,7 +150,7 @@ export class DataIntegrationComponent implements OnInit {
this.data = resp as any;
},
(x) => {
debugger;
;
this.loadingService.ShowLoadingPanel = false;
this.notification.showError(x.error.internalError);
@ -183,7 +183,7 @@ export class DataIntegrationComponent implements OnInit {
}
checkValue(e: any) {
debugger;
;
if (e == "true") {
this.budget = null;
this.loadBudgetData();
@ -192,7 +192,7 @@ export class DataIntegrationComponent implements OnInit {
}
checkValueAllow(e: any) {
debugger;
;
if (e == "true") {
this.budgetAllow = null;
this.loadBudgetDataAllow();
@ -225,7 +225,7 @@ export class DataIntegrationComponent implements OnInit {
this.faultyData = resp.table as any;
},
(x) => {
debugger;
;
this.notification.showError(x.error);
this.loadingService.ShowLoadingPanel = false;
},
@ -249,7 +249,7 @@ export class DataIntegrationComponent implements OnInit {
this.errorDataList = resp.table as any;
},
(x) => {
debugger;
;
this.notification.showError(x.error);
this.loadingService.ShowLoadingPanel = false;
},
@ -285,7 +285,7 @@ export class DataIntegrationComponent implements OnInit {
this.individualAllowanceData = resp as any;
},
(x) => {
debugger;
;
this.loadingService.ShowLoadingPanel = false;
this.notification.showError('Error on loading data' + x.error.message);

View File

@ -58,9 +58,9 @@ export class InvestmentApprovalPageComponent implements OnInit {
this.essFundService.GetSelectedApproverForInvestment(this.newInvestment)
.subscribe(
(x) => {
// debugger;
// ;
if (x != 0) {
// debugger;
// ;
this.selectedApprover = x;
}
},
@ -75,17 +75,17 @@ export class InvestmentApprovalPageComponent implements OnInit {
getNewInvestmentById(newInvestmentId: number) {
this.loadingPanel.ShowLoadingPanel = true;
// debugger;
// ;
this.essFundService.GetNewInvestmentById(newInvestmentId)
.subscribe(
(x) => {
// debugger;
// ;
// this.newInvestment = x.map(item => {
// return item;
// });
if (x != null) {
debugger;
;
this.newInvestment = x;
this.newInvestmentInBanks = x.newInvestmentInBanks;
}
@ -101,7 +101,7 @@ export class InvestmentApprovalPageComponent implements OnInit {
}
onApprove() {
// debugger;
// ;
this.loadingPanel.ShowLoadingPanel = true;
if (this.selectedApprover == 1 && this.newInvestment.approverOneDate == null) {
this.newInvestment.approverOneDate = new Date();

View File

@ -400,7 +400,7 @@ export class LoanApplyPageComponent implements OnInit {
}
loadDashboardMemberData() {
debugger
this.dashboardMemberData.auditedOwnBalance = (this.dashboardMemberData.auditedOwnBalance == undefined) ? 0 : this.dashboardMemberData.auditedOwnBalance;
this.dashboardMemberData.auditedCompanyBalance = (this.dashboardMemberData.auditedCompanyBalance == undefined) ? 0 : this.dashboardMemberData.auditedCompanyBalance;
this.dashboardMemberData.unAuditedOwnBalance = (this.dashboardMemberData.unAuditedOwnBalance == undefined) ? 0 : this.dashboardMemberData.unAuditedOwnBalance;
@ -592,7 +592,7 @@ export class LoanApplyPageComponent implements OnInit {
element.click();
}
onClickRemove(dataItem: any) {
// debugger;
// ;
const indexA = this.gridData.data.findIndex(item => item.name === dataItem.name);
const indexB = this.loanApplication.loanAttachments.findIndex(item => item.fileName === dataItem.name);
// const indexC= this.event.target.files.findIndex(item => item.fileName === dataItem.name);
@ -609,7 +609,7 @@ export class LoanApplyPageComponent implements OnInit {
}
uploadFiles() {
debugger;
;
// this.loanApplication.loanAttachments = [];
for (let i = 0; i < this.fileNamesArray.length; i++) {
this.currentFileName = this.fileNamesArray[i];

View File

@ -157,7 +157,7 @@ export class LoanApprovePageComponent implements OnInit {
(resp: any) => {
console.log("WFTran : " + resp);
this._wfTran = resp;
debugger;
;
},
(err: any) => {
},
@ -415,7 +415,7 @@ export class LoanApprovePageComponent implements OnInit {
this.dashboardMemberData.unAuditedOwnBalance = (this.dashboardMemberData.unAuditedOwnBalance == undefined) ? 0 : this.dashboardMemberData.unAuditedOwnBalance;
this.dashboardMemberData.unAuditedCompanyBalance = (this.dashboardMemberData.unAuditedCompanyBalance == undefined) ? 0 : this.dashboardMemberData.unAuditedCompanyBalance;
// debugger;
// ;
this.ownBalanceTotal = this.dashboardMemberData.auditedOwnBalance + this.dashboardMemberData.unAuditedOwnBalance;
this.companyBalanceTotal = this.dashboardMemberData.auditedCompanyBalance + this.dashboardMemberData.unAuditedCompanyBalance;
@ -464,13 +464,13 @@ export class LoanApprovePageComponent implements OnInit {
}
public getLoanApplication(loanAppID: number) {
//debugger;
//;
this.loadingPanel.ShowLoadingPanel = true;
this.essFundService.GetLoanAppById(loanAppID)
.subscribe(
(x) => {
this.loanApplication = x;
debugger;
;
},
(x) => {
this.notificationService.showError(x.error);
@ -505,13 +505,13 @@ export class LoanApprovePageComponent implements OnInit {
}
getSelectedApprover() {
debugger
this.essFundService.GetSelectedApproverForLoanApplication(this.loanApplication.loanAppID)
.subscribe(
(x) => {
// debugger;
// ;
if (x != 0) {
// debugger;
// ;
this.selectedApprover = x;
}
},
@ -524,7 +524,7 @@ export class LoanApprovePageComponent implements OnInit {
});
}
isRejected() {
// debugger;
// ;
this.enableSubmitButton = false;
this.loadingPanel.ShowLoadingPanel = true;
this.loanApplication.isRejected = true;
@ -593,7 +593,7 @@ export class LoanApprovePageComponent implements OnInit {
}
downloadForm() {
// debugger;
// ;
const data = {
itemid: this.loanApplication.loanAppID,
reportid: this.reportType,

View File

@ -92,7 +92,7 @@ export class LoanEarlySettlementComponent implements OnInit {
}
public getLoans(loanID: number) {
debugger;
;
this.loadingPanel.ShowLoadingPanel = true;
this.essFundService.GetLoansById(loanID)
.subscribe(
@ -204,12 +204,12 @@ export class LoanEarlySettlementComponent implements OnInit {
});
}
onClose(){
debugger;
;
this.saveHandler.emit(undefined);
}
selectFile(e: any) {
debugger;
;
console.log('File selected', e);
var selectedFiles = e.target.files;
this.currentFile = selectedFiles[0];
@ -224,7 +224,7 @@ export class LoanEarlySettlementComponent implements OnInit {
this.getBase64(selectedFiles[0]).then(
data => {
console.log(data);
debugger;
;
this.currentFileTobase64 = data.toString();
let arr = this.currentFileName.split(".");
this.currentExtName = arr[1];

View File

@ -238,12 +238,12 @@ export class LoanMasterPageComponent implements OnInit {
}
getLoanApplications() {
debugger;
;
this.loadingPanel.ShowLoadingPanel = true;
this.essFundService.GetLoanApps()
.subscribe(
(x) => {
debugger;
;
this.loanApplications = x;
if (this.loanApplications.length > 0) {
this.loanApplications.forEach(item =>{
@ -348,7 +348,7 @@ export class LoanMasterPageComponent implements OnInit {
showLoanSchedule(item: any) {
this.essFundService.GetLoanByID(item.loanAppID).subscribe(
(resp) =>{
debugger
this._loan = resp
},(x)=>{
this.notificationService.showError(x.error)
@ -394,7 +394,7 @@ export class LoanMasterPageComponent implements OnInit {
this.viewEarlySettleConfirmation = false;
}
onRequestSettlementClick(dataItem: any){
debugger;
;
this.isRequestSettlementClick=true;
this._selectedLoanAppID = dataItem.loanAppID;
if(dataItem.settleStatusString == "Checked")

View File

@ -51,7 +51,7 @@ export class MemberBalanceLedgerComponent implements OnInit {
src: any;
ngOnInit(): void {
// debugger;
// ;
this.dtpFromDate = new Date(this.currentDate.getFullYear(), this.currentDate.getMonth(), 1);
this.lastDayOfMonth = new Date(this.currentDate.getFullYear(), this.currentDate.getMonth() + 1, 0);
this.dtpToDate = new Date(
@ -102,7 +102,7 @@ export class MemberBalanceLedgerComponent implements OnInit {
},
() => {
// debugger;
// ;
this.gridData.forEach(item => {
this.grandTotal += item.total;
});

View File

@ -53,7 +53,7 @@ export class PfBalancePageComponent implements OnInit {
}
fillGrid() {
// debugger;
// ;
this.pfBalanceTable = [
{ particulars: 'Opening Balance :', amount: null, makeBold: true },
// { particulars: 'Own Contribution (Including Interest) as on ' + this.lastAuditDateString + '- Audited balance', amount: this.pfMemberData.auditedOwnBalance, makeBold: false },
@ -71,7 +71,7 @@ export class PfBalancePageComponent implements OnInit {
this.loadingPanel.ShowLoadingPanel = true;
this.essFundService.GetMemberLastAuditDate().subscribe(
(resp) => {
// debugger;
// ;
this.lastAuditDate = resp;
this.FormatDate(this.lastAuditDate);
},
@ -108,7 +108,7 @@ export class PfBalancePageComponent implements OnInit {
this.pfMemberData.unAuditedOwnBalance = (this.pfMemberData.unAuditedOwnBalance == undefined) ? 0 : this.pfMemberData.unAuditedOwnBalance;
this.pfMemberData.unAuditedCompanyBalance = (this.pfMemberData.unAuditedCompanyBalance == undefined) ? 0 : this.pfMemberData.unAuditedCompanyBalance;
// debugger;
// ;
this.ownBalanceTotal = this.pfMemberData.auditedOwnBalance + this.pfMemberData.unAuditedOwnBalance;
this.companyBalanceTotal = this.pfMemberData.auditedCompanyBalance + this.pfMemberData.unAuditedCompanyBalance;
this.totalBalance = this.ownBalanceTotal + this.companyBalanceTotal;

View File

@ -38,7 +38,7 @@ export class PfDepositApprovalComponent implements OnInit {
ngOnInit(): void {
this.loadingPanelService.ShowLoadingPanel = true;
// debugger;
// ;
this.pFDepositFlow = new PFDepositFlow();
this.route.params.subscribe(params => {
if(params['pfDepositFlowId']>-1){
@ -50,7 +50,7 @@ export class PfDepositApprovalComponent implements OnInit {
public RefreshData() {
this.loadingPanelService.ShowLoadingPanel = true;
debugger;
;
this.pfDepositFlowId = this.pfDepositFlowId;
this.essFundService.GetPFDepositFlow(this.pfDepositFlowId)
.subscribe(
@ -75,7 +75,7 @@ export class PfDepositApprovalComponent implements OnInit {
}
updatePfDeposit() {
// debugger;
// ;
this.loadingPanelService.ShowLoadingPanel = true;
window.scrollTo(0, 0);
@ -105,7 +105,7 @@ export class PfDepositApprovalComponent implements OnInit {
//LoanApproveFlow Grid
// pfDepositFlowGrid() {
// //debugger;
// //;
// this.pfDepositFlowGridData = [
// {
// receivedBy: this.pFDepositFlow.checkedBy,
@ -121,19 +121,19 @@ export class PfDepositApprovalComponent implements OnInit {
// }
pfDepositFlowGrid() {
debugger;
;
// const approverString: string = this.pFDepositFlow.checkedBy + ',' + this.pFDepositFlow.approvedBy;
this.essFundService.getApproversForPfDepositApproval().subscribe(
(resp) => {
debugger;
;
this._approvers = resp;
},
(x) => {
console.log(x);
},
() => {
debugger;
;
// if (this._approvers.length == 2) {
this.pfDepositFlowGridData = [
{

View File

@ -67,19 +67,19 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
}
ngOnInit(): void {
debugger
this.pFWithdrawalRequest = new PFWithdrawalRequest();
const tranid = this.datatransferservice.getData();
this.wfService.getWFMovementTranById(tranid).subscribe(
(resp: any) => {
console.log("WFTran : " + resp);
this._wfTran = resp;
debugger;
;
},
(err: any) => {
},
() => {
debugger;
;
this.getPFWithdrawalRequest(this._wfTran.objectID);
this.flowHistory(tranid);
}
@ -88,7 +88,7 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
public getPFWithdrawalRequest(pFWithdrawalRequestID: number) {
debugger;
;
this.loadingPanel.ShowLoadingPanel = true;
this.essFundService.getPFWithdrawalRequest(pFWithdrawalRequestID)
.subscribe(
@ -112,7 +112,7 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
});
}
flowHistory(tranid: number) {
debugger;
;
this.wfService.getFlowHistorybyTranID(tranid).subscribe(
(resp: any) => {
this._wfFlowHistories = resp;
@ -129,31 +129,31 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
}
loadDashboardMemberData() {
debugger;
;
this.essFundService.GetDashboardData(this.pFWithdrawalRequest.requestMemberID).subscribe(
(resp) => {
debugger;
;
this.pfWithdrawalData = resp[0];
},
(x) => {
console.log(x);
},
() => {
//debugger;
//;
},
);
}
loadData() {
this.loadingPanel.ShowLoadingPanel = true;
debugger;
;
this.essFundService.GetPFWithdrawalGrid(this.pFWithdrawalRequest.requestMemberID)
.subscribe(
(x) => {
debugger;
;
this.pfWithdrawalGrid = x;
this.disableSubmitButton = (this.pfWithdrawalGrid[0].isRequestPending == true) ? true : false;
// debugger;
// ;
// this.pfWithdrawalGrid = x.map(item => {
// return item;
// });
@ -186,7 +186,7 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
}
viewPDF() {
debugger;
;
this.showReportPopUp = true;
this.loadingPanel.ShowLoadingPanel = true;
this.PDFTitle = this.pFWithdrawalRequestAttachment.fileName;
@ -234,9 +234,9 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
this.essFundService.GetSelectedApproverForPfMembershipWithdrawal()
.subscribe(
(x) => {
// debugger;
// ;
if (x != 0) {
debugger;
;
this.selectedApprover = x;
}
},
@ -255,7 +255,7 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
// }
isRejected() {
// debugger;
// ;
// this.enableSubmitButton = false;
// this.loadingPanel.ShowLoadingPanel = true;
// this.pFWithdrawalRequest.isRejected = true;
@ -316,7 +316,7 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
}
// save() {
// debugger;
// ;
// this.enableSubmitButton=false;
// this.loadingPanel.ShowLoadingPanel = true;
// window.scrollTo(0, 0);
@ -357,7 +357,7 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
// // this.loanApplication.trusteesApproveDate = new Date();
// this.pFWithdrawalRequest.secondTrusteesApproveRemarks = this.approveRemarks;
// // debugger;
// // ;
// this.essFundService.updatePfMembershipWithdrawalApproveBySecondTrustees(this.pFWithdrawalRequest).subscribe(
// (resp: any) => {
// },
@ -383,7 +383,7 @@ export class PfMembershipWithdrawalApprovalPageComponent implements OnInit {
getLastDateOfNextYear(date: Date): Date {
// debugger;
// ;
const now = date;
const nextYear = now.getFullYear() + 1;
const firstDayOfNextYear = new Date(nextYear, 0, 1);

View File

@ -90,7 +90,7 @@ deposit(){
() => {
this.PFWithdrawalRequestList.forEach(element => {
debugger
if(element.wfStatus != EnumPFWithdrawalStatus.Settled && element.wfStatus != EnumPFWithdrawalStatus.Rejected && this.disableApplyButton == false){
this.disableApplyButton = true;
}
@ -101,7 +101,7 @@ deposit(){
}
downloadPdf() {
debugger
this.loadingPanel.ShowLoadingPanel = true;
let link = document.createElement("a");
@ -169,7 +169,7 @@ b64toBlob(b64Data, contentType, sliceSize) {
getWFStatus(wfstatus:number):string {
var svalue:string="";
debugger
if(wfstatus == EnumPFWithdrawalStatus.Submitted){
svalue ="Submitded & Waiting for approval";
}

View File

@ -74,7 +74,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
}
ngOnInit(): void {
debugger;
;
const state = window.history.state;
if (state?.PFWithDrawalRequest) {
this.pFWithdrawalRequest = state.PFWithDrawalRequest;
@ -122,7 +122,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
}
refreshPage() {
debugger;
;
if(this.pFWithdrawalRequest != null) {
this.check();
}else{
@ -135,14 +135,14 @@ export class PfMembershipWithdrawalComponent implements OnInit {
loadDashboardMemberData() {
this.essFundService.GetDashboardData(-1).subscribe(
(resp) => {
//debugger;
//;
this.pfWithdrawalData = resp[0];
},
(x) => {
console.log(x);
},
() => {
//debugger;
//;
},
);
}
@ -153,7 +153,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
this.essFundService.GetPFWithdrawalGrid(-1)
.subscribe(
(x) => {
debugger
this.pfWithdrawalGrid = x;
//this.disableSubmitButton = (this.pfWithdrawalGrid[0].isRequestPending == true) ? true : false;
},
@ -192,7 +192,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
});
}
check(){
debugger
// this.discontinueDate = (this.pFWithdrawalRequest.status == EnumPFWithdrawalStatus.Confirmed) ?
// new Date() : new Date(this.pFWithdrawalRequest.discontinueDate); //error because this status datatype is EnumStatus not EnumPFWithdrawalStatus, so solve this
@ -302,7 +302,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
}
onConfirm() {
debugger
this.viewPFConfirmation = false;
this.isConfirmed = true;
// this.viewPFReInitiateConfirmation = true;
@ -414,7 +414,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
}
// selectFile(e: any) {
// debugger;
// ;
// console.log('File selected', e);
// var selectedFiles = e.target.files;
// this.currentFile = selectedFiles[0];
@ -428,7 +428,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
// this.getBase64(selectedFiles[0]).then(
// data => {
// console.log(data);
// // debugger;
// // ;
// this.currentFileTobase64 = data.toString();
// let arr = this.currentFileName.split(".");
// this.currentExtName = arr[1];
@ -462,7 +462,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
// }
// }
selectFile(e: any) {
debugger;
;
console.log('File selected', e);
var selectedFiles = e.target.files;
this.currentFile = selectedFiles[0];
@ -475,7 +475,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
this.getBase64(selectedFiles[0]).then(
data => {
console.log(data);
debugger;
;
this.currentFileTobase64 = data.toString();
let arr = this.currentFileName.split(".");
this.currentExtName = arr[1];
@ -488,7 +488,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
}
);
debugger;
;
}
} else {
@ -534,7 +534,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
this.loadingPanel.ShowLoadingPanel = false;
}
downloadPdf() {
debugger
this.loadingPanel.ShowLoadingPanel = true;
let link = document.createElement("a");
@ -571,7 +571,7 @@ export class PfMembershipWithdrawalComponent implements OnInit {
}
getLastDateOfNextYear(date: Date): Date {
debugger;
;
const now = date;
const nextYear = now.getFullYear() + 1;
const firstDayOfNextYear = new Date(nextYear, 0, 1);

View File

@ -128,7 +128,7 @@ var AttendanceRegularizeApproveDetailsComponent = function () {
AttendanceRegularizeApproveDetailsComponent_1.prototype.editHandler = function (_a) {
var dataItem = _a.dataItem;
var item = dataItem;
debugger;
;
if (item.lmRemarks == undefined || item.lmRemarks == '') {
this.notificationService.showWarning("Please Enter Comments");
return;

View File

@ -105,7 +105,7 @@ export class AttendanceRegularizeApproveDetailsComponent implements OnInit {
editHandler({ dataItem }) {
var item: DailyAttnProcess = dataItem;
debugger;
;
if (item.lmRemarks == undefined || item.lmRemarks == '') {
this.notificationService.showWarning("Please Enter Comments")

View File

@ -153,10 +153,10 @@ export class CordinatorDashboardComponent {
}
public ngOnInit(): void {
debugger;
;
this.loadData();
this.findCalenderData(new Date());
debugger;
;
var date = new Date();
this.fromDate = new Date(date.getFullYear(), date.getMonth(), 1);
this.toDate = new Date(date.getFullYear(), date.getMonth() + 1, 0);
@ -179,7 +179,7 @@ export class CordinatorDashboardComponent {
this.empService.GetEmployeeByCoordinatorID().subscribe(
(resp: any) => {
this._myteam = resp;
debugger;
;
},
(err: any) => {
},
@ -254,7 +254,7 @@ export class CordinatorDashboardComponent {
this.events = this.scheduleData;
console.log(this.events);
debugger;
;
this.cd.detectChanges();
}
}
@ -283,7 +283,7 @@ export class CordinatorDashboardComponent {
this.absentChartData = res5;
this.absentChartData = this.absentChartData.slice(0, 5);
// console.log(this.absentChartData);
// debugger;
// ;
},
(x) => {
this.notificationService.showError(x.error);
@ -308,7 +308,7 @@ export class CordinatorDashboardComponent {
empSL: this.getServiceLenth(item.empDOJ) + ' years'
}));
console.log(this.empExcelData);
debugger;
;
}
public getServiceLenth(joiningDate: Date): number {
@ -328,7 +328,7 @@ export class CordinatorDashboardComponent {
TeamLeaveBalance(nIndex: number) {
debugger;
;
this.datatransferservice.setData(this._myteam[nIndex]['id']);
this.router.navigateByUrl('/ess/leave/leave-balance?balanceFor=team');
@ -435,7 +435,7 @@ export class CordinatorDashboardComponent {
searchedEmpId: number;
public loadEmpLeaveHistory(empid: number) {
console.log(this.selectedRow);
debugger;
;
/* this.loadingPanel.ShowLoadingPanel = true;*/
this.searchedEmpId = empid;
this.leaveHistoryopened = true;
@ -487,7 +487,7 @@ export class CordinatorDashboardComponent {
this.datatransferservice.setData(this._leavetypes);
this._leaveEntry.searchEmployee = this._myteam[nIndex];
this._leaveEntry.leaveYearId = this._leaveYear.id;
debugger;
;
this._leaveEntry.empID = this._myteam[nIndex]['id'];
this.showModal = true;
this.isNew = true;
@ -538,7 +538,7 @@ export class CordinatorDashboardComponent {
this.empService.GetEmployeeByCoordinatorID().subscribe(
(resp: any) => {
employees = resp;
debugger;
;
},
(err: any) => {
console.log(err);

View File

@ -296,7 +296,7 @@ export class EssDashboardComponent implements OnInit {
this.attnService.getupcommingNationalHoliday(new Date()).subscribe(
(resp) => {
this._holidays = resp;
// debugger;
// ;
},
() => {
},
@ -418,7 +418,7 @@ export class EssDashboardComponent implements OnInit {
// const param: any = { userid: 76 };
// let currentuser = this.user.getcurrentUser();
// const param: any = { userid: currentuser.id };
debugger;
;
const jwtHelper = new JwtHelperService();
const user = jwtHelper.decodeToken(localStorage.getItem('token'));
this.appMain.IsSelfService();
@ -590,7 +590,7 @@ export class EssDashboardComponent implements OnInit {
//}
ApprovePendingJob(dataItem: PendingJobDTO) {
debugger;
;
this.dataTransferService.setData(dataItem.id);
this.router.navigateByUrl(dataItem.link);
}
@ -612,7 +612,7 @@ export class EssDashboardComponent implements OnInit {
loadAttnRemove() {
this.employeeService.getDashboardAttnPermission().subscribe(
(resp) => {
// debugger;
// ;
this.isAttnRemove = resp;
},
(x) => {

View File

@ -188,7 +188,7 @@ export class EssTrainingCalenderComponent implements OnInit {
this.findCalenderData();
// if (this.trainingScheduleList.length > 0) {
// debugger
//
// this.numofScroll = Math.ceil(this.trainingScheduleList.length/3);
// }
});
@ -232,7 +232,7 @@ export class EssTrainingCalenderComponent implements OnInit {
}
public onClickSchedule(data: TrainingSchedule) {
// debugger;
// ;
// this.loggedInEmployee;
//let foundEmp = false;
//data.enrolledTrainingEmployees.forEach(e => {

View File

@ -74,7 +74,7 @@ export class EssTrainingScheduleComponent implements OnInit {
ngOnInit(): void {
if (this.datatransferservice.getData() != undefined) {
let data = this.datatransferservice.getData();
debugger;
;
this.loggedInEmployee = data.loggedInEmployee;
this.trainingSchedule = data.trainingSchedule;
this.getmyStatus(this.trainingSchedule);
@ -130,7 +130,7 @@ export class EssTrainingScheduleComponent implements OnInit {
},
() => {
debugger;
;
this.trainingSchedule.trainingScheduleDates.forEach(
tsd => {
this.trainingScheduleAttn.forEach(tsa => {
@ -164,7 +164,7 @@ export class EssTrainingScheduleComponent implements OnInit {
}
public doAttendance(value: any, data: TrainingScheduleDate) {
debugger;
;
let trainingScheduleAttn: TrainingScheduleAttn = new TrainingScheduleAttn();
trainingScheduleAttn.trainingScheduleID = this.trainingSchedule.id;
trainingScheduleAttn.tsDateID = data.id;
@ -178,7 +178,7 @@ export class EssTrainingScheduleComponent implements OnInit {
},
() => {
debugger;
;
this.trainingSchedule.trainingScheduleDates.forEach(
tsd => {
this.trainingScheduleAttn.forEach(tsa => {

View File

@ -67,7 +67,7 @@ export class MemberBalanceLedgerComponent implements OnInit {
}
loadData() {
debugger
this.loadingPanel.ShowLoadingPanel = true;
this.grandTotal = 0;
this.gridData = [];
@ -90,7 +90,7 @@ export class MemberBalanceLedgerComponent implements OnInit {
},
() => {
debugger;
;
this.gridData.forEach(item => {
this.grandTotal += item.total;
});
@ -118,7 +118,7 @@ preview(reportType: string) {
// this.src = URL.createObjectURL(this.b64toBlob(resp, 'application/pdf', 1024));
// var element = <HTMLIFrameElement>(document.getElementById("pdf-viewer"));
// element.src = this.src;
// debugger;
// ;
// let blob = new Blob([this.b64toBlob(resp, 'application/pdf;base64', 1024)], {});
this.src = URL.createObjectURL(this.b64toBlob(resp, 'data:application/pdf;base64', 1024));
saveAs(this.src, 'Monthly PF Ledger '+ this.employeeNo + '.pdf');

View File

@ -80,7 +80,7 @@ export class PfExceptionComponent implements OnInit {
loadPFExceptionEmployee(){
this.loadingPanel.ShowLoadingPanel=true;
this.employeeService.getPFExceptionData().subscribe((resp)=>{
debugger;
;
this.PFExceptionList = resp;
},
(err)=>{
@ -100,9 +100,9 @@ export class PfExceptionComponent implements OnInit {
const data ={
employeeID: this.selectedEmployee.employeeID,
}
debugger;
;
this.employeeService.getEmployeeByID(this.selectedEmployee.employeeID).subscribe((resp)=>{
debugger;
;
this.employeeInformation = resp;
},(err)=>{
this.loadingPanel.ShowLoadingPanel=false;
@ -170,7 +170,7 @@ export class PfExceptionComponent implements OnInit {
}
}
preview(reportType: string) {
debugger;
;
if(this.PFExceptionList.length <=0){
this.notificctionService.showWarning("There is no data!","Warning");
return;
@ -189,7 +189,7 @@ export class PfExceptionComponent implements OnInit {
this.loadingPanel.ShowLoadingPanel = true;
this.reportService.getPFExceptionReport(data).subscribe(
(resp: any) => {
debugger;
;
if (reportType === 'PDF'){
this.src = URL.createObjectURL(this.b64toBlob(resp, 'application/pdf', 1024));
var element = <HTMLIFrameElement>(document.getElementById("pdf-viewer-pf-exception"));
@ -241,7 +241,7 @@ closeForm(): void {
}
editHandler({dataItem}){
debugger;
;
var button = document.getElementById('addOrUpdate');
button.textContent = 'Update';
this.PFExceptionID=dataItem.id;
@ -263,7 +263,7 @@ closeForm(): void {
}
}
removeHandler({dataItem}){
debugger;
;
this.loadingPanel.ShowLoadingPanel=true;
const id = dataItem.id as number;
this.employeeService.deletePFExceptionById(id).subscribe(()=>{
@ -279,7 +279,7 @@ closeForm(): void {
}
changeCheckbox(selectCheckbox:Number){
debugger;
;
if(selectCheckbox==1){
this.isEpfAmount=false
this.epfAmount=null;

View File

@ -117,7 +117,7 @@ export class IndependentDevelopmentPlanComponent {
}
ngOnInit(): void {
// debugger;
// ;
this.hrefpublish = this.router.url;
this.pmpUser = this.router.url.split('/').pop();
if (this.pmpUser !== undefined) {
@ -197,7 +197,7 @@ export class IndependentDevelopmentPlanComponent {
);
}
LoadObjectiveSetForIDPLineManager() {
// debugger;
// ;
if (this.selectedPMPYearID === undefined || this.selectedPMPYearID === null || this.selectedPMPYearID <= 0) {
this.notificationService.showInfo("Please select PMS Year");
return;
@ -451,7 +451,7 @@ export class IndependentDevelopmentPlanComponent {
}
editDevelopmentPlan(dataItem) {
// debugger;
// ;
this.needTypes = EnumExtension.getNamesAndValues(EnumNeedType);
this.isDisplayDevelopmentPlan = true;
this.traningNeedAnalysis = dataItem;
@ -470,7 +470,7 @@ export class IndependentDevelopmentPlanComponent {
this.loadTrainingTypes();
}
// getDisabled(): boolean {
// //debugger;
// //;
// if (!this.isEmployee) {
// return true;
// } else {
@ -626,7 +626,7 @@ export class IndependentDevelopmentPlanComponent {
return '';
}
onPMPYearChange() {
// debugger;
// ;
this.selectedYear = this.PMPProcess.find(p => p.id === this.selectedPMPYearID);
this.LoadObjectiveSetForIDPLineManager();
}
@ -658,7 +658,7 @@ export class IndependentDevelopmentPlanComponent {
}
onTabSelect(event: any) {
// debugger;
// ;
if (event.index === 0) {
this.showSubmitButton = true;
}
@ -724,7 +724,7 @@ export class IndependentDevelopmentPlanComponent {
.getObjectiveListByEmployeeId(this.selectedPMPYearID, this.selectedObjectiveSet.employeeid)
.subscribe(
(resp) => {
// debugger
//
this.objectiveList = resp.filter(element => element.objectiveStatus != EnumObjectiveStatus.Removed);
this.deletedObjectives = resp.filter(element => element.objectiveStatus == EnumObjectiveStatus.Removed);
@ -734,7 +734,7 @@ export class IndependentDevelopmentPlanComponent {
this.notificationService.showError(x.error);
},
() => {
// debugger
//
this.objectiveList.forEach((x) => {
x.objectiveTypeView = this.objectiveTypeList.filter(
(n) => n.id === x.objectiveType
@ -775,7 +775,7 @@ export class IndependentDevelopmentPlanComponent {
onReportView(dataItem: any) {
// debugger;
// ;
var reportType = 'PDF';
this.showPopUpReport = true;
const data = {
@ -786,7 +786,7 @@ export class IndependentDevelopmentPlanComponent {
}
this.reportService.getIDPReportData(data).subscribe(
(resp: any) => {
// debugger;
// ;
if (reportType === 'PDF') {
this.src = URL.createObjectURL(this.b64toBlob(resp, 'application/pdf', 1024));
var element = <HTMLIFrameElement>(document.getElementById("pdf-viewer"));
@ -858,7 +858,7 @@ export class IndependentDevelopmentPlanComponent {
return false;
}
getIdpEditButtonVisibility(dataItem) {
// debugger;
// ;
if (this.isEmployee && this.selectedObjectiveSet.idpEmployeeStatus == enumIDPStatus.Submitted && this.selectedObjectiveSet.idplmStatus == null) {
return true;
}
@ -888,7 +888,7 @@ export class IndependentDevelopmentPlanComponent {
}
UpdateRemarks() {
// debugger;
// ;
this.loadingPanel.ShowLoadingPanel = true;
this.pmpService.UpdateLineManagerRemarks(this.selectedObjectiveSet.objectivesetid, this.selectedObjectiveSet.idplmRemarks).subscribe(
(resp) => {

View File

@ -1,96 +1,55 @@
<app-loading-panel></app-loading-panel>
<div class="grid">
<div class="col-12 md:col-4 lg:col-4">
<kendo-card width="100%" class="k-card-body-landing-page dashboard-card shadow" style="padding:0;height: 100%;">
<kendo-card-body style="padding-bottom: 15px; ">
<div class="grid">
<div class="lg:col-3 md:col-4 col-12" style="text-align:center; padding-right:0;">
<img alt="profilePicture" height="60" id="imgProfilePicture"
src="assets/photos/profile-default.jpg" style="border-radius: 50%; border-color: var(--gh-btn)"
width="60" />
</div>
<div class="lg:col-9 md:col-8 col-12 emp-name-no" style="padding-left:5px; padding-top:8px;">
<div class="emp-name">
{{employee?.name}}
<!-- <button kendoTooltip style="float: right; margin-right: 10px;" kendoButton title="Change Password" [routerLink]="'/authentication/change-password'"><i class="pi pi-key"></i></button>-->
<button kendoTooltip (click)="switchUser()" style="float: right; margin-right: 10px;"
kendoButton title="Swith to ESS"><i style="transform: rotate(90deg)"
class="pi pi-sort-alt"></i></button>
</div>
<div style="font-size:14px; margin-bottom: 5px;">{{employee?.loginId}}</div>
<!-- <app-switchAcessType></app-switchAcessType> -->
<!--<a style="color: var(--gh-dn); text-decoration: underline" [routerLink]="'/ess/self-profile'">Your Profile is {{employee?.profileCompletionPercent}}% Complete</a>-->
</div>
<!-- Profile card: palette banner, avatar, name, then label/value rows. Same data and actions as before. -->
<kendo-card width="100%" class="k-card-body-landing-page dashboard-card shadow lp-profile-card" style="padding:0;height: 100%;">
<kendo-card-body class="lp-profile">
<div class="lp-profile__banner"></div>
<div class="lp-profile__head">
<img alt="profilePicture" id="imgProfilePicture" class="lp-profile__avatar"
src="assets/photos/profile-default.jpg" width="76" height="76" />
<div class="lp-profile__identity">
<div class="lp-profile__name" [title]="employee?.name || ''">{{employee?.name}}</div>
<div class="lp-profile__login">{{employee?.loginId}}</div>
</div>
<div style="margin: 5px; font-size: 12px;">
<div class="profile-info-div" style="width: 90%">
<div class="lg:col-12 md:col-12 col-12"
style="padding: 0 0 0 0 ; border-bottom: 2px solid var(--gh-bo);">
<span style="font-weight: 600; color: var(--gh-ht)">Designation</span> {{employee?.designation}}
</div>
<!--<div class="lg:col-12 md:col-12 col-12" style="padding: 5px 0 5px 7px; border-bottom: 2px solid var(--gh-bo) ">
{{employee?.designationName}}
</div>-->
</div>
<div class="profile-info-div" style="width: 90%;">
<div class="lg:col-12 md:col-12 col-12"
style="padding: 0 0 0 0 ; border-bottom: 2px solid var(--gh-bo);">
<span style="font-weight: 600; color: var(--gh-ht)">Division</span> {{employee?.division}}
</div>
<!--<div class="lg:col-12 md:col-12 col-12" style="padding: 5px 0 5px 7px; border-bottom: 2px solid var(--gh-bo) ">
{{employee?.departmentName}}
</div>-->
<button kendoTooltip kendoButton class="lp-profile__switch" title="Swith to ESS" (click)="switchUser()"
style="width:34px !important;height:34px !important;min-width:34px !important;min-height:34px !important;padding:0 !important;border-radius:50% !important;">
<i class="pi pi-sort-alt" style="transform: rotate(90deg)"></i>
</button>
</div>
<div class="profile-info-div" style="width: 90%;">
<div class="lg:col-12 md:col-12 col-12"
style="padding: 0 0 0 0 ; border-bottom: 2px solid var(--gh-bo);">
<span style="font-weight: 600; color: var(--gh-ht)">Department</span> {{employee?.department}}
<dl class="lp-profile__details">
<div class="lp-profile__row">
<dt><i class="pi pi-briefcase"></i>Designation</dt>
<dd>{{employee?.designation}}</dd>
</div>
<!--<div class="lg:col-12 md:col-12 col-12" style="padding: 5px 0 5px 7px; border-bottom: 2px solid var(--gh-bo) ">
{{employee?.departmentName}}
</div>-->
</div>
<div class="lp-profile__row">
<dt><i class="pi pi-sitemap"></i>Division</dt>
<dd>{{employee?.division}}</dd>
</div>
<div class="lp-profile__row">
<dt><i class="pi pi-building"></i>Department</dt>
<dd>{{employee?.department}}</dd>
</div>
<div class="lp-profile__row">
<dt><i class="pi pi-calendar"></i>Joining Date</dt>
<dd>{{ $safeNavigationMigration(employee?.joiningDate) | date: 'MMM dd, yyyy' }}</dd>
</div>
<div class="lp-profile__row">
<dt><i class="pi pi-user"></i>Line Manager</dt>
<dd>{{employee?.lineManager}}</dd>
</div>
</dl>
<div class="profile-info-div" style="width: 90%;">
<div class="lg:col-12 md:col-12 col-12"
style="padding: 0 0 0 0 ; border-bottom: 2px solid var(--gh-bo);">
<span style="font-weight: 600; color: var(--gh-ht)">Joining Date</span> {{
$safeNavigationMigration(employee?.joiningDate) |
date: 'MMM dd, yyyy'
}}
</div>
<!--<div class="lg:col-12 md:col-12 col-12" style="padding: 5px 0 5px 7px; border-bottom: 2px solid var(--gh-bo) ">
{{employee.joiningDate | date: 'MMM dd, yyyy' }}
</div>-->
</div>
<div class="profile-info-div" style="width: 90%;">
<div class="lg:col-12 md:col-12 col-12"
style="padding: 0 0 0 0 ; border-bottom: 2px solid var(--gh-bo);">
<span style="font-weight: 600; color: var(--gh-ht)">Line Manager</span> {{employee?.lineManager}}
</div>
<!--<div class="lg:col-12 md:col-12 col-12" style="padding: 5px 0 5px 7px; border-bottom: 2px solid var(--gh-bo) ">
{{employee.joiningDate | date: 'MMM dd, yyyy' }}
</div>-->
</div>
<div class="profile-info-div" style="width: 90%;">
<div class="lg:col-12 md:col-12 col-12"
style="padding: 0 0 0 0 ;">
@if (payrolltypeString.length > 0) {
<span class="payroll-access">
<a (click)="showSwitchPoUp()" class="access-link">
Access Type: {{ payrolltypeString }}
@if (payrolltypeString.length > 0) {
<a (click)="showSwitchPoUp()" class="lp-profile__access" title="Change access type">
<i class="pi pi-th-large"></i>
<span>Access Type: <strong>{{ payrolltypeString }}</strong></span>
<i class="pi pi-angle-right lp-profile__access-go"></i>
</a>
</span>
}
</div>
</div>
</div>
</kendo-card-body>
</kendo-card>
}
</kendo-card-body>
</kendo-card>
</div>
<div class="col-12 md:col-4 lg:col-4">
<kendo-card width="100%" class="shadow" style="padding:0;height: 100%;">

View File

@ -158,3 +158,168 @@ table.k-content.k-calendar-content.k-calendar-table.ng-star-inserted {
height: 100%;
padding: 0;
}
/* ---------- Profile card (first card) — every colour comes from the GoHR palette ---------- */
.lp-profile-card {
overflow: hidden;
border-radius: 12px !important;
border: 1px solid var(--gh-bo) !important;
background: var(--gh-tb);
}
.lp-profile {
position: relative;
display: flex;
flex-direction: column;
height: 100%;
padding: 0 !important;
}
.lp-profile__banner {
height: 88px;
flex-shrink: 0;
background:
radial-gradient(circle at 85% -20%, color-mix(in srgb, var(--gh-bd) 45%, transparent) 0, transparent 55%),
linear-gradient(135deg, var(--gh-sb) 0%, var(--gh-am) 100%);
}
.lp-profile__head {
display: flex;
align-items: flex-end;
gap: 14px;
padding: 0 20px;
margin-top: -38px;
}
.lp-profile__avatar {
width: 76px;
height: 76px;
flex-shrink: 0;
border-radius: 50%;
object-fit: cover;
background: var(--gh-tb);
border: 4px solid var(--gh-tb);
box-shadow: 0 4px 14px color-mix(in srgb, var(--gh-sb) 25%, transparent);
}
.lp-profile__identity {
flex: 1;
min-width: 0;
padding-bottom: 4px;
}
.lp-profile__name {
font-size: 18px;
font-weight: 700;
line-height: 1.25;
color: var(--gh-ht);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.lp-profile__login {
display: inline-block;
margin-top: 4px;
padding: 1px 10px;
border-radius: 999px;
font-size: 12px;
font-weight: 600;
color: var(--gh-lk);
background: var(--gh-th);
}
.lp-profile__switch {
flex-shrink: 0;
margin-bottom: 6px;
display: inline-flex !important;
align-items: center;
justify-content: center;
background: var(--gh-tb) !important;
border: 1px solid var(--gh-bo2) !important;
color: var(--gh-lk) !important;
box-shadow: 0 2px 6px color-mix(in srgb, var(--gh-sb) 12%, transparent);
transition: background 0.15s, color 0.15s, border-color 0.15s;
i {
font-size: 14px;
color: inherit;
}
&:hover {
background: var(--gh-btn) !important;
border-color: var(--gh-btn) !important;
color: var(--gh-tb) !important;
}
}
.lp-profile__details {
margin: 18px 20px 0;
padding: 0;
}
.lp-profile__row {
display: flex;
align-items: baseline;
gap: 12px;
padding: 11px 0;
border-bottom: 1px solid var(--gh-bo);
&:last-child {
border-bottom: none;
}
dt {
flex: 0 0 132px;
display: flex;
align-items: center;
gap: 8px;
margin: 0;
font-size: 11px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: var(--gh-muted);
i {
font-size: 13px;
color: var(--gh-lk);
}
}
dd {
flex: 1;
min-width: 0;
margin: 0;
font-size: 14px;
font-weight: 600;
color: var(--gh-ht);
overflow-wrap: anywhere;
}
}
.lp-profile__access {
display: flex;
align-items: center;
gap: 10px;
margin: auto 20px 20px;
padding: 10px 14px;
border-radius: 10px;
border: 1px dashed color-mix(in srgb, var(--gh-lk) 45%, transparent);
background: var(--gh-th);
color: var(--gh-lk);
font-size: 13px;
text-decoration: none;
cursor: pointer;
transition: background 0.15s, border-color 0.15s;
strong {
font-weight: 700;
}
> span {
flex: 1;
min-width: 0;
}
&:hover {
background: var(--gh-sel);
border-color: var(--gh-lk);
}
}
.lp-profile__access-go {
font-size: 14px;
}
@media screen and (max-width: 767px) {
.lp-profile__head {
flex-wrap: wrap;
}
.lp-profile__row dt {
flex-basis: 110px;
}
}

View File

@ -510,7 +510,7 @@ export class LandingPageComponent implements OnInit {
if (date) this.expectedApprovalDate = date;
}
setExpectedSalaryDate(): void {
debugger;
;
if (!this.expectedSalaryDate) {
this.notificationService.showError('Please select expected salary date');
return;

View File

@ -71,13 +71,13 @@ export class GatemanApprovalComponent implements OnInit {
}
public loadShortLeaveRecords() {
debugger;
;
const data = {
status: this.selectedStatus.statusValue,
fromDate: this.fromDate,
toDate: this.toDate
};
debugger;
;
if (data.status == undefined || this.selectedStatus == null)
this.notificationService.showError('Select Outgoing Application Status');
@ -87,7 +87,7 @@ export class GatemanApprovalComponent implements OnInit {
(resp) => {
this.gridData = resp;
//console.log(this.gridData);
debugger;
;
},
(err) => {
this.loadingPanel.ShowLoadingPanel = false;
@ -128,12 +128,12 @@ export class GatemanApprovalComponent implements OnInit {
// }
// gatemanEntry(data: any) {
// debugger;
// ;
// this.leaveService.getGatemanEntry(data).subscribe(
// (resp) => {
// this.gridData = resp;
// console.log(this.gridData);
// debugger;
// ;
// },
// (x) => {
// this.loadingPanel.ShowLoadingPanel = false;
@ -197,7 +197,7 @@ export class GatemanApprovalComponent implements OnInit {
}
public formattedTime(date: Date, timeString: string): string {
// debugger;
// ;
if (timeString !== null) {
const dateString = this.datePipe.transform(date, 'yyyy-MM-dd');
const time = new Date(`${dateString}T${timeString}`);
@ -207,7 +207,7 @@ export class GatemanApprovalComponent implements OnInit {
return 'No Return';
}
public InAndOutTime(date: Date, timeString: string): string {
// debugger;
// ;
if (timeString !== null) {
const dateString = this.datePipe.transform(date, 'yyyy-MM-dd');
const time = new Date(`${dateString}T${timeString}`);
@ -228,7 +228,7 @@ export class GatemanApprovalComponent implements OnInit {
// this.onCellClick(dataItem);
// }
public onCellClick(dataItem: any) {
debugger;
;
this.selectedRow = dataItem;
this.loadingPanel.ShowLoadingPanel = true;
this.employeeService.getEmpInfoForGateman(dataItem.employeeID).subscribe(
@ -256,7 +256,7 @@ export class GatemanApprovalComponent implements OnInit {
});
}
public onCellButton(type: string, dataItem: any) {
debugger;
;
// const empid = dataItem.employeeID;
const data = {
employeeid: dataItem.employeeID,

View File

@ -617,7 +617,7 @@ export class LeaveApproveComponent implements OnInit {
leaveType = leaveType || this._leaveType;
leaveStatus = leaveStatus !== undefined ? leaveStatus : this._leaveEntry.leaveStatus;
wfTran.remarks = remarksOverride !== undefined ? remarksOverride : this._remarks;
debugger;
;
if(wfTran.remarks===undefined || wfTran.remarks===''){
return this.notificationService.showWarning('Please Enter Remarks');
}
@ -670,7 +670,7 @@ export class LeaveApproveComponent implements OnInit {
Reject() {
this._wfTran.remarks = this._remarks;
debugger;
;
if(this._wfTran.remarks===undefined || this._wfTran.remarks===''){
return this.notificationService.showWarning('Please Enter Remarks');
}

View File

@ -199,7 +199,7 @@ export class LeaveBalanceProcessComponent implements OnInit {
this.leaveService.GetLeaveBalance(this.leaveYear.id, undefined, this.searchEmployee.employeeID).subscribe(
(x) => {
//debugger;
//;
console.log(x);
this.empLeaveStatuses = x;
},
@ -243,7 +243,7 @@ export class LeaveBalanceProcessComponent implements OnInit {
}
let leave = this.leaves.find(x => x.id == item.leaveID);
if (leave.isSelfCancellation == true) {
//debugger;
//;
var days = (new Date().getTime() - new Date(item.appliedToDate).getTime()) / (1000 * 3600 * 24);
if (days < leave.selfCancellationDays) {

View File

@ -90,7 +90,7 @@ export class LeaveEncashmentComponent implements OnInit {
this.leaveService.getLastLeaveYear().subscribe(
(resp) => {
this.leaveYear = resp;
debugger
if (this.leaveYear.encashmentStartDate != undefined
|| this.leaveYear.encashmentEndDate != undefined) {
if (

Some files were not shown because too many files have changed in this diff Show More