diff --git a/Mohem/src/app/absence/submit-absence/submit-absence.component.ts b/Mohem/src/app/absence/submit-absence/submit-absence.component.ts index b0287761..1aa4f0e6 100644 --- a/Mohem/src/app/absence/submit-absence/submit-absence.component.ts +++ b/Mohem/src/app/absence/submit-absence/submit-absence.component.ts @@ -1058,7 +1058,7 @@ export class SubmitAbsenceComponent implements OnInit { this.absenceDffresponse[i].DISPLAY_FLAG != "N" ) { //date - // elemVal = this.common.formatDate(elemVal); + elemVal = this.common.formatDate(elemVal); } else if ( this.absenceDffresponse[i].FORMAT_TYPE == "Y" && this.absenceDffresponse[i].DISPLAY_FLAG != "N" diff --git a/Mohem/src/app/eit/add-eit/add-eit.component.ts b/Mohem/src/app/eit/add-eit/add-eit.component.ts index 26fa4093..a4de9bc2 100644 --- a/Mohem/src/app/eit/add-eit/add-eit.component.ts +++ b/Mohem/src/app/eit/add-eit/add-eit.component.ts @@ -267,14 +267,14 @@ export class AddEitComponent implements OnInit { const elem = document.getElementById( feildsList[i].APPLICATION_COLUMN_NAME ); - elem.addEventListener("click", e => { - if (feildsList[i].MOBILE_ENABLED != "Y") return false; - this.showDateTimePicker( - feildsList[i].APPLICATION_COLUMN_NAME, - feildsList[i].MAXIMUM_SIZE - ); - e.stopImmediatePropagation(); - }); + // elem.addEventListener("click", e => { + // if (feildsList[i].MOBILE_ENABLED != "Y") return false; + // this.showDateTimePicker( + // feildsList[i].APPLICATION_COLUMN_NAME, + // feildsList[i].MAXIMUM_SIZE + // ); + // e.stopImmediatePropagation(); + // }); // else if(feildsList[i].DEFAULT_TYPE=="D"){ // this.datetimeInput = new DateTimeInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,"currentDateTime",containerId,feildsList[i].MOBILE_ENABLED); // }else if(feildsList[i].DEFAULT_TYPE=="P"||feildsList[i].DEFAULT_TYPE=="S"){ @@ -311,14 +311,14 @@ export class AddEitComponent implements OnInit { const elem = document.getElementById( feildsList[i].APPLICATION_COLUMN_NAME ); - elem.addEventListener("click", e => { - if (feildsList[i].MOBILE_ENABLED != "Y") return false; - this.showTimePicker( - feildsList[i].APPLICATION_COLUMN_NAME, - feildsList[i].MAXIMUM_SIZE - ); - e.stopImmediatePropagation(); - }); + // elem.addEventListener("click", e => { + // if (feildsList[i].MOBILE_ENABLED != "Y") return false; + // this.showTimePicker( + // feildsList[i].APPLICATION_COLUMN_NAME, + // feildsList[i].MAXIMUM_SIZE + // ); + // e.stopImmediatePropagation(); + // }); // else if(feildsList[i].DEFAULT_TYPE=="T"){ // this.timeInput = new TimeInput(feildsList[i].SEGMENT_PROMPT,feildsList[i].APPLICATION_COLUMN_NAME,"currentTime",containerId,feildsList[i].MOBILE_ENABLED); // }else if(feildsList[i].DEFAULT_TYPE=="P"||feildsList[i].DEFAULT_TYPE=="S"){