This commit is contained in:
Christian
2018-06-29 16:35:19 +02:00
parent 70586f3e8d
commit cc642e9838
28 changed files with 1891 additions and 461 deletions

View File

@@ -2004,7 +2004,7 @@
</BootstrapperPackage>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Chat\ChatController\ChatController.csproj">
<ProjectReference Include="..\..\..\Chat\ChatController\ChatController.csproj">
<Project>{8a83c4dc-a0b1-4a51-ae1d-366d7a05b298}</Project>
<Name>ChatController</Name>
</ProjectReference>
@@ -2099,362 +2099,362 @@
<ItemGroup>
<PublishFile Include="Blacklight.Wpf.Controls">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Charts.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Data.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Data.v17.1.Linq">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Office.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.PivotGrid.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Printing.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.RichEdit.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Sparkline.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Utils.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Charts.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Core.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Docking.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Grid.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Grid.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Layout.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Mvvm.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Printing.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Printing.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Ribbon.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Scheduler.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Themes.LightGray.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Themes.Office2007Black.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Themes.Office2010Black.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.Xpf.Themes.Office2016White.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraBars.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraCharts.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraEditors.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraNavBar.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraPivotGrid.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraPrinting.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraReports.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraScheduler.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraScheduler.v17.1.Core">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraScheduler.v17.1.Reporting">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
<PublishFile Include="DevExpress.XtraTreeList.v17.1">
<Visible>False</Visible>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<Group>
</Group>
<TargetPath>
</TargetPath>
<PublishState>Include</PublishState>
<IncludeHash>True</IncludeHash>
<FileType>Assembly</FileType>
</PublishFile>
</ItemGroup>

View File

@@ -2323,6 +2323,7 @@ namespace BeWoPlanerMobil.Controllers
}
catch (Exception e)
{
log.Info("Error in SetServiceRecordEmployee:");
log.Error(e.Message, e);
throw e;
}

View File

@@ -20,7 +20,7 @@ function loadAppointments(newtoday) {
url: loadAppointmentsUrl,
data: { newtoday: newtoday },
success: function(json) {
const kalenderRec = $.parseJSON(json);
var kalenderRec = $.parseJSON(json);
var html = "";
@@ -28,11 +28,11 @@ function loadAppointments(newtoday) {
var i = 0;
$.each(kalenderRec, function(index, termin) {
const description = termin.Subject;
const startD = termin.StartDate;
const endD = termin.EndDate;
const date = new Date(startD);
const dateend = new Date(endD);
var description = termin.Subject;
var startD = termin.StartDate;
var endD = termin.EndDate;
var date = new Date(startD);
var dateend = new Date(endD);
appointments[termin.SchedulerAppointmentOid] = termin;
@@ -53,17 +53,17 @@ function appointmentOnClick(appointmentOid) {
return;
}
const selectedAppointment = appointments[appointmentOid];
var selectedAppointment = appointments[appointmentOid];
if(selectedAppointment.RecurrenceInfo !== null) {
return;
}
const startDate = new Date(selectedAppointment.StartDate);
const endDate = new Date(selectedAppointment.EndDate);
var startDate = new Date(selectedAppointment.StartDate);
var endDate = new Date(selectedAppointment.EndDate);
const startTime = getHoursAndMinutesWithLeadingZeros(startDate);
const endTime = getHoursAndMinutesWithLeadingZeros(endDate);
var startTime = getHoursAndMinutesWithLeadingZeros(startDate);
var endTime = getHoursAndMinutesWithLeadingZeros(endDate);
window.selectedAppointmentOid = selectedAppointment.SchedulerAppointmentOid;
@@ -100,9 +100,9 @@ function updateSelectedAppointment() {
day: currentAppointment.startDate,
endDate: currentAppointment.endDate
}, success: function() {
const dp = $("#KalenderDatumFormat").val();
const dateParts = dp.split(".");
const nextdatum2 = new Date(dateParts[2], (dateParts[1] - 1), dateParts[0]);
var dp = $("#KalenderDatumFormat").val();
var dateParts = dp.split(".");
var nextdatum2 = new Date(dateParts[2], (dateParts[1] - 1), dateParts[0]);
$("#KalenderDatum").val(toDateStringYearMonthDay(nextdatum2));
$("#KalenderDatumFormat").val(dp);
@@ -124,11 +124,11 @@ function updateAppointmentOnClick() {
}
function checkAppointmentFields() {
const newAppointmentStartDate = $("#StartDate").val();
const newAppointmentEndDate = $("#EndDate").val();
const newAppointmentStartTime = $("#TerminStartZeit").val();
const newAppointmentEndTime = $("#TerminEndZeit").val();
const newAppointmentSubject = $("#TerminBetreff").val();
var newAppointmentStartDate = $("#StartDate").val();
var newAppointmentEndDate = $("#EndDate").val();
var newAppointmentStartTime = $("#TerminStartZeit").val();
var newAppointmentEndTime = $("#TerminEndZeit").val();
var newAppointmentSubject = $("#TerminBetreff").val();
if(newAppointmentStartDate === "" || newAppointmentEndDate === "" || newAppointmentStartTime === "" || newAppointmentEndTime === "" || newAppointmentSubject === "") {
writeFatalErrorMessage("Bitte geben Sie Uhrzeit und Betreff ein.");
@@ -187,9 +187,9 @@ function insertNewAppointment(pStartDate, pStartTime, pEndTime, pSubject, pNotic
}
function selectDate() {
const dp = $("#KalenderDatumFormat").val();
const dateParts = dp.split(".");
const nextdatum2 = new Date(dateParts[2], (dateParts[1] - 1), dateParts[0]);
var dp = $("#KalenderDatumFormat").val();
var dateParts = dp.split(".");
var nextdatum2 = new Date(dateParts[2], (dateParts[1] - 1), dateParts[0]);
$("#KalenderDatum").val(toDateStringYearMonthDay(nextdatum2));
$("#KalenderDatumFormat").val(dp);
@@ -198,12 +198,12 @@ function selectDate() {
}
function previousDayButtonClick() {
const nextdatum = new Date($("#KalenderDatum").val());
var nextdatum = new Date($("#KalenderDatum").val());
nextdatum.setDate((nextdatum.getDate() - 1));
$("#KalenderDatum").val(toDateStringYearMonthDay(nextdatum));
const newtoday = getDateStringWithLeadingZeros(nextdatum);
var newtoday = getDateStringWithLeadingZeros(nextdatum);
$("#KalenderDatumFormat").val(newtoday);
@@ -216,27 +216,27 @@ function loadBeWoTask(newtoday) {
url: loadBewoTasksUrl,
data: { newtoday: newtoday },
success: function(json) {
const kalenderRec = $.parseJSON(json);
var kalenderRec = $.parseJSON(json);
var html = "";
$("#KalenderTableTask").empty();
var zahl = 0;
$.each(kalenderRec, function(index, termin) {
const description = termin.Title;
const date = new Date(termin.DueDate);
var description = termin.Title;
var date = new Date(termin.DueDate);
if(zahl === 0) {
html += "<thead><tr><th style='width: 150px; border-bottom: solid 1px #D8D8D8;'>Aufgaben</th><th style='width: 80%; border-bottom: solid 1px #D8D8D8;'></th></tr></thead>";
}
//const minutes = date.getMinutes() < 10 ? `0${date.getMinutes().toString()}` : date.getMinutes().toString();
//const hours = date.getHours() < 10 ? `0${date.getHours().toString()}` : date.getHours().toString();
//var minutes = date.getMinutes() < 10 ? `0${date.getMinutes().toString()}` : date.getMinutes().toString();
//var hours = date.getHours() < 10 ? `0${date.getHours().toString()}` : date.getHours().toString();
const minutes = date.getMinutes() < 10 ? '0' + date.getMinutes().toString() : date.getMinutes.toString();
const hours = date.getHours() < 10 ? '0' + date.getHours().toString() : date.getHours().toString();
var minutes = date.getMinutes() < 10 ? '0' + date.getMinutes().toString() : date.getMinutes.toString();
var hours = date.getHours() < 10 ? '0' + date.getHours().toString() : date.getHours().toString();
const farbe = "2B508B";
var farbe = "2B508B";
//html += `<tr><td style="width: 150px; border-bottom: solid 1px #D8D8D8;">${hours.fontcolor(farbe)}:${minutes.fontcolor(farbe)} </td><td style="width: 80%; border-bottom: solid 1px #D8D8D8;">${description}</td></tr>`;
html += '<tr><td style="width: 150px; border-bottom: solid 1px #D8D8D8;">'+hours.fontcolor(farbe)+':' + minutes.fontcolor(farbe) + ' </td><td style="width: 80%; border-bottom: solid 1px #D8D8D8;">' + description + '</td></tr>';
@@ -249,8 +249,8 @@ function loadBeWoTask(newtoday) {
}
function LoadOnly(i, x) {
const serviceRecord = localStorage.getItem("Zeitdaten");
const appointment = localStorage.getItem("Kalenderdaten");
var serviceRecord = localStorage.getItem("Zeitdaten");
var appointment = localStorage.getItem("Kalenderdaten");
if(serviceRecord != null || appointment != null) {
if(serviceRecord != null && i === 1) {

View File

@@ -1,25 +1,25 @@
function getDateTimeStringWithLeadingZeros(pDate) {
const dateStr = getDateStringWithLeadingZeros(pDate);
var dateStr = getDateStringWithLeadingZeros(pDate);
const hh = (pDate.getHours() < 10 ? "0" : "") + pDate.getHours();
const m = (pDate.getMinutes() < 10 ? "0" : "") + pDate.getMinutes();
const ss = (pDate.getSeconds() < 10 ? "0" : "") + pDate.getSeconds();
var hh = (pDate.getHours() < 10 ? "0" : "") + pDate.getHours();
var m = (pDate.getMinutes() < 10 ? "0" : "") + pDate.getMinutes();
var ss = (pDate.getSeconds() < 10 ? "0" : "") + pDate.getSeconds();
return dateStr + " " + hh + ":" + m + ":" + ss;
}
function getDateStringWithLeadingZeros(pDate) {
const dd = (pDate.getDate() < 10 ? "0" : "") + pDate.getDate().toString();
const mm = ((pDate.getMonth() + 1) < 10 ? "0" : "") + (pDate.getMonth() + 1);
const yyyy = pDate.getFullYear();
var dd = (pDate.getDate() < 10 ? "0" : "") + pDate.getDate().toString();
var mm = ((pDate.getMonth() + 1) < 10 ? "0" : "") + (pDate.getMonth() + 1);
var yyyy = pDate.getFullYear();
return dd + "." + mm + "." + yyyy;
}
function subtractDates(date1, date2) {
const t1 = date1.getTime();
const t2 = date2.getTime();
const diff = (t2 - t1) / 60000;
var t1 = date1.getTime();
var t2 = date2.getTime();
var diff = (t2 - t1) / 60000;
return Math.abs(diff);
}
@@ -29,7 +29,7 @@ function addMinutes(date, minutes) {
}
function stringToTime(str) {
const defaultResult = [-1, -1];
var defaultResult = [-1, -1];
str = str.replace(":", "");
str = str.replace(".", "");
@@ -50,8 +50,8 @@ function stringToTime(str) {
}
}
const minutes = str.slice(2, 4);
const hours = str.slice(0, 2);
var minutes = str.slice(2, 4);
var hours = str.slice(0, 2);
defaultResult[0] = parseInt(hours);
defaultResult[1] = parseInt(minutes);
@@ -62,8 +62,8 @@ function stringToTime(str) {
function actualDurationWithEndDate() {
if($("#enddatum_textbox").val() !== "") {
if($("#enddatum_textbox").val() !== $("#datum_textbox").val()) {
let endDateObj = getEndDateObj();
const startDateObj = getDateObj(true);
var endDateObj = getEndDateObj();
var startDateObj = getDateObj(true);
if(endDateObj < startDateObj) {
endDateObj = setHoursAndMinutes(new Date(startDateObj.getTime()), $("#ende_textbox").val());
@@ -75,12 +75,12 @@ function actualDurationWithEndDate() {
console.log('end date: ' + endDateObj);
}
const endDate = endDateObj.getDate();
const startDate = startDateObj.getDate();
var endDate = endDateObj.getDate();
var startDate = startDateObj.getDate();
const diffInMs = endDateObj - startDateObj;
const diffInS = diffInMs / 1000;
const diffInMins = diffInS / 60;
var diffInMs = endDateObj - startDateObj;
var diffInS = diffInMs / 1000;
var diffInMins = diffInS / 60;
//console.log(`end date: ${endDate}`);
//console.log(`difference in minutes: ${diffInMins}`);
@@ -88,17 +88,17 @@ function actualDurationWithEndDate() {
console.log('end date: ' + endDate);
console.log('difference in minutes: ' + diffInMins);
const dateDifference = endDate - startDate;
var dateDifference = endDate - startDate;
const endDateString = $("#ende_textbox").val();
var endDateString = $("#ende_textbox").val();
const startDateString = $("#start_textbox").val();
var startDateString = $("#start_textbox").val();
let duration = diffInMins;// - startDateString;
var duration = diffInMins;// - startDateString;
//console.log(`dateDifference: ${dateDifference}`);
console.log('dateDifference: ' + dateDifference);
const rest = duration % 100;
var rest = duration % 100;
duration = duration - rest;
@@ -112,10 +112,10 @@ function actualDurationWithEndDate() {
}
function getEndDateObj() {
const rawEnddate = $("#enddatum_textbox").val();
const day = parseInt(rawEnddate.slice(0, 2));
const month = parseInt(rawEnddate.slice(3, 5));
const year = parseInt(rawEnddate.slice(6, 10));
var rawEnddate = $("#enddatum_textbox").val();
var day = parseInt(rawEnddate.slice(0, 2));
var month = parseInt(rawEnddate.slice(3, 5));
var year = parseInt(rawEnddate.slice(6, 10));
var hoursAndMinutes = [0, 0];
var date = new Date();
@@ -123,7 +123,7 @@ function getEndDateObj() {
date = new Date(year, month - 1, day);
}
const endDateString = $("#ende_textbox").val();
var endDateString = $("#ende_textbox").val();
if(endDateString !== "") {
hoursAndMinutes = stringToTime(endDateString);
@@ -136,7 +136,7 @@ function getEndDateObj() {
}
function setHoursAndMinutes(date, timeString) {
let hoursAndMinutes = [0, 0];
var hoursAndMinutes = [0, 0];
if(timeString !== "") {
hoursAndMinutes = stringToTime(timeString);
@@ -149,25 +149,25 @@ function setHoursAndMinutes(date, timeString) {
}
function getHoursAndMinutesWithLeadingZeros(pDate) {
const hours = pDate.getHours();
const minutes = pDate.getMinutes();
var hours = pDate.getHours();
var minutes = pDate.getMinutes();
//const hoursString = hours < 10 ? `0${hours.toString()}` : hours.toString();
//const minutesString = minutes < 10 ? `0${minutes.toString()}` : minutes.toString();
//var hoursString = hours < 10 ? `0${hours.toString()}` : hours.toString();
//var minutesString = minutes < 10 ? `0${minutes.toString()}` : minutes.toString();
const hoursString = hours < 10 ? '0' + hours.toString() : hours.toString();
const minutesString = minutes < 10 ? '0' + minutes.toString() : minutes.toString();
var hoursString = hours < 10 ? '0' + hours.toString() : hours.toString();
var minutesString = minutes < 10 ? '0' + minutes.toString() : minutes.toString();
return hoursString + ":" + minutesString;
}
function toShortDateString(dateString, trennzeichen) {
const geteilt = dateString.split(trennzeichen);
var geteilt = dateString.split(trennzeichen);
var yyyy = "";
const mm = geteilt[1];
const dd = geteilt[0];
var mm = geteilt[1];
var dd = geteilt[0];
for(let i = 0; i < 4 - geteilt[2].split(" ")[0].length; i++) {
for(var i = 0; i < 4 - geteilt[2].split(" ")[0].length; i++) {
yyyy += "0";
}
@@ -177,12 +177,12 @@ function toShortDateString(dateString, trennzeichen) {
}
function toDateStringYearMonthDay(pDate) {
const dd2 = pDate.getDate();
const mm2 = pDate.getMonth() + 1;
const yyyy2 = pDate.getFullYear();
var dd2 = pDate.getDate();
var mm2 = pDate.getMonth() + 1;
var yyyy2 = pDate.getFullYear();
const ddStr2 = dd2 < 10 ? "0" + dd2 : dd2;
const mmStr2 = mm2 < 10 ? "0" + mm2 : mm2;
var ddStr2 = dd2 < 10 ? "0" + dd2 : dd2;
var mmStr2 = mm2 < 10 ? "0" + mm2 : mm2;
return yyyy2 + "-" + mmStr2 + "-" + ddStr2;
}
@@ -192,8 +192,8 @@ function checkEndDate() {
type: "GET",
url: CheckEndDateUrl,
success: function(json) {
const endDateSettingsString = $.parseJSON(json);
const endDateSetting = parseInt(endDateSettingsString);
var endDateSettingsString = $.parseJSON(json);
var endDateSetting = parseInt(endDateSettingsString);
if(endDateSetting === 1) {
$("#EndDate_div").css("display", "block");
@@ -215,10 +215,10 @@ function calcDurationByStartEnd() {
console.log('is end date visible: ' + endDateVisibleEh());
if($("#enddatum_textbox").val() === $("#datum_textbox").val() || $("#enddatum_textbox").val() === "") {
const shm = getDateObj(true);
const ehm = getDateObj(false);
var shm = getDateObj(true);
var ehm = getDateObj(false);
let dur = 0;
var dur = 0;
if(shm.getTime() < ehm.getTime()) {
dur = parseInt(subtractDates(ehm, shm));
@@ -233,16 +233,16 @@ function calcDurationByStartEnd() {
function calcEndByStartDuration() {
if($("#enddatum_textbox").val() === $("#datum_textbox").val() || $("#enddatum_textbox").val() === "") {
const shm2 = getDateObj(true);
const dauer = parseInt($("#duration_textbox").val());
var shm2 = getDateObj(true);
var dauer = parseInt($("#duration_textbox").val());
if(isNaN(dauer)) {
return;
}
const neu = addMinutes(shm2, dauer);
var neu = addMinutes(shm2, dauer);
const ende = (neu.getHours() < 10 ? "0" : "") + neu.getHours() + ":" + (neu.getMinutes() < 10 ? "0" : "") + neu.getMinutes();
var ende = (neu.getHours() < 10 ? "0" : "") + neu.getHours() + ":" + (neu.getMinutes() < 10 ? "0" : "") + neu.getMinutes();
$("#ende_textbox").val(ende).trigger("change");
}
@@ -252,22 +252,22 @@ function calcEndByStartDuration() {
}
function calcStartByEndDuration() {
const ehm2 = getDateObj(false);
const dauer2 = parseInt($("#duration_textbox").val());
var ehm2 = getDateObj(false);
var dauer2 = parseInt($("#duration_textbox").val());
if(isNaN(dauer2)) {
return;
}
const neu2 = addMinutes(ehm2, dauer2 * -1);
var neu2 = addMinutes(ehm2, dauer2 * -1);
$("#start_textbox").val((neu2.getHours() < 10 ? "0" : "") + neu2.getHours() + (neu2.getMinutes() < 10 ? "0" : "") + neu2.getMinutes()).trigger("change");
}
function getDateObj(isFromStart) {
const roh = $("#datum_textbox").val();
const dd = parseInt(roh.slice(0, 2));
const mm = parseInt(roh.slice(3, 5));
const yyyy = parseInt(roh.slice(6, 10));
var roh = $("#datum_textbox").val();
var dd = parseInt(roh.slice(0, 2));
var mm = parseInt(roh.slice(3, 5));
var yyyy = parseInt(roh.slice(6, 10));
var date = new Date();
if(!isNaN(dd) && !isNaN(mm) && !isNaN(yyyy)) {

View File

@@ -7,9 +7,9 @@ function isInEditingMode() {
}
function initGroupBookingForm() {
const isChecked = isInGroupBookingMode();
const hide = "none";
const show = "block";
var isChecked = isInGroupBookingMode();
var hide = "none";
var show = "block";
$("#selectSCForm").css("display", isChecked ? hide : show);
$("#gruppenbuchungsContainer").css("display", isChecked ? show : hide);
@@ -25,7 +25,7 @@ function removeSupportConceptFromList(pSelectedSupportConceptOid, event) {
}
function addEmployeeToGruppenbuchung(event) {
const selectedEmployeeOid = $("#groupBookingEmployeesDropDown").find(":selected").val();
var selectedEmployeeOid = $("#groupBookingEmployeesDropDown").find(":selected").val();
// if($(`#employee_tr_${selectedEmployeeOid}`).length === 0) {
if($('#employee_tr_' + selectedEmployeeOid).length === 0) {
@@ -44,7 +44,7 @@ function removeEmployeeFromList(pEmployeeOid, event) {
}
function addSupportConceptToGroupBooking(event) {
const scToAddOid = $($("#multiScDropDown")).find(":selected").val();
var scToAddOid = $($("#multiScDropDown")).find(":selected").val();
if($('#supportconcept_tr_' + scToAddOid).length === 0) {
showSanduhr();
@@ -62,14 +62,14 @@ function selectGroupBookingForEditing(serviceRecordOid) {
}
function addSupportConceptGroupToGroupBooking(event) {
const groupOidToScOids = $($("#groupDropDown")).find(":selected").val();
var groupOidToScOids = $($("#groupDropDown")).find(":selected").val();
const supportConceptOids = groupOidToScOids.split(":")[1].split(",");
var supportConceptOids = groupOidToScOids.split(":")[1].split(",");
let shouldSubmitForm = false;
var shouldSubmitForm = false;
for(let i = 0; i < supportConceptOids.length; i++) {
const isSelected = $('#supportconcept_tr_' + supportConceptOids[i]).length !== 0;
for(var i = 0; i < supportConceptOids.length; i++) {
var isSelected = $('#supportconcept_tr_' + supportConceptOids[i]).length !== 0;
//console.log(`support concept oid: ${supportConceptOids[i]}; is already selected: ${isSelected}`);
console.log('support concept oid: ' + supportConceptOids[i] + '; is already selected: ' + isSelected);
@@ -89,7 +89,7 @@ function addSupportConceptGroupToGroupBooking(event) {
var flagData = {};
function setGroupEditingFlag(flag) {
const obj = {
var obj = {
flag: flag
}
@@ -99,7 +99,7 @@ function setGroupEditingFlag(flag) {
}
function getGroupEditingFlag() {
const storageData = localStorage.flagData;
var storageData = localStorage.flagData;
if(storageData !== "undefined") {
flagData = JSON.parse(storageData);

View File

@@ -23,7 +23,7 @@ $(document).ready(function() {
initBeWoMobile(loadGoalsUrl);
const height = $("#datum_textbox").css("height");
var height = $("#datum_textbox").css("height");
$(".dropdownlist-for").css("height", height);
@@ -67,7 +67,7 @@ function initBeWoMobile(actionPath) {
toggleSelectClassesForElement("#recordLoader_select", "#record-loader-select-container");
toggleSelectClassesForElement("#textbausteine_select", "#textbausteine-select-container");
const selectedServiceCategory = $($("#scDropDown")).find(":selected").val();
var selectedServiceCategory = $($("#scDropDown")).find(":selected").val();
if(isInGroupBookingMode() && isInEditingMode()) {
if(getGroupEditingFlag().flag === false) {
@@ -79,7 +79,7 @@ function initBeWoMobile(actionPath) {
setGroupEditingFlag(false);
}
const shouldActivateForm = isInGroupBookingMode() ? $("#gruppenbuchungsSupportConceptTable tr").length > 0 : selectedServiceCategory !== "-1";
var shouldActivateForm = isInGroupBookingMode() ? $("#gruppenbuchungsSupportConceptTable tr").length > 0 : selectedServiceCategory !== "-1";
if(shouldActivateForm) {
$("#recordLoader_select").prop("disabled", false);
@@ -93,15 +93,15 @@ function initBeWoMobile(actionPath) {
$(".not-required-input").on("click blur change focus",
function() {
const v = $(this).attr("id");
var v = $(this).attr("id");
setTimeout(function() { toggleLabel(v); }, 1);
}
);
$("#start_textbox").on("blur", function() {
const startHasValue = $("#start_textbox").val() !== "";
const endHasValue = $("#ende_textbox").val() !== "";
const durationHasValue = $("#duration_textbox").val() !== "";
var startHasValue = $("#start_textbox").val() !== "";
var endHasValue = $("#ende_textbox").val() !== "";
var durationHasValue = $("#duration_textbox").val() !== "";
if(startHasValue && endHasValue) {
calcDurationByStartEnd();
@@ -111,9 +111,9 @@ function initBeWoMobile(actionPath) {
});
$("#ende_textbox").on("blur", function () {
const startHasValue = $("#start_textbox").val() !== "";
const endHasValue = $("#ende_textbox").val() !== "";
const durationHasValue = $("#duration_textbox").val() !== "";
var startHasValue = $("#start_textbox").val() !== "";
var endHasValue = $("#ende_textbox").val() !== "";
var durationHasValue = $("#duration_textbox").val() !== "";
if(endHasValue && startHasValue) {
calcDurationByStartEnd();
@@ -123,9 +123,9 @@ function initBeWoMobile(actionPath) {
});
$("#duration_textbox").on("blur", function () {
const startHasValue = $("#start_textbox").val() !== "";
const endHasValue = $("#ende_textbox").val() !== "";
const durationHasValue = $("#duration_textbox").val() !== "";
var startHasValue = $("#start_textbox").val() !== "";
var endHasValue = $("#ende_textbox").val() !== "";
var durationHasValue = $("#duration_textbox").val() !== "";
clearZED();
@@ -136,8 +136,8 @@ function initBeWoMobile(actionPath) {
}
});
const supportConceptTableHasEntries = $("#gruppenbuchungsSupportConceptTable").has("td").length;
const employeesTableHasEntries = $("#gruppenbuchungsEmployeeTable").has("td").length;
var supportConceptTableHasEntries = $("#gruppenbuchungsSupportConceptTable").has("td").length;
var employeesTableHasEntries = $("#gruppenbuchungsEmployeeTable").has("td").length;
if(isInGroupBookingMode()) {
$("#anlegenEditierenBtn").prop("disabled", (supportConceptTableHasEntries === 0 || employeesTableHasEntries === 0));
@@ -149,7 +149,7 @@ function initBeWoMobile(actionPath) {
}
function toggleSelectClassesForElement(elementIdentifier, parentElement) {
const enabled = $(elementIdentifier).prop("disabled") === "false";
var enabled = $(elementIdentifier).prop("disabled") === "false";
if(enabled) {
$(parentElement).removeClass("disabled-select-container");
@@ -161,8 +161,8 @@ function toggleSelectClassesForElement(elementIdentifier, parentElement) {
}
function toggleErrorPopup2(errorMessage) {
const isDisplayNone = $("#errorPopupDiv2").css("display") === "none";
const displayValue = isDisplayNone ? "block" : "none";
var isDisplayNone = $("#errorPopupDiv2").css("display") === "none";
var displayValue = isDisplayNone ? "block" : "none";
$("#errorPopupDiv2").css("display", displayValue);
$(".modalWrapper").css("display", displayValue);
@@ -171,11 +171,11 @@ function toggleErrorPopup2(errorMessage) {
if(isDisplayNone) {
$("#errorPopupText2").text(errorMessage);
let h = 0;
const t = $("#errorPopupTitle2").outerHeight();
const u = $("#errorPopupText2").outerHeight();
const v = $("#errorPopupBtnDiv2").outerHeight();
const w = $("#errorPopupOkBtn2").outerHeight();
var h = 0;
var t = $("#errorPopupTitle2").outerHeight();
var u = $("#errorPopupText2").outerHeight();
var v = $("#errorPopupBtnDiv2").outerHeight();
var w = $("#errorPopupOkBtn2").outerHeight();
h += t + u + v + w + w;
@@ -217,7 +217,7 @@ function loadSettingsAccordingToBWP() {
type: "GET",
url: LoadSessionSettingsFromBWPUrl,
success: function (json) {
const timeOutSettingsString = $.parseJSON(json);
var timeOutSettingsString = $.parseJSON(json);
timeoutSetting = parseInt(timeOutSettingsString);
logoutSettingsAccordingToBWP(timeoutSetting);
@@ -230,7 +230,7 @@ function initializeDocumentationTextareas() {
type: "GET",
url: CheckDokuReiterUrl,
success: function (json) {
const documentationTypes = $.parseJSON(json);
var documentationTypes = $.parseJSON(json);
numberOfDocumentationTypes = documentationTypes.length;
if(numberOfDocumentationTypes === 0) {
@@ -248,8 +248,8 @@ function initializeDocumentationTextareas() {
}
if(numberOfDocumentationTypes > 1) {
for(let i = 0; i < numberOfDocumentationTypes; i++) {
const idNumber = i + 1;
for(var i = 0; i < numberOfDocumentationTypes; i++) {
var idNumber = i + 1;
//$(`#DokName${idNumber}`).text(documentationTypes[i].TypeDescription);
//$(`#Dokumentation${idNumber}`).css("display", "block");
@@ -274,7 +274,7 @@ $(document).on("change", ".edit-form-input",
});
function saveFormValuesLocally() {
const recordObject = {
var recordObject = {
category: $("#kategorien_select").val(),
serviceDescription: $("#leistungen_select").val(),
startDate: $("#datum_textbox").val(),
@@ -301,7 +301,7 @@ function deleteSavedEditFormValues() {
}
function loadSavedEditFormValues() {
const storageData = localStorage.savedEditFormValues;
var storageData = localStorage.savedEditFormValues;
if(storageData !== "undefined") {
savedEditFormValues = JSON.parse(storageData);
@@ -313,7 +313,7 @@ function loadSavedEditFormValues() {
}
function loadSavedValuesIntoForm() {
const values = loadSavedEditFormValues();
var values = loadSavedEditFormValues();
if(values.category !== "undefined") {
$("#kategorien_select").val(values.category);

View File

@@ -17,7 +17,7 @@ function buildCollapsibleSet(jsonString) {
return;
}
const kollektion = $.parseJSON(jsonString);
var kollektion = $.parseJSON(jsonString);
actuallyBuildCollapsibleSet(kollektion, null);
} catch(exception) {
@@ -56,10 +56,10 @@ function buildGoalTreeItem(goalItem, selectedGoalOids) {
}
} else {
const goalOid = goalItem.ValueListEntryOid;
const goalHeader = goalItem.Header;
var goalOid = goalItem.ValueListEntryOid;
var goalHeader = goalItem.Header;
const isChecked = selectedGoalOids != null && isElementInArray(selectedGoalOids, goalOid) ? "checked" : "";
var isChecked = selectedGoalOids != null && isElementInArray(selectedGoalOids, goalOid) ? "checked" : "";
collapsibleHtml += '<div style="margin-right: 0; padding-right: 0;display: block;"><input type="checkbox" style="width: auto;" onclick="updateGoals(' + goalOid + ')" id="' + goalOid + '" value="' + goalHeader + '" ' + isChecked + ' />' + goalHeader + '</div>';
}
@@ -83,7 +83,7 @@ function loadServiceDescriptionsOnSuccess(json) {
return;
}
const liste = $.parseJSON(json);
var liste = $.parseJSON(json);
$("#leistungen_select").empty();
$("#leistungen_select").val("");
@@ -101,9 +101,9 @@ function loadServiceDescriptionsOnSuccess(json) {
makeAjaxCall("GET",
loadCategoryAndDescriptionUrl,
function(result) {
const arr = result.split("/");
const descriptionOid = arr[0];
const categoryOid = arr[1];
var arr = result.split("/");
var descriptionOid = arr[0];
var categoryOid = arr[1];
$("#kategorien_select").val(categoryOid);
@@ -147,18 +147,18 @@ function resizeLabelColumns() {
zeitRegEx = /^(2[0-3]|[01]?[0-9])(:|,|\.|#|;)?([0-5][0-9])$/;
function loadGoals(actionPath) {
const selectedServiceRecord = $($("#scDropDown")).find(":selected").val();
var selectedServiceRecord = $($("#scDropDown")).find(":selected").val();
makeAjaxCall("GET", actionPath, loadGoalsOnSuccess, { pCostbearer2SupportConceptOid: selectedServiceRecord }, null);
}
function toggleMenu() {
const menuDiv = $("#menu-div");
var menuDiv = $("#menu-div");
$(menuDiv).fadeToggle("fast");
}
function loadServiceDescriptions() {
const selectedCategory = $("#kategorien_select").find(":selected").val();
var selectedCategory = $("#kategorien_select").find(":selected").val();
makeAjaxCall("GET", loadServiceCategoriesUrl, loadServiceDescriptionsOnSuccess, { pServiceCategoryOid: selectedCategory }, null);
@@ -237,7 +237,7 @@ function setTextModule(moduleOid) {
}
function setTextbaustein() {
const selectedTextbausteinOid = $("#textbausteine_select").find(":selected").val();
var selectedTextbausteinOid = $("#textbausteine_select").find(":selected").val();
if (selectedTextbausteinOid > 0) {
makeAjaxCall("GET", loadCompleteTextbausteinByOidUrl, loadTextbausteinContentOnSuccess, { pTextbausteinOid: selectedTextbausteinOid }, null);
@@ -246,10 +246,10 @@ function setTextbaustein() {
function loadTextbausteinContentOnSuccess(textbausteintext) {
if (focusedDokuTextarea != null) {
const cursorPosition = focusedDokuTextarea.prop("selectionStart");
const v = focusedDokuTextarea.val();
const textBefore = v.substring(0, cursorPosition);
const textAfter = v.substring(cursorPosition, v.length);
var cursorPosition = focusedDokuTextarea.prop("selectionStart");
var v = focusedDokuTextarea.val();
var textBefore = v.substring(0, cursorPosition);
var textAfter = v.substring(cursorPosition, v.length);
focusedDokuTextarea.val(textBefore + textbausteintext + textAfter);
} else {
@@ -262,7 +262,7 @@ function updateGoals(cbId) {
}
function setServiceDescription() {
const sdOid = $("#leistungen_select").find(":selected").val();
var sdOid = $("#leistungen_select").find(":selected").val();
makeAjaxCall("GET", setServiceDescriptionUrl, function(kek) { }, { pServiceDescriptionOid: sdOid }, function(kek) { });
}
@@ -288,13 +288,13 @@ function selectServiceRecord(oid) {
var record = $.parseJSON(jsonServiceRecord);
const goals = record.Goals;
var goals = record.Goals;
var idArray = new Array();
var meinGoalsArray = new Array();
let j = 0;
for(let i = 0; i < goals.length; i++) {
var j = 0;
for(var i = 0; i < goals.length; i++) {
if(goals[i].ValueListEntryOid !== undefined) {
idArray[j] = goals[i].ValueListEntryOid;
j++;
@@ -364,7 +364,7 @@ function selectServiceRecord(oid) {
$("#kategorien_select").val(record.ServiceDescription.Category.ServiceCategoryOid);
const liste = $.parseJSON(result);
var liste = $.parseJSON(result);
$("#leistungen_select").empty();
$("#leistungen_select").val("");
@@ -446,11 +446,11 @@ function resetRecordForm() {
$("#kategorien_select").val($("#kategorien_select option").eq(0).val());
for(let i = 0; i < numberOfDocumentationTypes; i++) {
for(var i = 0; i < numberOfDocumentationTypes; i++) {
$('#notiz_textbox' + (i + 1)).val("");
}
const selectedCategory = $("#kategorien_select").find(":selected").val();
var selectedCategory = $("#kategorien_select").find(":selected").val();
if(isInEditingMode()) {
console.log('making ajax call to reset the editing mode');
@@ -480,8 +480,8 @@ function resetRecordForm() {
}
function toggleOnclick(element) {
const collapsedDiv = $(element).next("div");
const isHidden = "none" === $(collapsedDiv).css("display");
var collapsedDiv = $(element).next("div");
var isHidden = "none" === $(collapsedDiv).css("display");
var newIcon = "url('";
newIcon += isHidden ? toggleIconUContentUrl : toggleIconDContentUrl;
newIcon += "')";
@@ -491,8 +491,8 @@ function toggleOnclick(element) {
}
$(document).mouseup(function(e) {
const menu = $("#menu-div");
const menuBtn = $("#menu-btn");
var menu = $("#menu-div");
var menuBtn = $("#menu-btn");
if(!menu.is(e.target) && !menuBtn.is(e.target) && menu.has(e.target).length === 0) {
menu.fadeOut("fast");
@@ -510,8 +510,8 @@ function saveCreateServicerecod() {
}
function validateTimeField(id) {
const timeStr = $(id).val();
const zeitStr = id === "#start_textbox" ? "Start" : "End";
var timeStr = $(id).val();
var zeitStr = id === "#start_textbox" ? "Start" : "End";
if (timeStr !== "" && !zeitRegEx.test(timeStr)) {
showZeiterfassungsError('Bitte geben Sie eine ' + + 'xxx-Zeit in einem g&uuml;ltigen Format (HH:MM oder HHMM) an.');
@@ -526,19 +526,19 @@ recordToDelete = 0;
function togglePopup(serviceRecordOid) {
window.recordToDelete = serviceRecordOid;
const isShowing = $(".modalWrapper").css("display") === "none";
const displayValue = $(".modalWrapper").css("display") === "block" ? "none" : "block";
var isShowing = $(".modalWrapper").css("display") === "none";
var displayValue = $(".modalWrapper").css("display") === "block" ? "none" : "block";
toggleModalWrapper();
$("#popupDiv").css("display", displayValue);
if (isShowing) {
const titleOuterHeight = $("#popupTitle").outerHeight();
const textOuterHeight = $("#popupText").outerHeight();
const buttonDivOuterHeight = $("#popupBtnDiv").outerHeight();
const btnOuterHeight = $(".popupBtn").outerHeight();
var titleOuterHeight = $("#popupTitle").outerHeight();
var textOuterHeight = $("#popupText").outerHeight();
var buttonDivOuterHeight = $("#popupBtnDiv").outerHeight();
var btnOuterHeight = $(".popupBtn").outerHeight();
const newHeight = titleOuterHeight + textOuterHeight + buttonDivOuterHeight + btnOuterHeight + btnOuterHeight;
var newHeight = titleOuterHeight + textOuterHeight + buttonDivOuterHeight + btnOuterHeight + btnOuterHeight;
$("#popupDiv").css("height", newHeight + "px");
@@ -550,7 +550,7 @@ function togglePopup(serviceRecordOid) {
}
function toggleModalWrapper() {
const displayValue = $(".modalWrapper").css("display") === "block" ? "none" : "block";
var displayValue = $(".modalWrapper").css("display") === "block" ? "none" : "block";
$(".modalWrapper").css("display", displayValue);
$(".modalWrapper").css("height", $(document).height());
@@ -585,11 +585,11 @@ function validateServiceRecordBeforeSubmit() {
}
}
const dateStr = $("#datum_textbox").val();
const startStr = $("#start_textbox").val();
const endStr = $("#ende_textbox").val();
var dateStr = $("#datum_textbox").val();
var startStr = $("#start_textbox").val();
var endStr = $("#ende_textbox").val();
const x = getDateObj(true);
var x = getDateObj(true);
var y;
@@ -600,7 +600,7 @@ function validateServiceRecordBeforeSubmit() {
}
var vonDatum = getDateTimeStringWithLeadingZeros(x);
const bisDatum = getDateTimeStringWithLeadingZeros(y);
var bisDatum = getDateTimeStringWithLeadingZeros(y);
var isValidRecord = true;
@@ -624,8 +624,8 @@ function validateServiceRecordBeforeSubmit() {
var bookAfterSettlementInvoice = false;
$.each(meldungen.Rights, function(position) {
const value = meldungen.Rights[position];
const key = parseInt(position);
var value = meldungen.Rights[position];
var key = parseInt(position);
switch (key) {
case 0:
@@ -762,18 +762,18 @@ function initSignatureInfo(serviceRecordOid){
return;
}
const record = $.parseJSON(jsonServiceRecord);
var record = $.parseJSON(jsonServiceRecord);
const startDate = record.Start[18] === "1" ? "" : record.Start.slice(11, 16);
const endDate = record.End[18] === "1" ? "" : record.End.slice(11, 16);
const jahr = record.Start.slice(0, 4);
const monat = record.Start.slice(5, 7);
const tag = record.Start.slice(8, 10);
const datum = tag + "." + monat + "." + jahr;
const serviceDescriptionName = record.ServiceDescription.Name;
const serviceCategoryName = record.ServiceDescription.Category.Name;
var startDate = record.Start[18] === "1" ? "" : record.Start.slice(11, 16);
var endDate = record.End[18] === "1" ? "" : record.End.slice(11, 16);
var jahr = record.Start.slice(0, 4);
var monat = record.Start.slice(5, 7);
var tag = record.Start.slice(8, 10);
var datum = tag + "." + monat + "." + jahr;
var serviceDescriptionName = record.ServiceDescription.Name;
var serviceCategoryName = record.ServiceDescription.Category.Name;
const zahl2 = $("#scDropDown").val();
var zahl2 = $("#scDropDown").val();
$("#UnterschriftHilfeplan").val('HilfePlan: ' + $("#scDropDown option[value='" + zahl2 + "']").text());
$("#UnterschriftEmployee").val('Mitarbeiter: ' + record.Employee.FirstName + ' ' + record.Employee.LastName);
@@ -861,18 +861,18 @@ function initCalendar() {
$("html, body").animate({ scrollTop: 0 }, "fast");
var newtoday;
const datumStr = $("#KalenderDatum").val();
var datumStr = $("#KalenderDatum").val();
var nextdatum;
if(datumStr === "") {
nextdatum = new Date();
const ddi0 = nextdatum.getDate();
const mmi0 = nextdatum.getMonth() + 1;
const yyyyi0 = nextdatum.getFullYear();
var ddi0 = nextdatum.getDate();
var mmi0 = nextdatum.getMonth() + 1;
var yyyyi0 = nextdatum.getFullYear();
const ddStri0 = ddi0 < 10 ? "0" + ddi0 : ddi0;
const mmStri0 = mmi0 < 10 ? "0" + mmi0 : mmi0;
var ddStri0 = ddi0 < 10 ? "0" + ddi0 : ddi0;
var mmStri0 = mmi0 < 10 ? "0" + mmi0 : mmi0;
$("#KalenderDatum").val(yyyyi0 + "-" + mmStri0 + "-" + ddStri0);
@@ -885,15 +885,15 @@ function initCalendar() {
}
function initAppointmentEditForm() {
const currTime = new Date();
var currTime = new Date();
if (currTime.getMinutes() <= 30) {
const k = 30 - currTime.getMinutes();
var k = 30 - currTime.getMinutes();
currTime.setMinutes(currTime.getMinutes() + k);
}
if (currTime.getMinutes() > 30) {
const j = 60 - currTime.getMinutes();
var j = 60 - currTime.getMinutes();
currTime.setMinutes(currTime.getMinutes() + j);
}
@@ -932,12 +932,12 @@ function hideEditForm() {
}
function nextDayButtonClick() {
const nextdatum = new Date($("#KalenderDatum").val());
var nextdatum = new Date($("#KalenderDatum").val());
nextdatum.setDate((nextdatum.getDate() + 1));
$("#KalenderDatum").val(toDateStringYearMonthDay(nextdatum));
const newtoday = getDateStringWithLeadingZeros(nextdatum);
var newtoday = getDateStringWithLeadingZeros(nextdatum);
$("#KalenderDatumFormat").val(newtoday);
@@ -1049,7 +1049,7 @@ function loadUnterschriftFeldFunktion() {
if (e.touches) {
if (e.touches.length === 1) {
const touch = e.touches[0];
var touch = e.touches[0];
touchX = touch.pageX - touch.target.offsetLeft;
touchY = touch.pageY - touch.target.offsetTop;
}
@@ -1255,7 +1255,7 @@ function klientenLaden() {
showSanduhr();
const oid = parseInt($("#customersDropDown").find(":selected").val());
var oid = parseInt($("#customersDropDown").find(":selected").val());
if(oid === -1) {
$("#klientenTabelle").css("display", "none");
@@ -1336,7 +1336,7 @@ function KlientenVM() {
this.mobileLink('tel:' + data.Handy);
this.landLineLink('tel:' + data.Telefon);
const mappedUmfeldpersonen = $.map(data.Umfeldpersonen, function (item) { return new UmfPers(item); });
var mappedUmfeldpersonen = $.map(data.Umfeldpersonen, function (item) { return new UmfPers(item); });
if (mappedUmfeldpersonen.length === 0) {
$("#WohnheimContainer").css("display", "none");
@@ -1396,10 +1396,10 @@ function calcPropFieldMinSizes() {
$(".eigenschaftsdiv").each(
function (index, element) {
const x = $(element).clone().css({ "height": "auto", "width": "auto" }).appendTo("body");
var x = $(element).clone().css({ "height": "auto", "width": "auto" }).appendTo("body");
const temporaryWidth = x.outerWidth(true);
const temporaryHeight = x.outerHeight(true);
var temporaryWidth = x.outerWidth(true);
var temporaryHeight = x.outerHeight(true);
x.remove();
@@ -1419,7 +1419,7 @@ function calcPropFieldMinSizes() {
}
function updateEigenschaftsfelder() {
const customerTableWidth = $("#klientenTabelle").width();
var customerTableWidth = $("#klientenTabelle").width();
$("#map-canvas").css("width", customerTableWidth - 16);
$("#map-canvas").css("height", customerTableWidth - 16);
@@ -1428,7 +1428,7 @@ function updateEigenschaftsfelder() {
return;
}
const mitPadding = minSizes.minWidth;
var mitPadding = minSizes.minWidth;
var maxAnzahl = parseInt(customerTableWidth / mitPadding);
if(maxAnzahl > minSizes.divCount) {
@@ -1485,8 +1485,8 @@ function submitDeletionForm() {
}
function toggleErrorPopup(errorMessage, i) {
const isDisplayNone = $("#errorPopupDiv").css("display") === "none";
const displayValue = isDisplayNone ? "block" : "none";
var isDisplayNone = $("#errorPopupDiv").css("display") === "none";
var displayValue = isDisplayNone ? "block" : "none";
$("#errorPopupDiv").css("display", displayValue);
$(".modalWrapper").css("display", displayValue);
@@ -1510,12 +1510,12 @@ function toggleErrorPopup(errorMessage, i) {
$("#errorPopupOkBtn").onclick = "toggleErrorPopup('')";
}
const errorPopupTitleOuterHeight = $("#errorPopupTitle").outerHeight();
const errorPopupTextOuterHeight = $("#errorPopupText").outerHeight();
const errorPopupButtonOuterHeight = $("#errorPopupBtnDiv").outerHeight();
const errorPopupOkButtonOuterHeight = $("#errorPopupOkBtn").outerHeight();
var errorPopupTitleOuterHeight = $("#errorPopupTitle").outerHeight();
var errorPopupTextOuterHeight = $("#errorPopupText").outerHeight();
var errorPopupButtonOuterHeight = $("#errorPopupBtnDiv").outerHeight();
var errorPopupOkButtonOuterHeight = $("#errorPopupOkBtn").outerHeight();
const height = errorPopupTitleOuterHeight + errorPopupTextOuterHeight + errorPopupButtonOuterHeight + errorPopupOkButtonOuterHeight + errorPopupOkButtonOuterHeight;
var height = errorPopupTitleOuterHeight + errorPopupTextOuterHeight + errorPopupButtonOuterHeight + errorPopupOkButtonOuterHeight + errorPopupOkButtonOuterHeight;
$("#errorPopupDiv").css("height", height + "px");
@@ -1527,8 +1527,8 @@ function toggleErrorPopup(errorMessage, i) {
}
function toggleSuccessPopup(message, i) {
const isDisplayNone = $("#SuccessPopupDiv").css("display") === "none";
const displayValue = isDisplayNone ? "block" : "none";
var isDisplayNone = $("#SuccessPopupDiv").css("display") === "none";
var displayValue = isDisplayNone ? "block" : "none";
$("#SuccessPopupDiv").css("display", displayValue);
$(".modalWrapper").css("display", displayValue);
@@ -1554,13 +1554,13 @@ function toggleSuccessPopup(message, i) {
if(isDisplayNone) {
$("#SuccessPopupText").text(message);
const successPopupTitleOuterHeight = $("#SuccessPopupTitle").outerHeight();
const successPopupTextOuterHeight = $("#SuccessPopupText").outerHeight();
const successPopupButtonOuterHeight = $("#SuccessPopupBtnDiv").outerHeight();
const successPopupOkButtonOuterHeight = $(".SuccessPopupOkBtn").outerHeight();
const successPopupSignatureButtonOuterHeight = $(".SuccessPopupUSchrift").outerHeight();
var successPopupTitleOuterHeight = $("#SuccessPopupTitle").outerHeight();
var successPopupTextOuterHeight = $("#SuccessPopupText").outerHeight();
var successPopupButtonOuterHeight = $("#SuccessPopupBtnDiv").outerHeight();
var successPopupOkButtonOuterHeight = $(".SuccessPopupOkBtn").outerHeight();
var successPopupSignatureButtonOuterHeight = $(".SuccessPopupUSchrift").outerHeight();
const height = successPopupTitleOuterHeight + successPopupTextOuterHeight + successPopupButtonOuterHeight + successPopupOkButtonOuterHeight + successPopupSignatureButtonOuterHeight;
var height = successPopupTitleOuterHeight + successPopupTextOuterHeight + successPopupButtonOuterHeight + successPopupOkButtonOuterHeight + successPopupSignatureButtonOuterHeight;
$("#SuccessPopupDiv").css("height", height + "px");
@@ -1572,8 +1572,8 @@ function toggleSuccessPopup(message, i) {
}
function toggleUpdateAppointmentPopup(message) {
const isDisplayNone = $("#AendernPopupDiv").css("display") === "none";
const displayValue = isDisplayNone ? "block" : "none";
var isDisplayNone = $("#AendernPopupDiv").css("display") === "none";
var displayValue = isDisplayNone ? "block" : "none";
$("#AendernPopupDiv").css("display", displayValue);
$(".modalWrapper").css("display", displayValue);
@@ -1582,13 +1582,13 @@ function toggleUpdateAppointmentPopup(message) {
if(isDisplayNone) {
$("#AendernPopupText").text(message);
const aendernPopupTitleOuterHeight = $("#AendernPopupTitle").outerHeight();
const aenderPopupTextOuterHeight = $("#AendernPopupText").outerHeight();
const aendernPopupButtonDivOuterHeight = $("#AendernPopupBtnDiv").outerHeight();
const aendernPopupOkButtonOuterHeight = $(".AendernPopupOkBtn").outerHeight();
const aendernPopupSignatureOuterHeight = $(".AendernPopupUSchrift").outerHeight();
var aendernPopupTitleOuterHeight = $("#AendernPopupTitle").outerHeight();
var aenderPopupTextOuterHeight = $("#AendernPopupText").outerHeight();
var aendernPopupButtonDivOuterHeight = $("#AendernPopupBtnDiv").outerHeight();
var aendernPopupOkButtonOuterHeight = $(".AendernPopupOkBtn").outerHeight();
var aendernPopupSignatureOuterHeight = $(".AendernPopupUSchrift").outerHeight();
const height = aendernPopupTitleOuterHeight + aenderPopupTextOuterHeight + aendernPopupButtonDivOuterHeight + aendernPopupOkButtonOuterHeight + aendernPopupSignatureOuterHeight;
var height = aendernPopupTitleOuterHeight + aenderPopupTextOuterHeight + aendernPopupButtonDivOuterHeight + aendernPopupOkButtonOuterHeight + aendernPopupSignatureOuterHeight;
$("#AendernPopupDiv").css("height", height + "px");
@@ -1633,7 +1633,7 @@ function preselectCustomer() {
}
function setSelectedEmployee() {
const oid = parseInt($("#employeesDropDown").find(":selected").val());
var oid = parseInt($("#employeesDropDown").find(":selected").val());
console.log('selected employee oid: ' + oid);
@@ -1650,15 +1650,15 @@ function SaveOnly() {
if(typeof(Storage) != "undefined") {
clearLocalStorage(1);
const costBearer2SupportConceptOid = $("#scDropDown").val();
const hilfeplan = $("#scDropDown option[value='" + zahl + "']").text();
const mitarbeiter = $("#employeesDropDown option:selected").text();
const kategorie = $("#kategorien_select option:selected").text();
const leistung = $("#leistungen_select option:selected").val();
const duration = $("#duration_textbox").val();
let notiz = $("#notiz_textbox").val();
var costBearer2SupportConceptOid = $("#scDropDown").val();
var hilfeplan = $("#scDropDown option[value='" + zahl + "']").text();
var mitarbeiter = $("#employeesDropDown option:selected").text();
var kategorie = $("#kategorien_select option:selected").text();
var leistung = $("#leistungen_select option:selected").val();
var duration = $("#duration_textbox").val();
var notiz = $("#notiz_textbox").val();
let notiz2, notiz3, notiz4, notiz5;
var notiz2, notiz3, notiz4, notiz5;
if($("#notiz_textbox1").val() !== "") {
notiz = $("#notiz_textbox1").val();
@@ -1695,11 +1695,11 @@ function clearLocalStorage(i) {
}
function saveZeiterfassungAfterCrash(datum, startd, endd, dauer, doku, leistung, costBearer2SupportConceptOid, doku2, doku3, doku4, doku5, enddatum) {
const x = getDateObj(true);
const y = getDateObj(false);
var x = getDateObj(true);
var y = getDateObj(false);
const vonDatum = getDateTimeStringWithLeadingZeros(x);
const bisDatum = getDateTimeStringWithLeadingZeros(y);
var vonDatum = getDateTimeStringWithLeadingZeros(x);
var bisDatum = getDateTimeStringWithLeadingZeros(y);
if (costBearer2SupportConceptOid === -2) {
$.ajax({
@@ -1726,7 +1726,7 @@ function saveZeiterfassungAfterCrash(datum, startd, endd, dauer, doku, leistung,
data: { von: vonDatum, bis: bisDatum, inEditMode: false, dateString: datum, startString: startd, endString: endd, costbearerOId: costBearer2SupportConceptOid, leistung:leistung},
success: function (json) {
const hasSufficientRights = json;
var hasSufficientRights = json;
if (hasSufficientRights === "True") {
$.ajax({
@@ -1753,8 +1753,8 @@ function saveZeiterfassungAfterCrash(datum, startd, endd, dauer, doku, leistung,
}
function showErrorAfterCrash() {
const errorAfterCrashSwitch = $("#ErrorZeiterfassungAfterCrashSchalter");
const switchValue = errorAfterCrashSwitch.val();
var errorAfterCrashSwitch = $("#ErrorZeiterfassungAfterCrashSchalter");
var switchValue = errorAfterCrashSwitch.val();
var errorMessage = "";
if(switchValue === 2 || switchValue === 3) {
@@ -1784,8 +1784,8 @@ function focusOnTab(tabIdentifier) {
setTimeout(function() {
var displayValue;
for(let i = 0; i < window.numberOfDocumentationTypes; i++) {
const idNumber = i + 1;
for(var i = 0; i < window.numberOfDocumentationTypes; i++) {
var idNumber = i + 1;
displayValue = idNumber === tabIdentifier ? "block" : "none";
$('#notiz_textbox' + idNumber).css("display", displayValue);

View File

@@ -11,7 +11,7 @@ function showStatistics() {
$("#Statistics").css("display", "none");
$("#SupportStatistik").css("display", "block");
const supportConceptOid = $("#scDropDown").val();
var supportConceptOid = $("#scDropDown").val();
if(supportConceptOid >= 0) {
$("#StatisticUberschrift").html('Hilfeplan Statistik: ' + $('#scDropDown option[value=\'' + supportConceptOid + '\']').text());
@@ -27,7 +27,7 @@ function showStatistics() {
}
function statisticDesign(wert1, wert2, string1, string2) {
const data = [
var data = [
{
value: wert1,
color: "#F7464A",
@@ -41,7 +41,7 @@ function statisticDesign(wert1, wert2, string1, string2) {
label: string2
}];
const options = {
var options = {
scaleShowLabelBackdrop: true,
scaleBackdropColor: "rgba(255,255,255,0.75)",
scaleBeginAtZero: true,
@@ -65,7 +65,7 @@ function statisticDesign(wert1, wert2, string1, string2) {
"</ul>"
}
const ctx = $("#myChart").get(0).getContext("2d");
var ctx = $("#myChart").get(0).getContext("2d");
if(chartAnz != null) {
chartAnz.destroy();
@@ -80,7 +80,7 @@ function loadSupportConceptStatistics(oid) {
url: loadStatisticsUrl,
data: { oid: oid },
success: function(jsonServiceRecord) {
const supportConceptStatistics = $.parseJSON(jsonServiceRecord);
var supportConceptStatistics = $.parseJSON(jsonServiceRecord);
var provided = supportConceptStatistics.MinutesProvidedThisWeek;
var approved = supportConceptStatistics.MinutesApprovedPerWeek;

View File

@@ -9,11 +9,12 @@
});
}
function removeElementFromArray(pArray, pKey) {
const newArray = {};
for(let key in pArray) {
const keyAsNumber = Number(key);
function removeElementFromArray(pArray, pKey) {
var newArray = {};
for(var key in pArray) {
var keyAsNumber = Number(key);
if(keyAsNumber !== pKey) {
newArray[keyAsNumber] = pArray[keyAsNumber];
@@ -24,7 +25,7 @@ function removeElementFromArray(pArray, pKey) {
}
function toggleLabel(inputId) {
const label = $('label[for="' + inputId + '"]');
var label = $('label[for="' + inputId + '"]');
var topValue;
if($('#' + inputId).is(":focus")) {
@@ -42,7 +43,7 @@ function toggleLabel(inputId) {
}
function adjustLabel(inputId) {
const label = $('label[for="' + inputId + '"]');
var label = $('label[for="' + inputId + '"]');
var topValue;
topValue = "12px";
@@ -60,16 +61,19 @@ function isInEditingMode() {
function isElementInArray(array, element) {
try {
for(let item of array) {
if(item === element) {
return true;
}
}
return false;
} catch(error) {
var contains = false;
array.forEach(function (e, index) {
if (e === element) {
contains = true;
}
});
return contains;
} catch (error) {
console.log(error.message);
return false;
}
}

View File

@@ -1055,8 +1055,8 @@
url: CheckDokuReiterUrl,
success: function (json) {
const s = $.parseJSON(json);
const x = s.length;
var s = $.parseJSON(json);
var x = s.length;
if (x === 0) {
window.focusedDokuTextarea = $("#notiz_textbox");
@@ -1073,10 +1073,10 @@
serviceRecordEmployeeOid = '@Model.Employee.EmployeeOid';
function karteAnzeigen() {
const blubb = $("#adressfeld").html().split(' ');
var blubb = $("#adressfeld").html().split(' ');
var strString = "";
for(let it = 0; it < blubb.length; it++) {
for(var it = 0; it < blubb.length; it++) {
strString += blubb[it];
if(it < blubb.length - 1) {
@@ -1084,7 +1084,7 @@
}
}
strString += `,${$("#plzfeld").html()}+${$("#ortfeld").html()}`;
strString += ',' + $("#plzfeld").html()+$("#ortfeld").html();
window.open("https://www.google.de/maps/place/" + strString);
}

View File

@@ -7,7 +7,7 @@
<head>
<meta name="viewport" content="width=device-width" />
<title>Error</title>
<link rel="stylesheet" href="~/Content/BeWoMobileStyle.css?v=1.0" />
<link rel="stylesheet" href="~/Content/BeWoMobileStyle.css?v=1.1" />
</head>
<body>
<hgroup>

View File

@@ -7,21 +7,21 @@
<script src="https://code.jquery.com/jquery-1.11.2.min.js"></script>
<link rel="stylesheet" href="~/Content/datepicker_jQM.css?v=1.0" />
<link rel="stylesheet" href="~/Content/datepicker.css?v=1.0" />
<link rel="stylesheet" href="~/Content/BeWoMobileStyle.css?v=1.0" />
<link rel="stylesheet" href="~/Content/statisticsStyle.css?v=1.0" />
<link rel="stylesheet" href="~/Content/datepicker_jQM.css?v=1.1" />
<link rel="stylesheet" href="~/Content/datepicker.css?v=1.1" />
<link rel="stylesheet" href="~/Content/BeWoMobileStyle.css?v=1.1" />
<link rel="stylesheet" href="~/Content/statisticsStyle.css?v=1.1" />
<script src="~/Scripts/appointment.js?v=1.0"></script>
<script src="~/Scripts/utils.js?v=1.0"></script>
<script src="~/Scripts/mainView.js?v=1.0"></script>
<script src="~/Scripts/datepicker.js?v=1.0"></script>
<script src="~/Scripts/initialization.js?v=1.0"></script>
<script src="~/Scripts/calendar.js?v=1.0"></script>
<script src="~/Scripts/appointment.js?v=1.1"></script>
<script src="~/Scripts/utils.js?v=1.1"></script>
<script src="~/Scripts/mainView.js?v=1.1"></script>
<script src="~/Scripts/datepicker.js?v=1.1"></script>
<script src="~/Scripts/initialization.js?v=1.1"></script>
<script src="~/Scripts/calendar.js?v=1.1"></script>
<script src="~/Scripts/statistics.js?v=1.1"></script>
<script src="~/Scripts/gruppenbuchung.js?v=1.0"></script>
<script src="~/Scripts/dateHelper.js?v=1.0"></script>
<script src="~/Scripts/Chart.min.js?v=1.0"></script>
<script src="~/Scripts/gruppenbuchung.js?v=1.1"></script>
<script src="~/Scripts/dateHelper.js?v=1.1"></script>
<script src="~/Scripts/Chart.min.js?v=1.1"></script>
<script src="https://ajax.aspnetcdn.com/ajax/knockout/knockout-3.0.0.js"></script>
<script>$(function () { $(".date-input-css").datepicker(); })</script>
</head>

View File

@@ -118,9 +118,8 @@
<add key="PreserveLoginUrl" value="true"/>
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
<add key="MultitenancyPath" value="D:\Projects\BeWo\Host\Multitenancy\"/>
<!--<add key="MultitenancyPath" value="D:\Projects\beyondSoft\BeWoPlaner\BeWo\Host\Multitenancy\"/>-->
<!--<add key="MultitenancyPath" value="D:\Projects\beyondSoft\BeWoPlaner\BeWo\Host\Multitenancy"/>-->
<!--<add key="MultitenancyPath" value="D:\Projects\BeWo\Host\Multitenancy\"/>-->
<add key="MultitenancyPath" value="D:\Projects\beyondSoft\BeWoPlaner\BeWo\Host\Multitenancy\"/>
<add key="LicenseInfoUrl" value="https://support.bewoplaner.de/api/getlicensecount.php?k=[TENANT]" />
<add key="LicenseOrderUrl" value="https://support.bewoplaner.de/lizenzbestellung/?k=[TENANT]" />
<add key="LicenseCancellationUrl" value="https://support.bewoplaner.de/api/licencecancellation.php?k=[TENANT]" />

View File

@@ -24,7 +24,7 @@
</property>-->
<property name="connection.connection_string">
Server=localhost;Password=root;User ID=root;Initial Catalog=bewodemo
Server=localhost;Password=root;User ID=root;Initial Catalog=sbdtest
</property>
<property name="dialect">

View File

@@ -265,6 +265,7 @@ namespace CaritasGuenzburgNeuUlm
//
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice")});
this.xrTableCell17.Multiline = true;
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrTableCell17.StylePriority.UseFont = false;

View File

@@ -1,8 +1,10 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BeWo.Service.DCEntityMapper;
@@ -11,6 +13,7 @@ using BS.Shared.Core;
using BS.Shared.Extensions;
using DevExpress.XtraPrinting.Native;
using DevExpress.XtraReports.UI;
using Image = System.Drawing.Image;
namespace CaritasGuenzburgNeuUlm
{
@@ -34,9 +37,49 @@ namespace CaritasGuenzburgNeuUlm
if (s.IsBillable)
{
ServicesOverviewRO.CreateSignatureString(s);
ServicesOverviewRO.CreateGoalList(s);
minutes += s.Minutes;
servicesBillable.Add(s);
if (!String.IsNullOrWhiteSpace(s.GoalList))
{
if (!String.IsNullOrWhiteSpace(s.Notice))
{
s.Notice += "\n" + s.GoalList;
}
else
{
s.Notice = s.GoalList;
}
}
if (s.IsGroup)
{
var sr = DAOFactory.GenericDAO.LoadByID<ServiceRecord>(s.ServiceRecordOid);
StringBuilder ma = new StringBuilder();
foreach (var groupSr in sr.Group.ServiceRecordList)
{
String name = "";
if (!String.IsNullOrWhiteSpace(groupSr.Employee.Person.Abbreviation))
{
name = groupSr.Employee.Person.Abbreviation;
}
else
{
name = String.Format("{0}. {1}", groupSr.Employee.Person.FirstName.Substring(0, 1),
groupSr.Employee.Person.LastName);
}
if (!ma.ToString().Contains(name))
{
if (ma.Length > 0)
ma.Append(", ");
ma.Append(name);
}
}
s.EmployeeAbbr = ma.ToString();
}
}
}

View File

@@ -33,8 +33,15 @@
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<ItemGroup>
<Reference Include="DevExpress.Data.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Printing.v17.1.Core, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Utils.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraPrinting.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
@@ -45,8 +52,18 @@
<ItemGroup>
<Compile Include="Calculations\CustomServiceRecordStatisticFactory.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ServiceRecordListReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="ServiceRecordListReport.Designer.cs">
<DependentUpon>ServiceRecordListReport.cs</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Report\Report.csproj">
<Project>{40D8B312-EA64-49E3-A31A-5E57ED4D5654}</Project>
<Name>Report</Name>
</ProjectReference>
<ProjectReference Include="..\..\Service\Service.csproj">
<Project>{094331C3-ECEE-4C89-BBFD-4C9DED89F0EF}</Project>
<Name>Service</Name>
@@ -56,6 +73,12 @@
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="ServiceRecordListReport.resx">
<DependentUpon>ServiceRecordListReport.cs</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@@ -0,0 +1 @@
DevExpress.XtraReports.UI.XtraReport, DevExpress.XtraReports.v17.1, Version=17.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a

View File

@@ -53,7 +53,6 @@ namespace DiakonieNeustadtAisch
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
@@ -73,6 +72,10 @@ namespace DiakonieNeustadtAisch
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -88,13 +91,14 @@ namespace DiakonieNeustadtAisch
// xrTableCell3
//
this.xrTableCell3.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.RoundedDuration", "{0:0.##}")});
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.TimeRange")});
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableCell3.StylePriority.UseBorders = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "xrTableCell3";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell3.Weight = 0.81632653061224481D;
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell3.Weight = 0.68027210884353728D;
//
// xrTableCell1
//
@@ -114,6 +118,7 @@ namespace DiakonieNeustadtAisch
this.xrTableCell1,
this.xrTableCell2,
this.xrTableCell3,
this.xrTableCell14,
this.xrTableCell4});
this.xrTableRow1.FormattingRules.Add(this.formattingRuleGoalsInvisible);
this.xrTableRow1.Name = "xrTableRow1";
@@ -143,7 +148,7 @@ namespace DiakonieNeustadtAisch
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "xrTableCell4";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell4.Weight = 4.6054421768707483D;
this.xrTableCell4.Weight = 3.925170068027211D;
//
// formattingRuleGoalsInvisible
//
@@ -176,6 +181,7 @@ namespace DiakonieNeustadtAisch
this.xrTableCell9,
this.xrTableCell10,
this.xrTableCell11,
this.xrTableCell15,
this.cellGoalCaption,
this.xrTableCell12});
this.xrTableRow3.Name = "xrTableRow3";
@@ -197,7 +203,7 @@ namespace DiakonieNeustadtAisch
//
this.xrTableCell11.CanShrink = true;
this.xrTableCell11.Name = "xrTableCell11";
this.xrTableCell11.Weight = 0.81632653061224481D;
this.xrTableCell11.Weight = 0.68027210884353728D;
//
// cellGoalCaption
//
@@ -211,7 +217,7 @@ namespace DiakonieNeustadtAisch
this.cellGoalCaption.StylePriority.UseFont = false;
this.cellGoalCaption.StylePriority.UseTextAlignment = false;
this.cellGoalCaption.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.cellGoalCaption.Weight = 0.39823135064572668D;
this.cellGoalCaption.Weight = 0.39823135064572679D;
//
// xrTableCell12
//
@@ -225,7 +231,7 @@ namespace DiakonieNeustadtAisch
this.xrTableCell12.StylePriority.UseTextAlignment = false;
this.xrTableCell12.Text = "xrTableCell12";
this.xrTableCell12.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell12.Weight = 4.2072108262250216D;
this.xrTableCell12.Weight = 3.5269387173814843D;
//
// Detail1
//
@@ -276,6 +282,7 @@ namespace DiakonieNeustadtAisch
this.xrTableCell5,
this.xrTableCell6,
this.xrTableCell7,
this.xrTableCell13,
this.xrTableCell8});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Weight = 1.6D;
@@ -298,19 +305,16 @@ namespace DiakonieNeustadtAisch
//
// xrTableCell7
//
this.xrTableCell7.Multiline = true;
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Text = "Minuten";
this.xrTableCell7.Weight = 0.81632653061224481D;
this.xrTableCell7.Text = "Minuten\r\ndirekte Zeiten";
this.xrTableCell7.Weight = 0.68027210884353728D;
//
// xrTableCell8
//
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.Text = "Dokumentation";
this.xrTableCell8.Weight = 4.6054421768707483D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceRecordListRO);
this.xrTableCell8.Weight = 3.925170068027211D;
//
// ReportHeader
//
@@ -353,9 +357,9 @@ namespace DiakonieNeustadtAisch
//
this.xrPageInfo2.Font = new System.Drawing.Font("Arial", 8F);
this.xrPageInfo2.Format = "Seite {0} von {1}";
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(340F, 6.00001F);
this.xrPageInfo2.LocationFloat = new DevExpress.Utils.PointFloat(440F, 6.00001F);
this.xrPageInfo2.Name = "xrPageInfo2";
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(676.9998F, 23F);
this.xrPageInfo2.SizeF = new System.Drawing.SizeF(576.9998F, 23F);
this.xrPageInfo2.StyleName = "PageInfo";
this.xrPageInfo2.StylePriority.UseFont = false;
this.xrPageInfo2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
@@ -493,6 +497,34 @@ namespace DiakonieNeustadtAisch
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.Text = "xrLabel3";
//
// xrTableCell13
//
this.xrTableCell13.Multiline = true;
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.Text = "Minuten\r\nindirekte Zeiten";
this.xrTableCell13.Weight = 0.81632653061224492D;
//
// xrTableCell14
//
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "ServiceRecordDetailList.EmployeeFirstName")});
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableCell14.StylePriority.UsePadding = false;
this.xrTableCell14.StylePriority.UseTextAlignment = false;
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell14.Weight = 0.81632653061224492D;
//
// xrTableCell15
//
this.xrTableCell15.CanShrink = true;
this.xrTableCell15.Name = "xrTableCell15";
this.xrTableCell15.Weight = 0.81632653061224469D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.ServiceRecordListRO);
//
// Leistungen
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -571,5 +603,8 @@ namespace DiakonieNeustadtAisch
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell15;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
}
}

View File

@@ -1,3 +1,4 @@
using System;
using BeWo.Report;
using BeWo.Report.ReportObjects;
@@ -19,6 +20,16 @@ namespace DiakonieNeustadtAisch
{
foreach (var sd in pRO.ServiceRecordDetailList)
{
if (sd.ServiceDescription.ToLower().Contains("indirekt"))
{
sd.EmployeeFirstName = String.Format("{0:0.##}", sd.RoundedDuration);
sd.TimeRange = "";
}
else
{
sd.EmployeeFirstName = "";
sd.TimeRange = String.Format("{0:0.##}", sd.RoundedDuration);
}
//if (sd.IsBillable)
//{
// sd.EmployeeFirstName = sd.TimeRange;

View File

@@ -62,7 +62,6 @@ namespace LebenshilfeKoblenz
this.xrTableCell15 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell10 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
@@ -99,9 +98,6 @@ namespace LebenshilfeKoblenz
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.lblLeistungsnachweis = new DevExpress.XtraReports.UI.XRLabel();
this.formattingRuleServiceDesc = new DevExpress.XtraReports.UI.FormattingRule();
this.formattingRuleCostBearer = new DevExpress.XtraReports.UI.FormattingRule();
this.formattingRuleEmployeeName = new DevExpress.XtraReports.UI.FormattingRule();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.fieldArtDerLeistung = new DevExpress.XtraReports.UI.CalculatedField();
@@ -467,7 +463,6 @@ namespace LebenshilfeKoblenz
//
this.xrTableCell2.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.Notice3")});
this.xrTableCell2.FormattingRules.Add(this.formattingRuleStartDate);
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UsePadding = false;
@@ -475,13 +470,6 @@ namespace LebenshilfeKoblenz
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell2.Weight = 0.03082745138096224D;
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
this.formattingRuleStartDate.DataMember = "ServicesDouble";
this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.formattingRuleStartDate.Name = "formattingRuleStartDate";
//
// xrTableCell5
//
this.xrTableCell5.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
@@ -516,7 +504,6 @@ namespace LebenshilfeKoblenz
//
this.xrTableCell19.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Services.GoalList")});
this.xrTableCell19.FormattingRules.Add(this.formattingRuleStartDate);
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.StylePriority.UseFont = false;
this.xrTableCell19.StylePriority.UsePadding = false;
@@ -788,7 +775,6 @@ namespace LebenshilfeKoblenz
// cellSummeFa
//
this.cellSummeFa.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold);
this.cellSummeFa.FormattingRules.Add(this.formattingRuleStartDate);
this.cellSummeFa.Name = "cellSummeFa";
this.cellSummeFa.StylePriority.UseFont = false;
this.cellSummeFa.StylePriority.UsePadding = false;
@@ -826,7 +812,6 @@ namespace LebenshilfeKoblenz
// xrTableCell30
//
this.xrTableCell30.Font = new System.Drawing.Font("Arial", 10F);
this.xrTableCell30.FormattingRules.Add(this.formattingRuleStartDate);
this.xrTableCell30.Name = "xrTableCell30";
this.xrTableCell30.StylePriority.UseFont = false;
this.xrTableCell30.StylePriority.UsePadding = false;
@@ -970,27 +955,6 @@ namespace LebenshilfeKoblenz
this.lblLeistungsnachweis.Text = "Leistungsnachweis ambulante Hilfen";
this.lblLeistungsnachweis.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// formattingRuleServiceDesc
//
this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]";
this.formattingRuleServiceDesc.DataMember = "ServicesDouble";
this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc";
//
// formattingRuleCostBearer
//
this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]";
this.formattingRuleCostBearer.DataMember = "ServicesDouble";
this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.formattingRuleCostBearer.Name = "formattingRuleCostBearer";
//
// formattingRuleEmployeeName
//
this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]";
this.formattingRuleEmployeeName.DataMember = "ServicesDouble";
this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName";
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 70F;
@@ -1687,11 +1651,6 @@ namespace LebenshilfeKoblenz
this.fieldArtDerLeistung});
this.DataSource = this.bindingSource1;
this.Font = new System.Drawing.Font("Arial", 11F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.formattingRuleStartDate,
this.formattingRuleServiceDesc,
this.formattingRuleCostBearer,
this.formattingRuleEmployeeName});
this.Margins = new System.Drawing.Printing.Margins(50, 50, 70, 50);
this.PageHeight = 1169;
this.PageWidth = 827;
@@ -1730,10 +1689,6 @@ namespace LebenshilfeKoblenz
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
private DevExpress.XtraReports.UI.FormattingRule formattingRuleStartDate;
private DevExpress.XtraReports.UI.FormattingRule formattingRuleServiceDesc;
private DevExpress.XtraReports.UI.FormattingRule formattingRuleCostBearer;
private DevExpress.XtraReports.UI.FormattingRule formattingRuleEmployeeName;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
private DevExpress.XtraReports.UI.CalculatedField fieldArtDerLeistung;

View File

@@ -0,0 +1,969 @@
namespace SkmLeverkusen.Alt
{
partial class Spitzabrechnung
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Spitzabrechnung));
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow9 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell19 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow10 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell20 = new DevExpress.XtraReports.UI.XRTableCell();
this.ruleRateFactorNull = new DevExpress.XtraReports.UI.FormattingRule();
this.xrTableCell7 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow11 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell21 = new DevExpress.XtraReports.UI.XRTableCell();
this.rowErbrachteLeistung = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell22 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.RecipientPostCodeAndTown = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel_RecipientStreet = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel_RecipientDivision = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel_RecipientContactPerson = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.ReportFooter = new DevExpress.XtraReports.UI.ReportFooterBand();
this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell18 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell29 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell30 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell31 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel();
this.lblNotice = new DevExpress.XtraReports.UI.XRLabel();
this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand();
this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand();
this.GroupHeader1 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable5 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow15 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell23 = new DevExpress.XtraReports.UI.XRTableCell();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow30 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow31 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow32 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow33 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow34 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell54 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell55 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow35 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell56 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow36 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell57 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell58 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.HeightF = 0F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// ReportHeader
//
this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel9});
this.ReportHeader.Font = new System.Drawing.Font("Verdana", 10F);
this.ReportHeader.HeightF = 120F;
this.ReportHeader.Name = "ReportHeader";
this.ReportHeader.StylePriority.UseFont = false;
//
// xrLabel9
//
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(187.5F, 50F);
this.xrLabel9.Multiline = true;
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel9.SizeF = new System.Drawing.SizeF(292F, 17F);
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.Text = "\r\n";
//
// xrLabel8
//
this.xrLabel8.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceDate")});
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(350F, 190.875F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(225.7085F, 23F);
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.Text = "xrLabel8";
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrTable1
//
this.xrTable1.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 436.7916F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow9,
this.xrTableRow10,
this.xrTableRow11,
this.rowErbrachteLeistung});
this.xrTable1.SizeF = new System.Drawing.SizeF(650F, 68F);
this.xrTable1.StylePriority.UseBorderColor = false;
//
// xrTableRow9
//
this.xrTableRow9.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell19,
this.xrTableCell6});
this.xrTableRow9.Name = "xrTableRow9";
this.xrTableRow9.Weight = 0.085D;
//
// xrTableCell19
//
this.xrTableCell19.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell19.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)));
this.xrTableCell19.Name = "xrTableCell19";
this.xrTableCell19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell19.StylePriority.UseBorderColor = false;
this.xrTableCell19.StylePriority.UseBorders = false;
this.xrTableCell19.StylePriority.UseFont = false;
this.xrTableCell19.Text = "Bewilligte Fachleistungsstunden (FLS) gesamt:";
this.xrTableCell19.Weight = 0.78314100999098568D;
//
// xrTableCell6
//
this.xrTableCell6.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell6.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)));
this.xrTableCell6.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell6.StylePriority.UseBorderColor = false;
this.xrTableCell6.StylePriority.UseBorders = false;
this.xrTableCell6.StylePriority.UseFont = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.Text = "[ApprovedFLS]";
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell6.Weight = 0.21685899000901443D;
//
// xrTableRow10
//
this.xrTableRow10.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell20,
this.xrTableCell7});
this.xrTableRow10.FormattingRules.Add(this.ruleRateFactorNull);
this.xrTableRow10.Name = "xrTableRow10";
this.xrTableRow10.Weight = 0.085D;
//
// xrTableCell20
//
this.xrTableCell20.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell20.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
this.xrTableCell20.FormattingRules.Add(this.ruleRateFactorNull);
this.xrTableCell20.Name = "xrTableCell20";
this.xrTableCell20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell20.StylePriority.UseBorderColor = false;
this.xrTableCell20.StylePriority.UseBorders = false;
this.xrTableCell20.StylePriority.UseFont = false;
this.xrTableCell20.Text = "- zzgl. Faktor [RateFactorText2]:";
this.xrTableCell20.Weight = 0.78314100999098568D;
//
// ruleRateFactorNull
//
this.ruleRateFactorNull.Condition = "[RateFactorText2] == ?";
this.ruleRateFactorNull.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.ruleRateFactorNull.Name = "ruleRateFactorNull";
//
// xrTableCell7
//
this.xrTableCell7.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell7.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)));
this.xrTableCell7.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell7.FormattingRules.Add(this.ruleRateFactorNull);
this.xrTableCell7.Name = "xrTableCell7";
this.xrTableCell7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell7.StylePriority.UseBorderColor = false;
this.xrTableCell7.StylePriority.UseBorders = false;
this.xrTableCell7.StylePriority.UseFont = false;
this.xrTableCell7.StylePriority.UseTextAlignment = false;
this.xrTableCell7.Text = "[ApprovedFLSWithFactor]";
this.xrTableCell7.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell7.Weight = 0.21685899000901443D;
//
// xrTableRow11
//
this.xrTableRow11.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell21});
this.xrTableRow11.Name = "xrTableRow11";
this.xrTableRow11.Weight = 0.085D;
//
// xrTableCell21
//
this.xrTableCell21.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell21.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)));
this.xrTableCell21.Name = "xrTableCell21";
this.xrTableCell21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell21.StylePriority.UseBorderColor = false;
this.xrTableCell21.StylePriority.UseBorders = false;
this.xrTableCell21.Weight = 1D;
//
// rowErbrachteLeistung
//
this.rowErbrachteLeistung.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell22});
this.rowErbrachteLeistung.Name = "rowErbrachteLeistung";
this.rowErbrachteLeistung.Weight = 0.085D;
//
// xrTableCell22
//
this.xrTableCell22.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell22.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell22.Name = "xrTableCell22";
this.xrTableCell22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell22.StylePriority.UseBorderColor = false;
this.xrTableCell22.StylePriority.UseBorders = false;
this.xrTableCell22.StylePriority.UseFont = false;
this.xrTableCell22.Text = "Erbrachte Leistungen:";
this.xrTableCell22.Weight = 1D;
//
// xrLabel6
//
this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 361.7916F);
this.xrLabel6.Multiline = true;
this.xrLabel6.Name = "xrLabel6";
this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel6.SizeF = new System.Drawing.SizeF(642F, 67F);
this.xrLabel6.StylePriority.UseFont = false;
this.xrLabel6.Text = resources.GetString("xrLabel6.Text");
//
// xrLabel5
//
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 328.7917F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(317F, 17F);
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.Text = "Sehr geehrte Damen und Herren,";
//
// xrLabel4
//
this.xrLabel4.BackColor = System.Drawing.Color.Transparent;
this.xrLabel4.CanShrink = true;
this.xrLabel4.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 286.4583F);
this.xrLabel4.Multiline = true;
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(650F, 17F);
this.xrLabel4.StylePriority.UseBackColor = false;
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.Text = "[CustomerReferenceNumberAndDate]";
this.xrLabel4.WordWrap = false;
//
// xrLabel3
//
this.xrLabel3.BackColor = System.Drawing.Color.Transparent;
this.xrLabel3.CanShrink = true;
this.xrLabel3.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 270.4583F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(650F, 16F);
this.xrLabel3.StylePriority.UseBackColor = false;
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.Text = "Abrechnung Betreuungsleistungen für [Salutation2] [CustomerName]";
this.xrLabel3.WordWrap = false;
//
// xrLabel2
//
this.xrLabel2.BackColor = System.Drawing.Color.Transparent;
this.xrLabel2.CanShrink = true;
this.xrLabel2.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 253.4583F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(650F, 17F);
this.xrLabel2.StylePriority.UseBackColor = false;
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Rechnung Nr. [InvoiceNumber]";
this.xrLabel2.WordWrap = false;
//
// RecipientPostCodeAndTown
//
this.RecipientPostCodeAndTown.CanShrink = true;
this.RecipientPostCodeAndTown.LocationFloat = new DevExpress.Utils.PointFloat(0F, 68.00003F);
this.RecipientPostCodeAndTown.Name = "RecipientPostCodeAndTown";
this.RecipientPostCodeAndTown.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.RecipientPostCodeAndTown.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.RecipientPostCodeAndTown.SizeF = new System.Drawing.SizeF(292F, 17F);
this.RecipientPostCodeAndTown.StylePriority.UseFont = false;
this.RecipientPostCodeAndTown.Text = "[RecipientPostCodeAndTown]";
//
// xrLabel_RecipientStreet
//
this.xrLabel_RecipientStreet.CanShrink = true;
this.xrLabel_RecipientStreet.LocationFloat = new DevExpress.Utils.PointFloat(0F, 51.00002F);
this.xrLabel_RecipientStreet.Name = "xrLabel_RecipientStreet";
this.xrLabel_RecipientStreet.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel_RecipientStreet.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel_RecipientStreet.SizeF = new System.Drawing.SizeF(292F, 17F);
this.xrLabel_RecipientStreet.StylePriority.UseFont = false;
this.xrLabel_RecipientStreet.Text = "[RecipientStreet]";
//
// xrLabel_RecipientDivision
//
this.xrLabel_RecipientDivision.CanShrink = true;
this.xrLabel_RecipientDivision.LocationFloat = new DevExpress.Utils.PointFloat(0F, 34.00002F);
this.xrLabel_RecipientDivision.Name = "xrLabel_RecipientDivision";
this.xrLabel_RecipientDivision.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel_RecipientDivision.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel_RecipientDivision.SizeF = new System.Drawing.SizeF(292F, 17F);
this.xrLabel_RecipientDivision.StylePriority.UseFont = false;
this.xrLabel_RecipientDivision.Text = "[RecipientDivision]";
//
// xrLabel_RecipientContactPerson
//
this.xrLabel_RecipientContactPerson.CanShrink = true;
this.xrLabel_RecipientContactPerson.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17.00001F);
this.xrLabel_RecipientContactPerson.Name = "xrLabel_RecipientContactPerson";
this.xrLabel_RecipientContactPerson.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel_RecipientContactPerson.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel_RecipientContactPerson.SizeF = new System.Drawing.SizeF(292F, 17F);
this.xrLabel_RecipientContactPerson.StylePriority.UseFont = false;
this.xrLabel_RecipientContactPerson.Text = "[RecipientContactPerson]";
//
// xrLabel1
//
this.xrLabel1.CanShrink = true;
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel1.SizeF = new System.Drawing.SizeF(292F, 17F);
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.Text = "[RecipientOrganisation]";
//
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel10,
this.xrTable3,
this.xrLabel12,
this.lblNotice});
this.ReportFooter.Font = new System.Drawing.Font("Verdana", 10F);
this.ReportFooter.HeightF = 209F;
this.ReportFooter.KeepTogether = true;
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
// xrLabel10
//
this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 117F);
this.xrLabel10.Name = "xrLabel10";
this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel10.SizeF = new System.Drawing.SizeF(175F, 17F);
this.xrLabel10.StylePriority.UseFont = false;
this.xrLabel10.Text = "Mit freundlichen Grüßen";
//
// xrTable3
//
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 33F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow20,
this.xrTableRow21,
this.xrTableRow22,
this.xrTableRow23,
this.xrTableRow24});
this.xrTable3.SizeF = new System.Drawing.SizeF(650F, 68F);
this.xrTable3.StylePriority.UseFont = false;
//
// xrTableRow20
//
this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell16});
this.xrTableRow20.Name = "xrTableRow20";
this.xrTableRow20.Weight = 0.38095238095238093D;
//
// xrTableCell16
//
this.xrTableCell16.CanShrink = true;
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")});
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell16.StylePriority.UsePadding = false;
this.xrTableCell16.Text = "xrTableCell1";
this.xrTableCell16.Weight = 3D;
//
// xrTableRow21
//
this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell18});
this.xrTableRow21.Name = "xrTableRow21";
this.xrTableRow21.Weight = 0.23809523809523808D;
//
// xrTableCell18
//
this.xrTableCell18.Name = "xrTableCell18";
this.xrTableCell18.Weight = 3D;
//
// xrTableRow22
//
this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell29});
this.xrTableRow22.Name = "xrTableRow22";
this.xrTableRow22.Weight = 0.38095238095238088D;
//
// xrTableCell29
//
this.xrTableCell29.CanShrink = true;
this.xrTableCell29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AbsenceTimes")});
this.xrTableCell29.Name = "xrTableCell29";
this.xrTableCell29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell29.StylePriority.UsePadding = false;
this.xrTableCell29.Text = "xrTableCell4";
this.xrTableCell29.Weight = 3D;
//
// xrTableRow23
//
this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell30});
this.xrTableRow23.Name = "xrTableRow23";
this.xrTableRow23.Weight = 0.23809523809523803D;
//
// xrTableCell30
//
this.xrTableCell30.Name = "xrTableCell30";
this.xrTableCell30.Weight = 3D;
//
// xrTableRow24
//
this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell31});
this.xrTableRow24.Name = "xrTableRow24";
this.xrTableRow24.Weight = 0.38095238095238093D;
//
// xrTableCell31
//
this.xrTableCell31.CanShrink = true;
this.xrTableCell31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "FinalSentence")});
this.xrTableCell31.Name = "xrTableCell31";
this.xrTableCell31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell31.StylePriority.UsePadding = false;
this.xrTableCell31.Text = "xrTableCell8";
this.xrTableCell31.Weight = 3D;
//
// xrLabel12
//
this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(0F, 165.9584F);
this.xrLabel12.Multiline = true;
this.xrLabel12.Name = "xrLabel12";
this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel12.SizeF = new System.Drawing.SizeF(225F, 43.04161F);
this.xrLabel12.StylePriority.UseFont = false;
this.xrLabel12.Text = "Michael Zeihen\r\nBeWo Bereichsleitung";
//
// lblNotice
//
this.lblNotice.CanShrink = true;
this.lblNotice.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Italic);
this.lblNotice.LocationFloat = new DevExpress.Utils.PointFloat(0F, 7.999992F);
this.lblNotice.Name = "lblNotice";
this.lblNotice.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.lblNotice.SizeF = new System.Drawing.SizeF(250F, 25F);
this.lblNotice.StylePriority.UseFont = false;
this.lblNotice.Text = "Abschließende Bemerkungen:";
//
// topMarginBand1
//
this.topMarginBand1.HeightF = 100F;
this.topMarginBand1.Name = "topMarginBand1";
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 50F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// GroupHeader1
//
this.GroupHeader1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel7,
this.xrLabel1,
this.xrLabel_RecipientContactPerson,
this.xrLabel_RecipientDivision,
this.xrLabel_RecipientStreet,
this.RecipientPostCodeAndTown,
this.xrLabel2,
this.xrLabel3,
this.xrLabel4,
this.xrLabel5,
this.xrLabel6,
this.xrTable1,
this.xrLabel8});
this.GroupHeader1.Font = new System.Drawing.Font("Verdana", 10F);
this.GroupHeader1.HeightF = 504.7916F;
this.GroupHeader1.Name = "GroupHeader1";
this.GroupHeader1.StylePriority.UseFont = false;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.SettlementRO);
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail1});
this.DetailReport.DataMember = "InvoiceItems";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
//
// Detail1
//
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable5});
this.Detail1.Font = new System.Drawing.Font("Verdana", 10F);
this.Detail1.HeightF = 17F;
this.Detail1.Name = "Detail1";
this.Detail1.StylePriority.UseFont = false;
//
// xrTable5
//
this.xrTable5.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable5.Name = "xrTable5";
this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow15});
this.xrTable5.SizeF = new System.Drawing.SizeF(650F, 17F);
this.xrTable5.StylePriority.UseBorderColor = false;
//
// xrTableRow15
//
this.xrTableRow15.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell17,
this.xrTableCell23});
this.xrTableRow15.Name = "xrTableRow15";
this.xrTableRow15.Weight = 0.085D;
//
// xrTableCell17
//
this.xrTableCell17.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell17.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell17.CanShrink = true;
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.ItemDescription")});
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell17.StylePriority.UseBorderColor = false;
this.xrTableCell17.StylePriority.UseBorders = false;
this.xrTableCell17.StylePriority.UseFont = false;
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.Weight = 0.78314100999098546D;
//
// xrTableCell23
//
this.xrTableCell23.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell23.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell23.CanShrink = true;
this.xrTableCell23.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "InvoiceItems.GrossAmountTotal", "{0:c}")});
this.xrTableCell23.Name = "xrTableCell23";
this.xrTableCell23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell23.StylePriority.UseBorderColor = false;
this.xrTableCell23.StylePriority.UseBorders = false;
this.xrTableCell23.StylePriority.UseFont = false;
this.xrTableCell23.StylePriority.UsePadding = false;
this.xrTableCell23.StylePriority.UseTextAlignment = false;
this.xrTableCell23.Text = "xrTableCell23";
this.xrTableCell23.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell23.Weight = 0.21685899000901443D;
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable4});
this.GroupFooter1.Font = new System.Drawing.Font("Verdana", 10F);
this.GroupFooter1.HeightF = 132F;
this.GroupFooter1.Name = "GroupFooter1";
this.GroupFooter1.StylePriority.UseFont = false;
//
// xrTable4
//
this.xrTable4.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow30,
this.xrTableRow31,
this.xrTableRow32,
this.xrTableRow33,
this.xrTableRow34,
this.xrTableRow35,
this.xrTableRow36});
this.xrTable4.SizeF = new System.Drawing.SizeF(650F, 132F);
this.xrTable4.StylePriority.UseBorderColor = false;
//
// xrTableRow30
//
this.xrTableRow30.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell48});
this.xrTableRow30.Name = "xrTableRow30";
this.xrTableRow30.Weight = 0.085D;
//
// xrTableCell48
//
this.xrTableCell48.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell48.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell48.Name = "xrTableCell48";
this.xrTableCell48.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell48.StylePriority.UseBorderColor = false;
this.xrTableCell48.StylePriority.UseBorders = false;
this.xrTableCell48.Weight = 1D;
//
// xrTableRow31
//
this.xrTableRow31.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell49,
this.xrTableCell50});
this.xrTableRow31.Name = "xrTableRow31";
this.xrTableRow31.Weight = 0.085D;
//
// xrTableCell49
//
this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell49.Name = "xrTableCell49";
this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell49.StylePriority.UseBorders = false;
this.xrTableCell49.StylePriority.UseFont = false;
this.xrTableCell49.StylePriority.UsePadding = false;
this.xrTableCell49.Text = "Gesamtforderung:";
this.xrTableCell49.Weight = 0.78314100999098546D;
//
// xrTableCell50
//
this.xrTableCell50.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "AmountRecordedFLSString")});
this.xrTableCell50.Name = "xrTableCell50";
this.xrTableCell50.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell50.StylePriority.UseBorders = false;
this.xrTableCell50.StylePriority.UseFont = false;
this.xrTableCell50.StylePriority.UsePadding = false;
this.xrTableCell50.StylePriority.UseTextAlignment = false;
this.xrTableCell50.Text = "[AmountRecordedFLSString]";
this.xrTableCell50.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell50.Weight = 0.21685899000901443D;
//
// xrTableRow32
//
this.xrTableRow32.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell51});
this.xrTableRow32.Name = "xrTableRow32";
this.xrTableRow32.Weight = 0.085D;
//
// xrTableCell51
//
this.xrTableCell51.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell51.Name = "xrTableCell51";
this.xrTableCell51.StylePriority.UseBorders = false;
this.xrTableCell51.Weight = 1D;
//
// xrTableRow33
//
this.xrTableRow33.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell52,
this.xrTableCell53});
this.xrTableRow33.Name = "xrTableRow33";
this.xrTableRow33.Weight = 0.085D;
//
// xrTableCell52
//
this.xrTableCell52.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell52.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell52.Name = "xrTableCell52";
this.xrTableCell52.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell52.StylePriority.UseBorderColor = false;
this.xrTableCell52.StylePriority.UseBorders = false;
this.xrTableCell52.StylePriority.UseFont = false;
this.xrTableCell52.Text = "abzüglich der geleisteten Abschlagszahlung:";
this.xrTableCell52.Weight = 0.78314100999098568D;
//
// xrTableCell53
//
this.xrTableCell53.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell53.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell53.Name = "xrTableCell53";
this.xrTableCell53.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell53.StylePriority.UseBorderColor = false;
this.xrTableCell53.StylePriority.UseBorders = false;
this.xrTableCell53.StylePriority.UseFont = false;
this.xrTableCell53.StylePriority.UseTextAlignment = false;
this.xrTableCell53.Text = "[AmountAdvancedPayments]";
this.xrTableCell53.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell53.Weight = 0.21685899000901443D;
//
// xrTableRow34
//
this.xrTableRow34.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell54,
this.xrTableCell55});
this.xrTableRow34.Name = "xrTableRow34";
this.xrTableRow34.Weight = 0.085D;
//
// xrTableCell54
//
this.xrTableCell54.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell54.Name = "xrTableCell54";
this.xrTableCell54.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell54.StylePriority.UseBorders = false;
this.xrTableCell54.StylePriority.UsePadding = false;
this.xrTableCell54.Text = "abzüglich Eigenanteil:";
this.xrTableCell54.Weight = 0.78314100999098568D;
//
// xrTableCell55
//
this.xrTableCell55.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell55.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Eigenbeteiligung", "{0:c}")});
this.xrTableCell55.Name = "xrTableCell55";
this.xrTableCell55.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell55.StylePriority.UseBorders = false;
this.xrTableCell55.StylePriority.UsePadding = false;
this.xrTableCell55.StylePriority.UseTextAlignment = false;
this.xrTableCell55.Text = "xrTableCell15";
this.xrTableCell55.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell55.Weight = 0.21685899000901443D;
//
// xrTableRow35
//
this.xrTableRow35.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell56});
this.xrTableRow35.Name = "xrTableRow35";
this.xrTableRow35.Weight = 0.085D;
//
// xrTableCell56
//
this.xrTableCell56.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell56.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell56.Name = "xrTableCell56";
this.xrTableCell56.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell56.StylePriority.UseBorderColor = false;
this.xrTableCell56.StylePriority.UseBorders = false;
this.xrTableCell56.Weight = 1D;
//
// xrTableRow36
//
this.xrTableRow36.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell57,
this.xrTableCell58});
this.xrTableRow36.Name = "xrTableRow36";
this.xrTableRow36.Weight = 0.15D;
//
// xrTableCell57
//
this.xrTableCell57.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell57.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell57.Name = "xrTableCell57";
this.xrTableCell57.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell57.StylePriority.UseBorderColor = false;
this.xrTableCell57.StylePriority.UseBorders = false;
this.xrTableCell57.StylePriority.UseFont = false;
this.xrTableCell57.Text = "Restforderung:";
this.xrTableCell57.Weight = 0.78314100999098568D;
//
// xrTableCell58
//
this.xrTableCell58.BorderColor = System.Drawing.SystemColors.ControlLight;
this.xrTableCell58.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableCell58.Font = new System.Drawing.Font("Verdana", 10F, System.Drawing.FontStyle.Bold);
this.xrTableCell58.Name = "xrTableCell58";
this.xrTableCell58.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrTableCell58.StylePriority.UseBorderColor = false;
this.xrTableCell58.StylePriority.UseBorders = false;
this.xrTableCell58.StylePriority.UseFont = false;
this.xrTableCell58.StylePriority.UseTextAlignment = false;
this.xrTableCell58.Text = "[Claim]";
this.xrTableCell58.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
this.xrTableCell58.Weight = 0.21685899000901443D;
//
// xrLabel7
//
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(350F, 0F);
this.xrLabel7.Multiline = true;
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.ProcessNullValues = DevExpress.XtraReports.UI.ValueSuppressType.SuppressAndShrink;
this.xrLabel7.SizeF = new System.Drawing.SizeF(292F, 190.875F);
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "\r\n";
//
// Spitzabrechnung
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.ReportHeader,
this.ReportFooter,
this.topMarginBand1,
this.bottomMarginBand1,
this.GroupHeader1,
this.DetailReport,
this.GroupFooter1});
this.DataSource = this.bindingSource1;
this.ExportOptions.PrintPreview.DefaultFileName = "Spitzabrechnung";
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.ruleRateFactorNull});
this.Margins = new System.Drawing.Printing.Margins(75, 74, 100, 50);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private DevExpress.XtraReports.UI.DetailBand Detail;
private System.Windows.Forms.BindingSource bindingSource1;
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
private DevExpress.XtraReports.UI.XRLabel xrLabel6;
private DevExpress.XtraReports.UI.XRLabel xrLabel5;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRLabel RecipientPostCodeAndTown;
private DevExpress.XtraReports.UI.XRLabel xrLabel_RecipientStreet;
private DevExpress.XtraReports.UI.XRLabel xrLabel_RecipientDivision;
private DevExpress.XtraReports.UI.XRLabel xrLabel_RecipientContactPerson;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.ReportFooterBand ReportFooter;
private DevExpress.XtraReports.UI.XRLabel lblNotice;
private DevExpress.XtraReports.UI.XRLabel xrLabel12;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell19;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow10;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell20;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell7;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow11;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell21;
private DevExpress.XtraReports.UI.XRTableRow rowErbrachteLeistung;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell22;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
private DevExpress.XtraReports.UI.XRTable xrTable3;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow20;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow21;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell18;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow22;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell29;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow23;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell30;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow24;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell31;
private DevExpress.XtraReports.UI.XRLabel xrLabel10;
private DevExpress.XtraReports.UI.FormattingRule ruleRateFactorNull;
private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1;
private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1;
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader1;
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.DetailBand Detail1;
private DevExpress.XtraReports.UI.XRTable xrTable5;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow15;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell23;
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
private DevExpress.XtraReports.UI.XRTable xrTable4;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow30;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell48;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow31;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell49;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell50;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow32;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell51;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow33;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell52;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell53;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow34;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell54;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell55;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow35;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell56;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow36;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell57;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell58;
private DevExpress.XtraReports.UI.XRLabel xrLabel7;
}
}

View File

@@ -0,0 +1,222 @@
using System;
using System.Collections.Generic;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BS.Shared.DataContracts;
namespace SkmLeverkusen.Alt
{
public partial class Spitzabrechnung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<SettlementRO>
{
public Spitzabrechnung()
{
InitializeComponent();
}
public void SetReportDataSource(SettlementRO pRO)
{
bool isDefaultSpitzabrechnung = false;
if (String.IsNullOrEmpty(pRO.Notice))
{
lblNotice.Visible = false;
}
if (pRO.InvoiceItems != null && pRO.InvoiceItems.Count == 1)
{
var ii = pRO.InvoiceItems[0];
if ((ii.ItemDescription == "Spitzabrechung" || ii.ItemDescription == "Spitzabrechnung") && ii.GrossAmountTotal == null && ii.RateFactor == null)
{
isDefaultSpitzabrechnung = true;
}
}
if (!isDefaultSpitzabrechnung)
{
if (pRO.DifferentHourlyRateCount > 0 && pRO.HourlyRateNew.HasValue)
{
isDefaultSpitzabrechnung = true;
}
}
if (isDefaultSpitzabrechnung)
{
//UpdateAbrechnungsFelder(pRO);
pRO.InvoiceItems = CreateDefaultSpitzabrechnungInvoiceItems(pRO);
}
else
{
var id = GetCustomerId(pRO);
if (id == "LWLNEU")
{
pRO.RateFactorText = null;
pRO.RateFactorText2 = null;
if (pRO.InvoiceItems != null)
{
foreach (var ii in pRO.InvoiceItems)
{
ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} FLS x {3:c}",
ii.ItemPeriodStart, ii.ItemPeriodEnd, ii.UnitCount, ii.AmountPerUnit);
}
}
}
else
{
if (pRO.InvoiceItems != null)
{
foreach (var ii in pRO.InvoiceItems)
{
ii.ItemDescription = String.Format("{0:dd.MM.yyyy} bis {1:dd.MM.yyyy}: {2:0.##} FLS {3}x {4:c}",
ii.ItemPeriodStart, ii.ItemPeriodEnd,
ii.UnitCount, ii.RateFactor == 0 ? "" : "x " + pRO.RateFactorText2 + " ",
ii.AmountPerUnit);
}
}
}
}
this.bindingSource1.DataSource = pRO;
}
private String GetCustomerId(SettlementRO pRO)
{
var cb2sc = DAOFactory.GenericDAO.LoadByID<CostBearer2SupportConcept>(pRO.CostBearer2SupportConceptOid);
return cb2sc.CostBearer.ID;
}
private IList<InvoiceItemDC> CreateDefaultSpitzabrechnungInvoiceItems(SettlementRO pRO)
{
IList<InvoiceItemDC> itemList = new List<InvoiceItemDC>();
if (pRO.DifferentHourlyRateCount == 3)
{
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString,
pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatz3 * pRO.RateFactor * pRO.HourlyRate3
});
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString,
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * pRO.RateFactor * pRO.HourlyRateOld
});
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString,
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
});
}
else if (pRO.DifferentHourlyRateCount == 2)
{
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString,
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld
});
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString,
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
});
}
else
{
itemList.Add(new InvoiceItemDC
{
ItemDescription = String.Format("{0} bis {1}: {2:0.##} FLS {3}x {4:c}",
pRO.AccountingStartDateString, pRO.AccountingEndDateString,
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew),
GrossAmountTotal = pRO.GeleisteteFLSMitStundensatzAktuell * pRO.RateFactor * pRO.HourlyRateNew
});
}
return itemList;
}
private void UpdateAbrechnungsFelder(SettlementRO pRO)
{
if (pRO.DifferentHourlyRateCount == 3)
{
//Erbrachte Leistungen (FLS) - bis [HourlyRateOldEndDateString] à [HourlyRateOldString] €
pRO.Abrechnungstext1 = String.Format("{0} bis {1}",
pRO.AccountingStartDateString, pRO.HourlyRate3EndDateString);
pRO.Abrechnungstext1 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatz3, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRate3);
//[AccountingStartDateString] - [HourlyRate3EndDateString] sind [RecordedFLSWithHourlyRate3String] Std. x [HourlyRate3String] € =";
pRO.Betrag1 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatz3 * (decimal)pRO.RateFactor * pRO.HourlyRate3);
pRO.Abrechnungstext2 = String.Format("{0} bis {1}",
pRO.HourlyRateOldStartDateString, pRO.HourlyRateOldEndDateString);
pRO.Abrechnungstext2 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld);
pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld);
pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString);
pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
}
else if (pRO.DifferentHourlyRateCount == 2)
{
pRO.Abrechnungstext2 = String.Format("{0} bis {1}",
pRO.AccountingStartDateString, pRO.HourlyRateOldEndDateString);
pRO.Abrechnungstext2 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAlt, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateOld);
pRO.Betrag2 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAlt * (decimal)pRO.RateFactor * pRO.HourlyRateOld);
pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
pRO.HourlyRateNewStartDateString, pRO.AccountingEndDateString);
pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
}
else
{
pRO.Abrechnungstext3 = String.Format("{0} bis {1}",
pRO.AccountingStartDateString, pRO.AccountingEndDateString);
pRO.Abrechnungstext3 += String.Format(": {0:0.##} FLS {1}x {2:c}",
pRO.GeleisteteFLSMitStundensatzAktuell, pRO.RateFactor == 1 ? "" : "x " + pRO.RateFactorText2 + " ", pRO.HourlyRateNew);
pRO.Betrag3 = String.Format("{0:c}", pRO.GeleisteteFLSMitStundensatzAktuell * (decimal)pRO.RateFactor * pRO.HourlyRateNew);
}
}
}
}

View File

@@ -0,0 +1,127 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="xrLabel6.Text" xml:space="preserve">
<value>anbei sende ich Ihnen die unterschriebenen Nachweise über die im Rahmen des Betreuten Wohnens für [Salutation2] [CustomerName] erbrachten Leistungen zu. Nach unserer Berechnung ergeben sich für den Betreuungszeitraum [AccountingPeriod] hieraus:
</value>
</data>
<metadata name="bindingSource1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

View File

@@ -55,18 +55,36 @@
<Compile Include="ServicesOverviewReport.Designer.cs">
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
</Compile>
<Compile Include="SettlementReport.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="SettlementReport.Designer.cs">
<DependentUpon>SettlementReport.cs</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="ServicesOverviewReport.resx">
<DependentUpon>ServicesOverviewReport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="SettlementReport.resx">
<DependentUpon>SettlementReport.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\Data\Data.csproj">
<Project>{B0D73E3D-4AE7-4024-93A6-DB1F46D7CCEE}</Project>
<Name>Data</Name>
</ProjectReference>
<ProjectReference Include="..\..\Report\Report.csproj">
<Project>{40D8B312-EA64-49E3-A31A-5E57ED4D5654}</Project>
<Name>Report</Name>
</ProjectReference>
<ProjectReference Include="..\..\Shared\Shared.csproj">
<Project>{2F50B83D-A3F0-4EC4-979A-3F9B7E3D8ED4}</Project>
<Name>Shared</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>

View File

@@ -88,6 +88,8 @@ namespace SkmRheydt
this.fieldBillableFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldAbrechenbareFLS = new DevExpress.XtraReports.UI.CalculatedField();
this.fieldGruppe = new DevExpress.XtraReports.UI.CalculatedField();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
@@ -341,9 +343,6 @@ namespace SkmRheydt
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
this.formattingRuleStartDate.DataMember = "ServicesDouble";
//
//
//
this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.formattingRuleStartDate.Name = "formattingRuleStartDate";
//
@@ -536,9 +535,6 @@ namespace SkmRheydt
//
this.formattingRuleServiceDesc.Condition = "[StartDate2] < [StartDate]";
this.formattingRuleServiceDesc.DataMember = "ServicesDouble";
//
//
//
this.formattingRuleServiceDesc.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.formattingRuleServiceDesc.Name = "formattingRuleServiceDesc";
//
@@ -546,9 +542,6 @@ namespace SkmRheydt
//
this.formattingRuleCostBearer.Condition = "[StartDate2] < [StartDate]";
this.formattingRuleCostBearer.DataMember = "ServicesDouble";
//
//
//
this.formattingRuleCostBearer.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.formattingRuleCostBearer.Name = "formattingRuleCostBearer";
//
@@ -556,9 +549,6 @@ namespace SkmRheydt
//
this.formattingRuleEmployeeName.Condition = "[StartDate2] < [StartDate]";
this.formattingRuleEmployeeName.DataMember = "ServicesDouble";
//
//
//
this.formattingRuleEmployeeName.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.formattingRuleEmployeeName.Name = "formattingRuleEmployeeName";
//
@@ -577,12 +567,14 @@ namespace SkmRheydt
// ReportFooter
//
this.ReportFooter.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel3,
this.xrLabel4,
this.xrLabel2,
this.xrLabel1,
this.xrLabel7,
this.xrLabel5});
this.ReportFooter.Font = new System.Drawing.Font("Arial", 11F);
this.ReportFooter.HeightF = 124.4583F;
this.ReportFooter.HeightF = 193F;
this.ReportFooter.Name = "ReportFooter";
this.ReportFooter.StylePriority.UseFont = false;
//
@@ -602,7 +594,7 @@ namespace SkmRheydt
//
this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrLabel1.Font = new System.Drawing.Font("Arial", 11F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 35.41667F);
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 35F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(650F, 22F);
@@ -613,21 +605,21 @@ namespace SkmRheydt
// xrLabel7
//
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(370F, 106.4583F);
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(345.0002F, 105F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(280F, 17.99997F);
this.xrLabel7.SizeF = new System.Drawing.SizeF(304.9998F, 17.99997F);
this.xrLabel7.StylePriority.UseBorders = false;
this.xrLabel7.StylePriority.UseFont = false;
this.xrLabel7.Text = "Unterschrift A Klient/in";
this.xrLabel7.Text = "Unterschrift Klient/in";
//
// xrLabel5
//
this.xrLabel5.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 106.4583F);
this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 105F);
this.xrLabel5.Name = "xrLabel5";
this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(370F, 17.99997F);
this.xrLabel5.SizeF = new System.Drawing.SizeF(345.0002F, 17.99997F);
this.xrLabel5.StylePriority.UseBorders = false;
this.xrLabel5.StylePriority.UseFont = false;
this.xrLabel5.Text = "Ort, Datum";
@@ -658,6 +650,28 @@ namespace SkmRheydt
this.fieldGruppe.FieldType = DevExpress.XtraReports.UI.FieldType.String;
this.fieldGruppe.Name = "fieldGruppe";
//
// xrLabel3
//
this.xrLabel3.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 175F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(345.0002F, 17.99997F);
this.xrLabel3.StylePriority.UseBorders = false;
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.Text = "Ort, Datum";
//
// xrLabel4
//
this.xrLabel4.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(345.0002F, 175F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(304.9998F, 17.99997F);
this.xrLabel4.StylePriority.UseBorders = false;
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.Text = "Unterschrift verantwortliche/r Mitarbeiter/in";
//
// Stundenzettel
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
@@ -683,7 +697,7 @@ namespace SkmRheydt
this.PageWidth = 827;
this.PaperKind = System.Drawing.Printing.PaperKind.A4;
this.SnapGridSize = 9F;
this.Version = "13.1";
this.Version = "17.1";
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
@@ -752,5 +766,7 @@ namespace SkmRheydt
private DevExpress.XtraReports.UI.XRPictureBox xrPictureBox1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell24;
private DevExpress.XtraReports.UI.XRRichText xrRichText15;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
}
}

View File

@@ -125,7 +125,7 @@ namespace BeWo.Service.Plugins
//t = "8872796313"; // WMB
//t = "6297638711"; // ASB Bergisch Gladbach
//t = "5553641242"; // RheinSupport (ehem. Aids und Drogenberatung)
t = "1218057423"; // LH Koblenz
//t = "1218057423"; // LH Koblenz
//t = "3517812158"; // Haus Theresia
//t = "7058292376"; // BeWo Heinsberg
//t = "3227700467"; // Psychosozialer Trägerverein
@@ -180,7 +180,7 @@ namespace BeWo.Service.Plugins
//t = "1931553444"; // HIBA
//t = "7185338722"; // BeWo Walz & Paiva
//t = "3196643272"; // Betreutes Wohnen Lisa Wöll
//t = "3432911735"; // Caritas Günzburg - Neu Ulm
t = "3432911735"; // Caritas Günzburg - Neu Ulm
//t = "2591682148"; // Humanitas
//t = "9805564204"; // LeWo Aachen
//t = "7215356798"; // Triathlon

View File

@@ -538,18 +538,23 @@ namespace BS.Shared.Core
if (x > max.X) max.X = x;
if (y > max.Y) max.Y = y;
}
}
}
}
// Create a new bitmap from the crop rectangle
Rectangle cropRectangle = new Rectangle(min.X, min.Y, max.X - min.X, max.Y - min.Y);
Bitmap newBitmap = new Bitmap(cropRectangle.Width, cropRectangle.Height);
using (Graphics g = Graphics.FromImage(newBitmap))
// Create a new bitmap from the crop rectangleig
if (min.X < int.MaxValue && min.Y < int.MaxValue && max.X > int.MinValue && max.Y > int.MinValue)
{
g.DrawImage(originalBitmap, 0, 0, cropRectangle, GraphicsUnit.Pixel);
Rectangle cropRectangle = new Rectangle(min.X, min.Y, max.X - min.X, max.Y - min.Y);
Bitmap newBitmap = new Bitmap(cropRectangle.Width, cropRectangle.Height);
using (Graphics g = Graphics.FromImage(newBitmap))
{
g.DrawImage(originalBitmap, 0, 0, cropRectangle, GraphicsUnit.Pixel);
}
return newBitmap;
}
return newBitmap;
return originalBitmap;
}
private static Size CalcSize(int originalWidth, int originalHeight, int desiredWidth, int desiredHeight)