Datei vergessen
This commit is contained in:
19
BeWoPlanerMobil/Scripts/localServiceRecord.js
Normal file
19
BeWoPlanerMobil/Scripts/localServiceRecord.js
Normal file
@@ -0,0 +1,19 @@
|
||||
class LocalServiceRecord {
|
||||
constructor(pCostBearer2SupportConceptOid, pSupportConceptOid, pEmployeeOid, pServiceCategory, pServiceDescription, pDate, pStartTime, pEndTime, pDuration, pNotice, pNotice2, pNotice3, pNotice4, pNotice5, pEndDate) {
|
||||
this.costBearer2SupportConceptOid = pCostBearer2SupportConceptOid;
|
||||
this.supportConceptOid = pSupportConceptOid;
|
||||
this.employeeOid = pEmployeeOid;
|
||||
this.serviceCategory = pServiceCategory;
|
||||
this.serviceDescription = pServiceDescription;
|
||||
this.date = pDate;
|
||||
this.startTime = pStartTime;
|
||||
this.endTime = pEndTime;
|
||||
this.duration = pDuration;
|
||||
this.notice = pNotice;
|
||||
this.notice2 = pNotice2;
|
||||
this.notice3 = pNotice3;
|
||||
this.notice4 = pNotice4;
|
||||
this.notice5 = pNotice5;
|
||||
this.endDate = pEndDate;
|
||||
}
|
||||
}
|
||||
@@ -604,17 +604,17 @@ $(function () {
|
||||
});
|
||||
|
||||
function toggleLabel(inputId) {
|
||||
var label = $('label[for="' + inputId + '"]');
|
||||
const label = $('label[for="' + inputId + '"]');
|
||||
var topValue;
|
||||
|
||||
if ($("#" + inputId).is(":focus")) {
|
||||
if($(`#${inputId}`).is(":focus")) {
|
||||
$(label).animate({ top: "-6px" }, 100);
|
||||
return;
|
||||
}
|
||||
|
||||
topValue = "12px";
|
||||
|
||||
if ($("#" + inputId).val()) {
|
||||
if($(`#${inputId}`).val()) {
|
||||
topValue = "-6px";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user