From 8d394fc86bafb790016881bb5e703f61a64e5595 Mon Sep 17 00:00:00 2001 From: Lyndon Date: Wed, 7 Feb 2018 14:18:11 +0100 Subject: [PATCH] Datei vergessen --- BeWoPlanerMobil/Scripts/localServiceRecord.js | 19 +++++++++++++++++++ BeWoPlanerMobil/Scripts/mainView.js | 6 +++--- 2 files changed, 22 insertions(+), 3 deletions(-) create mode 100644 BeWoPlanerMobil/Scripts/localServiceRecord.js diff --git a/BeWoPlanerMobil/Scripts/localServiceRecord.js b/BeWoPlanerMobil/Scripts/localServiceRecord.js new file mode 100644 index 000000000..0af786766 --- /dev/null +++ b/BeWoPlanerMobil/Scripts/localServiceRecord.js @@ -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; + } +} \ No newline at end of file diff --git a/BeWoPlanerMobil/Scripts/mainView.js b/BeWoPlanerMobil/Scripts/mainView.js index 40fc4e5bc..ed5e355c8 100644 --- a/BeWoPlanerMobil/Scripts/mainView.js +++ b/BeWoPlanerMobil/Scripts/mainView.js @@ -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"; }