removed unnecessary code

myteam
umasoodch 6 years ago
parent a78477c192
commit 7ecc3e5048

@ -548,7 +548,7 @@ openPeriodDateDashbored() {
}); });
} }
openNotificationsDashbored() { // work list openNotificationsDashbored() {
this.DS.getOpenNotifications(() => { console.log('Error '); }).subscribe((result: GetOpenNotificationsResponse) => { this.DS.getOpenNotifications(() => { console.log('Error '); }).subscribe((result: GetOpenNotificationsResponse) => {
if (this.common.validResponse(result)) { if (this.common.validResponse(result)) {
const key = 'P_OPEN_NTF_NUMBER'; const key = 'P_OPEN_NTF_NUMBER';
@ -560,8 +560,8 @@ openNotificationsDashbored() { // work list
getSubordinatesLeaves() { getSubordinatesLeaves() {
const request: GetSubordinatesLeavesRequest = new GetSubordinatesLeavesRequest(); const request: GetSubordinatesLeavesRequest = new GetSubordinatesLeavesRequest();
request.P_DATE_FROM = '/Date(1578603600000+0300)/'; // test request.P_DATE_FROM = '/Date(1578603600000+0300)/';
request.P_DATE_TO = '/Date(1576011600000+0300)/'; // test request.P_DATE_TO = '/Date(1576011600000+0300)/';
this.DS.getSubordinatesLeaves(request, () => { console.log('Error '); }).subscribe((result: GetSubordinatesLeavesResponse) => { this.DS.getSubordinatesLeaves(request, () => { console.log('Error '); }).subscribe((result: GetSubordinatesLeavesResponse) => {
if (this.common.validResponse(result)) { if (this.common.validResponse(result)) {
console.log('response'); console.log('response');
@ -642,13 +642,6 @@ openStatsButton(link: string) {
this.common.openPage(link); this.common.openPage(link);
} }
////// calling time and date to load it in calendar///////
public getDayHoursTypeDetails() { public getDayHoursTypeDetails() {
const dayAndHoursReqObj = new GetDayAndHoursDetailsRequest(); const dayAndHoursReqObj = new GetDayAndHoursDetailsRequest();
this.monthName = moment().format('MMMM'); this.monthName = moment().format('MMMM');

Loading…
Cancel
Save