Lebenshilfe Frankfurt Oder: Neue Anwesenheitsliste für Früh- und Spätbetreuung

This commit is contained in:
2025-12-10 18:14:27 +01:00
parent 33a5d332ac
commit b798fec182
12 changed files with 5024 additions and 351 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

View File

@@ -30,6 +30,7 @@
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AnwesenheitFerien));
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.TopMargin = new DevExpress.XtraReports.UI.TopMarginBand();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
@@ -110,8 +111,17 @@
this.xrTableCell62 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell63 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell64 = new DevExpress.XtraReports.UI.XRTableCell();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell79 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell80 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell83 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell84 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell81 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell82 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
@@ -147,21 +157,12 @@
this.cellSumme29 = new DevExpress.XtraReports.UI.XRTableCell();
this.cellSumme30 = new DevExpress.XtraReports.UI.XRTableCell();
this.cellSumme31 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTable4 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell79 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell80 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow8 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell83 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell84 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableRow7 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell81 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell82 = 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();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
@@ -177,7 +178,6 @@
this.xrLabel1,
this.xrPictureBox1,
this.xrLabel8});
this.TopMargin.HeightF = 100F;
this.TopMargin.Name = "TopMargin";
this.TopMargin.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.TopMargin.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
@@ -186,7 +186,8 @@
//
this.xrLabel1.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel1.CanGrow = false;
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 90.41667F);
this.xrLabel1.Multiline = true;
this.xrLabel1.Name = "xrLabel1";
@@ -199,7 +200,7 @@
//
// xrPictureBox1
//
this.xrPictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("xrPictureBox1.Image")));
this.xrPictureBox1.ImageSource = new DevExpress.XtraPrinting.Drawing.ImageSource("img", resources.GetString("xrPictureBox1.ImageSource"));
this.xrPictureBox1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 30.83335F);
this.xrPictureBox1.Name = "xrPictureBox1";
this.xrPictureBox1.SizeF = new System.Drawing.SizeF(209.1667F, 59.58332F);
@@ -209,11 +210,11 @@
// xrLabel8
//
this.xrLabel8.CanGrow = false;
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(808.9373F, 30.83335F);
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(808.9372F, 30.83333F);
this.xrLabel8.Multiline = true;
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(143.9998F, 42.91666F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(188.9998F, 59.16666F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.Text = "Frankfurt (Oder)\r\nHansastraße 3\r\n15234 Frankfurt (Oder)";
@@ -881,10 +882,6 @@
this.xrTableCell64.Text = "xrTableCell64";
this.xrTableCell64.Weight = 0.017513786439113284D;
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(LebenshilfeFrankfurtOder.AnwesenheitRO);
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
@@ -895,10 +892,94 @@
this.GroupFooter1.KeepTogether = true;
this.GroupFooter1.Name = "GroupFooter1";
//
// xrTable4
//
this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 61.87505F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6,
this.xrTableRow8,
this.xrTableRow7});
this.xrTable4.SizeF = new System.Drawing.SizeF(275F, 60F);
this.xrTable4.StylePriority.UseBackColor = false;
this.xrTable4.StylePriority.UseBorders = false;
this.xrTable4.StylePriority.UseFont = false;
this.xrTable4.StylePriority.UsePadding = false;
this.xrTable4.StylePriority.UseTextAlignment = false;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell79,
this.xrTableCell80});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 0.95390268477989137D;
//
// xrTableCell79
//
this.xrTableCell79.CanGrow = false;
this.xrTableCell79.Name = "xrTableCell79";
this.xrTableCell79.StylePriority.UseTextAlignment = false;
this.xrTableCell79.Text = "K";
this.xrTableCell79.Weight = 0.019181406961602476D;
//
// xrTableCell80
//
this.xrTableCell80.CanGrow = false;
this.xrTableCell80.Name = "xrTableCell80";
this.xrTableCell80.StylePriority.UseTextAlignment = false;
this.xrTableCell80.Text = "krank";
this.xrTableCell80.Weight = 0.15664811984879934D;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell83,
this.xrTableCell84});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 0.95390268477989137D;
//
// xrTableCell83
//
this.xrTableCell83.Name = "xrTableCell83";
this.xrTableCell83.Text = "E";
this.xrTableCell83.Weight = 0.019181406961602476D;
//
// xrTableCell84
//
this.xrTableCell84.Name = "xrTableCell84";
this.xrTableCell84.Text = "entschuldigt - Nachweis erbracht";
this.xrTableCell84.Weight = 0.15664811984879934D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell81,
this.xrTableCell82});
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.Weight = 0.95390268477989137D;
//
// xrTableCell81
//
this.xrTableCell81.Name = "xrTableCell81";
this.xrTableCell81.Text = "UE";
this.xrTableCell81.Weight = 0.019181406961602476D;
//
// xrTableCell82
//
this.xrTableCell82.Name = "xrTableCell82";
this.xrTableCell82.Text = "unentschuldigtes Fehlen";
this.xrTableCell82.Weight = 0.15664811984879934D;
//
// xrLabel7
//
this.xrLabel7.Borders = DevExpress.XtraPrinting.BorderSide.Top;
this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel7.Font = new DevExpress.Drawing.DXFont("Arial", 9F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(712.9399F, 128.5417F);
this.xrLabel7.Name = "xrLabel7";
this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
@@ -1189,88 +1270,9 @@
this.cellSumme31.StylePriority.UseFont = false;
this.cellSumme31.Weight = 0.017513786439113284D;
//
// xrTable4
// bindingSource1
//
this.xrTable4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 61.87505F);
this.xrTable4.Name = "xrTable4";
this.xrTable4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6,
this.xrTableRow8,
this.xrTableRow7});
this.xrTable4.SizeF = new System.Drawing.SizeF(275F, 60F);
this.xrTable4.StylePriority.UseBackColor = false;
this.xrTable4.StylePriority.UseBorders = false;
this.xrTable4.StylePriority.UseFont = false;
this.xrTable4.StylePriority.UsePadding = false;
this.xrTable4.StylePriority.UseTextAlignment = false;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell79,
this.xrTableCell80});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Weight = 0.95390268477989137D;
//
// xrTableCell79
//
this.xrTableCell79.CanGrow = false;
this.xrTableCell79.Name = "xrTableCell79";
this.xrTableCell79.StylePriority.UseTextAlignment = false;
this.xrTableCell79.Text = "K";
this.xrTableCell79.Weight = 0.019181406961602476D;
//
// xrTableCell80
//
this.xrTableCell80.CanGrow = false;
this.xrTableCell80.Name = "xrTableCell80";
this.xrTableCell80.StylePriority.UseTextAlignment = false;
this.xrTableCell80.Text = "krank";
this.xrTableCell80.Weight = 0.15664811984879934D;
//
// xrTableRow8
//
this.xrTableRow8.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell83,
this.xrTableCell84});
this.xrTableRow8.Name = "xrTableRow8";
this.xrTableRow8.Weight = 0.95390268477989137D;
//
// xrTableCell83
//
this.xrTableCell83.Name = "xrTableCell83";
this.xrTableCell83.Text = "E";
this.xrTableCell83.Weight = 0.019181406961602476D;
//
// xrTableCell84
//
this.xrTableCell84.Name = "xrTableCell84";
this.xrTableCell84.Text = "entschuldigt - Nachweis erbracht";
this.xrTableCell84.Weight = 0.15664811984879934D;
//
// xrTableRow7
//
this.xrTableRow7.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell81,
this.xrTableCell82});
this.xrTableRow7.Name = "xrTableRow7";
this.xrTableRow7.Weight = 0.95390268477989137D;
//
// xrTableCell81
//
this.xrTableCell81.Name = "xrTableCell81";
this.xrTableCell81.Text = "UE";
this.xrTableCell81.Weight = 0.019181406961602476D;
//
// xrTableCell82
//
this.xrTableCell82.Name = "xrTableCell82";
this.xrTableCell82.Text = "unentschuldigtes Fehlen";
this.xrTableCell82.Weight = 0.15664811984879934D;
this.bindingSource1.DataSource = typeof(LebenshilfeFrankfurtOder.AnwesenheitRO);
//
// AnwesenheitFerien
//
@@ -1285,16 +1287,18 @@
this.DataSource = this.bindingSource1;
this.Font = new DevExpress.Drawing.DXFont("Arial", 10F);
this.Landscape = true;
this.Margins = new DevExpress.Drawing.DXMargins(90, 40, 100, 20);
this.Margins = new DevExpress.Drawing.DXMargins(90F, 40F, 100F, 20F);
this.PageHeight = 827;
this.PageWidth = 1169;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "17.1";
this.Version = "23.2";
xrWatermark1.Id = "Watermark1";
this.Watermarks.Add(xrWatermark1);
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,320 @@
using System;
using System.Drawing;
using BeWo.Report;
using BS.Shared;
using BeWo.Report.ReportObjects;
using BS.Shared.DataContracts;
using System.Collections.Generic;
using DevExpress.XtraReports.UI;
namespace LebenshilfeFrankfurtOder
{
public partial class AnwesenheitslisteFruehUndSpaetbetreuung : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<AdditionalServiceBookingRO>
{
public AnwesenheitslisteFruehUndSpaetbetreuung()
{
InitializeComponent();
}
public void SetReportDataSource(AdditionalServiceBookingRO pRO)
{
//CalculateAbsenceTimes(pRO);
SetCellColor(pRO);
foreach (var row in pRO.Rows)
{
SetAnwesend(row);
}
BerechneSummenUndStaffelpreise(pRO);
bindingSource1.DataSource = pRO;
}
private void BerechneSummenUndStaffelpreise(AdditionalServiceBookingRO pRO)
{
foreach (XRTableRow row in xrTableStaffelpreise.Rows)
{
for (int i = 2; i < row.Cells.Count; i++)
{
row.Cells[i].Text = "";
}
}
}
private static void SetInfo(DateTime dt, AdditionalServiceBookingRow row, string val)
{
if (dt.Day == 1)
{
row.AttendanceOnDay1 = val;
}
else if (dt.Day == 2)
{
row.AttendanceOnDay2 = val;
}
else if (dt.Day == 3)
{
row.AttendanceOnDay3 = val;
}
else if (dt.Day == 4)
{
row.AttendanceOnDay4 = val;
}
else if (dt.Day == 5)
{
row.AttendanceOnDay5 = val;
}
else if (dt.Day == 6)
{
row.AttendanceOnDay6 = val;
}
else if (dt.Day == 7)
{
row.AttendanceOnDay7 = val;
}
else if (dt.Day == 8)
{
row.AttendanceOnDay8 = val;
}
else if (dt.Day == 9)
{
row.AttendanceOnDay9 = val;
}
else if (dt.Day == 10)
{
row.AttendanceOnDay10 = val;
}
else if (dt.Day == 11)
{
row.AttendanceOnDay11 = val;
}
else if (dt.Day == 12)
{
row.AttendanceOnDay12 = val;
}
else if (dt.Day == 13)
{
row.AttendanceOnDay13 = val;
}
else if (dt.Day == 14)
{
row.AttendanceOnDay14 = val;
}
else if (dt.Day == 15)
{
row.AttendanceOnDay15 = val;
}
else if (dt.Day == 16)
{
row.AttendanceOnDay16 = val;
}
else if (dt.Day == 17)
{
row.AttendanceOnDay17 = val;
}
else if (dt.Day == 18)
{
row.AttendanceOnDay18 = val;
}
else if (dt.Day == 19)
{
row.AttendanceOnDay19 = val;
}
else if (dt.Day == 20)
{
row.AttendanceOnDay20 = val;
}
else if (dt.Day == 21)
{
row.AttendanceOnDay21 = val;
}
else if (dt.Day == 22)
{
row.AttendanceOnDay22 = val;
}
else if (dt.Day == 23)
{
row.AttendanceOnDay23 = val;
}
else if (dt.Day == 24)
{
row.AttendanceOnDay24 = val;
}
else if (dt.Day == 25)
{
row.AttendanceOnDay25 = val;
}
else if (dt.Day == 26)
{
row.AttendanceOnDay26 = val;
}
else if (dt.Day == 27)
{
row.AttendanceOnDay27 = val;
}
else if (dt.Day == 28)
{
row.AttendanceOnDay28 = val;
}
else if (dt.Day == 29)
{
row.AttendanceOnDay29 = val;
}
else if (dt.Day == 30)
{
row.AttendanceOnDay30 = val;
}
else if (dt.Day == 31)
{
row.AttendanceOnDay31 = val;
}
}
private void SetCellColor(AdditionalServiceBookingRO pRo)
{
DateTime dt = new DateTime(pRo.Year, pRo.MonthInt, 1);
DateTime end = dt.AddMonths(1);
while (dt < end)
{
if (dt.DayOfWeek == DayOfWeek.Saturday || dt.DayOfWeek == DayOfWeek.Sunday)
{
rowHeader.Cells[dt.Day + 6].BackColor = Color.DarkGray;
rowDetail.Cells[dt.Day + 6].BackColor = Color.DarkGray;
}
dt = dt.AddDays(1);
}
}
private void SetAnwesend(AdditionalServiceBookingRow row)
{
String newval = "x";
if (row.AttendanceOnDay1 == "P")
{
row.AttendanceOnDay1 = newval;
}
if (row.AttendanceOnDay2 == "P")
{
row.AttendanceOnDay2 = newval;
}
if (row.AttendanceOnDay3 == "P")
{
row.AttendanceOnDay3 = newval;
}
if (row.AttendanceOnDay4 == "P")
{
row.AttendanceOnDay4 = newval;
}
if (row.AttendanceOnDay5 == "P")
{
row.AttendanceOnDay5 = newval;
}
if (row.AttendanceOnDay6 == "P")
{
row.AttendanceOnDay6 = newval;
}
if (row.AttendanceOnDay7 == "P")
{
row.AttendanceOnDay7 = newval;
}
if (row.AttendanceOnDay8 == "P")
{
row.AttendanceOnDay8 = newval;
}
if (row.AttendanceOnDay9 == "P")
{
row.AttendanceOnDay9 = newval;
}
if (row.AttendanceOnDay10 == "P")
{
row.AttendanceOnDay10 = newval;
}
if (row.AttendanceOnDay11 == "P")
{
row.AttendanceOnDay11 = newval;
}
if (row.AttendanceOnDay12 == "P")
{
row.AttendanceOnDay12 = newval;
}
if (row.AttendanceOnDay13 == "P")
{
row.AttendanceOnDay13 = newval;
}
if (row.AttendanceOnDay14 == "P")
{
row.AttendanceOnDay14 = newval;
}
if (row.AttendanceOnDay15 == "P")
{
row.AttendanceOnDay15 = newval;
}
if (row.AttendanceOnDay16 == "P")
{
row.AttendanceOnDay16 = newval;
}
if (row.AttendanceOnDay17 == "P")
{
row.AttendanceOnDay17 = newval;
}
if (row.AttendanceOnDay18 == "P")
{
row.AttendanceOnDay18 = newval;
}
if (row.AttendanceOnDay19 == "P")
{
row.AttendanceOnDay19 = newval;
}
if (row.AttendanceOnDay20 == "P")
{
row.AttendanceOnDay20 = newval;
}
if (row.AttendanceOnDay21 == "P")
{
row.AttendanceOnDay21 = newval;
}
if (row.AttendanceOnDay22 == "P")
{
row.AttendanceOnDay22 = newval;
}
if (row.AttendanceOnDay23 == "P")
{
row.AttendanceOnDay23 = newval;
}
if (row.AttendanceOnDay24 == "P")
{
row.AttendanceOnDay24 = newval;
}
if (row.AttendanceOnDay25 == "P")
{
row.AttendanceOnDay25 = newval;
}
if (row.AttendanceOnDay26 == "P")
{
row.AttendanceOnDay26 = newval;
}
if (row.AttendanceOnDay27 == "P")
{
row.AttendanceOnDay27 = newval;
}
if (row.AttendanceOnDay28 == "P")
{
row.AttendanceOnDay28 = newval;
}
if (row.AttendanceOnDay29 == "P")
{
row.AttendanceOnDay29 = newval;
}
if (row.AttendanceOnDay30 == "P")
{
row.AttendanceOnDay30 = newval;
}
if (row.AttendanceOnDay31 == "P")
{
row.AttendanceOnDay31 = newval;
}
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -20,6 +20,7 @@ using BS.Shared.DataContracts.Compact;
using BS.Shared.Extensions;
using DevExpress.XtraReports.UI;
using LebenshilfeFrankfurtOder.Invoicing;
using LebenshilfeFrankfurtOder.Reporting;
namespace LebenshilfeFrankfurtOder
{
@@ -399,6 +400,11 @@ namespace LebenshilfeFrankfurtOder
{
report = new AnwesenheitSbdPool();
}
else if (region.AdditionalService.Name.Contains("aBA"))
{
return CreateAnwesenheitslisteFruehUndSpaetbetreuung(ro, true);
}
if (report == null)
{
@@ -410,7 +416,31 @@ namespace LebenshilfeFrankfurtOder
return report as XtraReport;
}
public override XtraReport CreateServiceInvoiceReport(string dcIds, long? invoiceBaseOid)
private XtraReport CreateAnwesenheitslisteFruehUndSpaetbetreuung(AdditionalServiceBookingRO asbRo, bool addEinzelnachweise)
{
var report = new AnwesenheitslisteFruehUndSpaetbetreuung();
report.SetReportDataSource(asbRo);
if (addEinzelnachweise)
{
report.CreateDocument();
foreach (var row in asbRo.Rows)
{
var lnRO = LeistungsnachweisSGBIXRO.Create(asbRo, row);
var leistungsnachweis = new LeistungsnachweisSGBIX();
leistungsnachweis.SetReportDataSource(lnRO);
leistungsnachweis.CreateDocument();
report.Pages.AddRange(leistungsnachweis.Pages);
}
}
return report as XtraReport;
}
public override XtraReport CreateServiceInvoiceReport(string dcIds, long? invoiceBaseOid)
{
if (invoiceBaseOid.HasValue)
{

View File

@@ -55,6 +55,12 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="AnwesenheitslisteFruehUndSpaetbetreuung.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="AnwesenheitslisteFruehUndSpaetbetreuung.Designer.cs">
<DependentUpon>AnwesenheitslisteFruehUndSpaetbetreuung.cs</DependentUpon>
</Compile>
<Compile Include="AnwesenheitSbdPool.cs">
<SubType>Component</SubType>
</Compile>
@@ -68,6 +74,12 @@
<Compile Include="AnwesenheitFerien.Designer.cs">
<DependentUpon>AnwesenheitFerien.cs</DependentUpon>
</Compile>
<Compile Include="LeistungsnachweisSGBIX.cs">
<SubType>Component</SubType>
</Compile>
<Compile Include="LeistungsnachweisSGBIX.Designer.cs">
<DependentUpon>LeistungsnachweisSGBIX.cs</DependentUpon>
</Compile>
<Compile Include="AnwesenheitVerpflegung.cs">
<SubType>Component</SubType>
</Compile>
@@ -257,12 +269,16 @@
<Compile Include="LeistungsnachweisVerhinderungspflege.Designer.cs">
<DependentUpon>LeistungsnachweisVerhinderungspflege.cs</DependentUpon>
</Compile>
<Compile Include="Reporting\LeistungsnachweisSGBIXRO.cs" />
<Compile Include="Service\CustomAccountingService.cs" />
<Compile Include="Service\QueryService.cs" />
<Compile Include="Statistics\CustomServiceRecordStatisticFactory.cs" />
<Compile Include="Utils\FrankfurtOderHelper.cs" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="AnwesenheitslisteFruehUndSpaetbetreuung.resx">
<DependentUpon>AnwesenheitslisteFruehUndSpaetbetreuung.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="AnwesenheitSbdPool.resx">
<DependentUpon>AnwesenheitSbdPool.cs</DependentUpon>
</EmbeddedResource>
@@ -270,6 +286,10 @@
<DependentUpon>AnwesenheitFerien.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="LeistungsnachweisSGBIX.resx">
<DependentUpon>LeistungsnachweisSGBIX.cs</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="AnwesenheitVerpflegung.resx">
<DependentUpon>AnwesenheitVerpflegung.cs</DependentUpon>
</EmbeddedResource>

View File

@@ -0,0 +1,580 @@
using BeWo.Report.ReportObjects;
namespace LebenshilfeFrankfurtOder
{
partial class LeistungsnachweisSGBIX
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components;
/// <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();
DevExpress.XtraReports.UI.XRWatermark xrWatermark1 = new DevExpress.XtraReports.UI.XRWatermark();
this.Detail = new DevExpress.XtraReports.UI.DetailBand();
this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand();
this.Detail1 = new DevExpress.XtraReports.UI.DetailBand();
this.xrTable3 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow6 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell13 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell14 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell16 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell17 = new DevExpress.XtraReports.UI.XRTableCell();
this.rule31 = new DevExpress.XtraReports.UI.FormattingRule();
this.formattingRuleStartDate = new DevExpress.XtraReports.UI.FormattingRule();
this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand();
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();
this.GroupFooter1 = new DevExpress.XtraReports.UI.GroupFooterBand();
this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTable1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow1 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell1 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell2 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell5 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell6 = new DevExpress.XtraReports.UI.XRTableCell();
this.fieldStunden = new DevExpress.XtraReports.UI.CalculatedField();
this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand();
this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel();
this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel();
this.xrTableServiceRecords1 = new DevExpress.XtraReports.UI.XRTable();
this.xrTableRow2 = new DevExpress.XtraReports.UI.XRTableRow();
this.xrTableCell3 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell4 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell9 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrTableCell8 = new DevExpress.XtraReports.UI.XRTableCell();
this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel();
this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components);
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
//
// Detail
//
this.Detail.Font = new DevExpress.Drawing.DXFont("Arial", 10F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.Detail.HeightF = 0F;
this.Detail.Name = "Detail";
this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail.StylePriority.UseFont = false;
this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// DetailReport
//
this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail1});
this.DetailReport.DataMember = "Rows";
this.DetailReport.DataSource = this.bindingSource1;
this.DetailReport.Level = 0;
this.DetailReport.Name = "DetailReport";
this.DetailReport.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.DetailReport.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// Detail1
//
this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrTable3});
this.Detail1.HeightF = 22F;
this.Detail1.Name = "Detail1";
this.Detail1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.Detail1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTable3
//
this.xrTable3.BorderColor = System.Drawing.Color.Black;
this.xrTable3.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable3.Name = "xrTable3";
this.xrTable3.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTable3.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow6});
this.xrTable3.SizeF = new System.Drawing.SizeF(600F, 22F);
this.xrTable3.StylePriority.UseFont = false;
this.xrTable3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrTableRow6
//
this.xrTableRow6.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell13,
this.xrTableCell14,
this.xrTableCell16,
this.xrTableCell17});
this.xrTableRow6.Name = "xrTableRow6";
this.xrTableRow6.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
this.xrTableRow6.Weight = 1.1D;
//
// xrTableCell13
//
this.xrTableCell13.CanGrow = false;
this.xrTableCell13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Datum")});
this.xrTableCell13.Name = "xrTableCell13";
this.xrTableCell13.StylePriority.UseFont = false;
this.xrTableCell13.StylePriority.UsePadding = false;
this.xrTableCell13.StylePriority.UseTextAlignment = false;
this.xrTableCell13.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell13.TextFormatString = "{0:dd.}";
this.xrTableCell13.Weight = 0.0364416350657677D;
//
// xrTableCell14
//
this.xrTableCell14.CanGrow = false;
this.xrTableCell14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.Anwesend")});
this.xrTableCell14.Multiline = true;
this.xrTableCell14.Name = "xrTableCell14";
this.xrTableCell14.StylePriority.UseFont = false;
this.xrTableCell14.StylePriority.UsePadding = false;
this.xrTableCell14.StylePriority.UseTextAlignment = false;
this.xrTableCell14.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell14.Weight = 0.051018293371269424D;
//
// xrTableCell16
//
this.xrTableCell16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.AnzahlKinder")});
this.xrTableCell16.Multiline = true;
this.xrTableCell16.Name = "xrTableCell16";
this.xrTableCell16.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 2, 0, 0, 100F);
this.xrTableCell16.StylePriority.UseFont = false;
this.xrTableCell16.StylePriority.UsePadding = false;
this.xrTableCell16.StylePriority.UseTextAlignment = false;
this.xrTableCell16.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell16.TextTrimming = DevExpress.Drawing.DXStringTrimming.Word;
this.xrTableCell16.Weight = 0.065594947152700867D;
//
// xrTableCell17
//
this.xrTableCell17.CanGrow = false;
this.xrTableCell17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] {
new DevExpress.XtraReports.UI.XRBinding("Text", null, "Rows.BetragNachStaffel")});
this.xrTableCell17.Multiline = true;
this.xrTableCell17.Name = "xrTableCell17";
this.xrTableCell17.StylePriority.UseFont = false;
this.xrTableCell17.StylePriority.UsePadding = false;
this.xrTableCell17.StylePriority.UseTextAlignment = false;
this.xrTableCell17.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
this.xrTableCell17.TextFormatString = "{0:c}";
this.xrTableCell17.Weight = 0.06559495154230327D;
//
// rule31
//
this.rule31.Condition = "GetDay([StartDate]) < 31";
this.rule31.DataMember = "Services";
this.rule31.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.rule31.Name = "rule31";
//
// formattingRuleStartDate
//
this.formattingRuleStartDate.Condition = "[StartDate2] < [StartDate]";
this.formattingRuleStartDate.DataMember = "ServicesDouble";
this.formattingRuleStartDate.Formatting.Visible = DevExpress.Utils.DefaultBoolean.False;
this.formattingRuleStartDate.Name = "formattingRuleStartDate";
//
// ReportHeader
//
this.ReportHeader.HeightF = 0F;
this.ReportHeader.Name = "ReportHeader";
//
// 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 = 50F;
this.topMarginBand1.Name = "topMarginBand1";
//
// bottomMarginBand1
//
this.bottomMarginBand1.HeightF = 30F;
this.bottomMarginBand1.Name = "bottomMarginBand1";
//
// fieldArtDerLeistung
//
this.fieldArtDerLeistung.DataMember = "Services";
this.fieldArtDerLeistung.Expression = "Iif([IsGroup], \'G\', \'E\')";
this.fieldArtDerLeistung.Name = "fieldArtDerLeistung";
//
// GroupFooter1
//
this.GroupFooter1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel8,
this.xrLabel9,
this.xrTable1});
this.GroupFooter1.Font = new DevExpress.Drawing.DXFont("Arial", 11F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.GroupFooter1.HeightF = 123.3334F;
this.GroupFooter1.Name = "GroupFooter1";
this.GroupFooter1.StylePriority.UseFont = false;
//
// xrLabel8
//
this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(420F, 103.3333F);
this.xrLabel8.Name = "xrLabel8";
this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel8.SizeF = new System.Drawing.SizeF(137.1875F, 20.00002F);
this.xrLabel8.StylePriority.UseFont = false;
this.xrLabel8.StylePriority.UseTextAlignment = false;
this.xrLabel8.Text = "Unterschrift";
this.xrLabel8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft;
//
// xrLabel9
//
this.xrLabel9.Borders = DevExpress.XtraPrinting.BorderSide.Bottom;
this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(420F, 83.33334F);
this.xrLabel9.Name = "xrLabel9";
this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel9.SizeF = new System.Drawing.SizeF(277.2083F, 20.00002F);
this.xrLabel9.StylePriority.UseBorders = false;
this.xrLabel9.StylePriority.UseFont = false;
this.xrLabel9.StylePriority.UseTextAlignment = false;
this.xrLabel9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopRight;
//
// xrTable1
//
this.xrTable1.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTable1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrTable1.Name = "xrTable1";
this.xrTable1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTable1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow1});
this.xrTable1.SizeF = new System.Drawing.SizeF(600F, 22F);
this.xrTable1.StylePriority.UseBackColor = false;
this.xrTable1.StylePriority.UseBorders = false;
this.xrTable1.StylePriority.UseFont = false;
this.xrTable1.StylePriority.UseTextAlignment = false;
this.xrTable1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// xrTableRow1
//
this.xrTableRow1.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell1,
this.xrTableCell2,
this.xrTableCell5,
this.xrTableCell6});
this.xrTableRow1.Name = "xrTableRow1";
this.xrTableRow1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow1.StylePriority.UseTextAlignment = false;
this.xrTableRow1.Weight = 1.1D;
//
// xrTableCell1
//
this.xrTableCell1.Borders = DevExpress.XtraPrinting.BorderSide.None;
this.xrTableCell1.Name = "xrTableCell1";
this.xrTableCell1.StylePriority.UseBorders = false;
this.xrTableCell1.StylePriority.UseFont = false;
this.xrTableCell1.StylePriority.UsePadding = false;
this.xrTableCell1.StylePriority.UseTextAlignment = false;
this.xrTableCell1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell1.Weight = 0.097299372330913708D;
//
// xrTableCell2
//
this.xrTableCell2.Borders = DevExpress.XtraPrinting.BorderSide.Right;
this.xrTableCell2.Multiline = true;
this.xrTableCell2.Name = "xrTableCell2";
this.xrTableCell2.StylePriority.UseBorders = false;
this.xrTableCell2.StylePriority.UseFont = false;
this.xrTableCell2.StylePriority.UsePadding = false;
this.xrTableCell2.StylePriority.UseTextAlignment = false;
this.xrTableCell2.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell2.Weight = 0.13621912121438584D;
//
// xrTableCell5
//
this.xrTableCell5.Name = "xrTableCell5";
this.xrTableCell5.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 0, 0, 0, 100F);
this.xrTableCell5.StylePriority.UseFont = false;
this.xrTableCell5.StylePriority.UsePadding = false;
this.xrTableCell5.StylePriority.UseTextAlignment = false;
this.xrTableCell5.Text = "Gesamtbetrag";
this.xrTableCell5.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
this.xrTableCell5.Weight = 0.17513886130658599D;
//
// xrTableCell6
//
this.xrTableCell6.Multiline = true;
this.xrTableCell6.Name = "xrTableCell6";
this.xrTableCell6.StylePriority.UsePadding = false;
this.xrTableCell6.StylePriority.UseTextAlignment = false;
this.xrTableCell6.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell6.Weight = 0.17513886337834458D;
//
// fieldStunden
//
this.fieldStunden.DataMember = "Services";
this.fieldStunden.Expression = "[Minutes] / 60";
this.fieldStunden.FieldType = DevExpress.XtraReports.UI.FieldType.Decimal;
this.fieldStunden.Name = "fieldStunden";
//
// GroupHeader2
//
this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] {
this.xrLabel4,
this.xrLabel3,
this.xrLabel1,
this.xrTableServiceRecords1,
this.xrLabel2});
this.GroupHeader2.HeightF = 143.6112F;
this.GroupHeader2.Name = "GroupHeader2";
//
// xrLabel4
//
this.xrLabel4.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel4.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 59.00004F);
this.xrLabel4.Name = "xrLabel4";
this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrLabel4.SizeF = new System.Drawing.SizeF(400F, 29.50002F);
this.xrLabel4.StylePriority.UseBorders = false;
this.xrLabel4.StylePriority.UseFont = false;
this.xrLabel4.StylePriority.UsePadding = false;
this.xrLabel4.StylePriority.UseTextAlignment = false;
this.xrLabel4.Text = "Name Kind: [Customer]";
this.xrLabel4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrLabel3
//
this.xrLabel3.Font = new DevExpress.Drawing.DXFont("Arial", 12F);
this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 25F);
this.xrLabel3.Name = "xrLabel3";
this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel3.SizeF = new System.Drawing.SizeF(297.2082F, 29.50002F);
this.xrLabel3.StylePriority.UseFont = false;
this.xrLabel3.Text = "Hortangebot (Früh-/Späthort)";
//
// xrLabel1
//
this.xrLabel1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrLabel1.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(400F, 25F);
this.xrLabel1.Name = "xrLabel1";
this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(3, 3, 0, 0, 100F);
this.xrLabel1.SizeF = new System.Drawing.SizeF(297.2082F, 29.50002F);
this.xrLabel1.StylePriority.UseBorders = false;
this.xrLabel1.StylePriority.UseFont = false;
this.xrLabel1.StylePriority.UsePadding = false;
this.xrLabel1.StylePriority.UseTextAlignment = false;
this.xrLabel1.Text = "Monat: [Month!MMMM yyyy]";
this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleLeft;
//
// xrTableServiceRecords1
//
this.xrTableServiceRecords1.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top)
| DevExpress.XtraPrinting.BorderSide.Right)
| DevExpress.XtraPrinting.BorderSide.Bottom)));
this.xrTableServiceRecords1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 113.6112F);
this.xrTableServiceRecords1.Name = "xrTableServiceRecords1";
this.xrTableServiceRecords1.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableServiceRecords1.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] {
this.xrTableRow2});
this.xrTableServiceRecords1.SizeF = new System.Drawing.SizeF(600F, 30F);
this.xrTableServiceRecords1.StylePriority.UseBackColor = false;
this.xrTableServiceRecords1.StylePriority.UseFont = false;
this.xrTableServiceRecords1.StylePriority.UseTextAlignment = false;
this.xrTableServiceRecords1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopCenter;
//
// xrTableRow2
//
this.xrTableRow2.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] {
this.xrTableCell3,
this.xrTableCell4,
this.xrTableCell9,
this.xrTableCell8});
this.xrTableRow2.Name = "xrTableRow2";
this.xrTableRow2.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F);
this.xrTableRow2.StylePriority.UseTextAlignment = false;
this.xrTableRow2.Weight = 1.5D;
//
// xrTableCell3
//
this.xrTableCell3.Name = "xrTableCell3";
this.xrTableCell3.StylePriority.UseFont = false;
this.xrTableCell3.StylePriority.UsePadding = false;
this.xrTableCell3.StylePriority.UseTextAlignment = false;
this.xrTableCell3.Text = "Datum";
this.xrTableCell3.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell3.Weight = 0.097299372330913708D;
//
// xrTableCell4
//
this.xrTableCell4.Multiline = true;
this.xrTableCell4.Name = "xrTableCell4";
this.xrTableCell4.StylePriority.UseFont = false;
this.xrTableCell4.StylePriority.UsePadding = false;
this.xrTableCell4.StylePriority.UseTextAlignment = false;
this.xrTableCell4.Text = "Kind Anwesend";
this.xrTableCell4.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell4.Weight = 0.13621912121438584D;
//
// xrTableCell9
//
this.xrTableCell9.Name = "xrTableCell9";
this.xrTableCell9.StylePriority.UseFont = false;
this.xrTableCell9.StylePriority.UsePadding = false;
this.xrTableCell9.StylePriority.UseTextAlignment = false;
this.xrTableCell9.Text = "Kinder Gesamt/Tag";
this.xrTableCell9.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell9.Weight = 0.17513886130658599D;
//
// xrTableCell8
//
this.xrTableCell8.Multiline = true;
this.xrTableCell8.Name = "xrTableCell8";
this.xrTableCell8.StylePriority.UsePadding = false;
this.xrTableCell8.StylePriority.UseTextAlignment = false;
this.xrTableCell8.Text = "Betrag nach Staffel";
this.xrTableCell8.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter;
this.xrTableCell8.Weight = 0.17513886337834458D;
//
// xrLabel2
//
this.xrLabel2.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Bold, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F);
this.xrLabel2.Name = "xrLabel2";
this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F);
this.xrLabel2.SizeF = new System.Drawing.SizeF(297.21F, 25F);
this.xrLabel2.StylePriority.UseFont = false;
this.xrLabel2.Text = "Leistungsnachweis SGB IX";
//
// bindingSource1
//
this.bindingSource1.DataSource = typeof(LebenshilfeFrankfurtOder.Reporting.LeistungsnachweisSGBIXRO);
//
// LeistungsnachweisSGBIX
//
this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] {
this.Detail,
this.DetailReport,
this.ReportHeader,
this.topMarginBand1,
this.bottomMarginBand1,
this.GroupFooter1,
this.GroupHeader2});
this.CalculatedFields.AddRange(new DevExpress.XtraReports.UI.CalculatedField[] {
this.fieldArtDerLeistung,
this.fieldStunden});
this.DataSource = this.bindingSource1;
this.Font = new DevExpress.Drawing.DXFont("Arial", 12F, DevExpress.Drawing.DXFontStyle.Regular, DevExpress.Drawing.DXGraphicsUnit.Point, new DevExpress.Drawing.DXFontAdditionalProperty[] {
new DevExpress.Drawing.DXFontAdditionalProperty("GdiCharSet", ((byte)(0)))});
this.FormattingRuleSheet.AddRange(new DevExpress.XtraReports.UI.FormattingRule[] {
this.formattingRuleStartDate,
this.formattingRuleServiceDesc,
this.formattingRuleCostBearer,
this.formattingRuleEmployeeName,
this.rule31});
this.Margins = new DevExpress.Drawing.DXMargins(50F, 49F, 50F, 30F);
this.PageHeight = 1169;
this.PageWidth = 827;
this.PaperKind = DevExpress.Drawing.Printing.DXPaperKind.A4;
this.Version = "23.2";
xrWatermark1.Id = "Watermark1";
this.Watermarks.Add(xrWatermark1);
((System.ComponentModel.ISupportInitialize)(this.xrTable3)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTable1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.xrTableServiceRecords1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
}
#endregion
private DevExpress.XtraReports.UI.DetailBand Detail;
private System.Windows.Forms.BindingSource bindingSource1;
private DevExpress.XtraReports.UI.DetailReportBand DetailReport;
private DevExpress.XtraReports.UI.DetailBand Detail1;
private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader;
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;
private DevExpress.XtraReports.UI.GroupFooterBand GroupFooter1;
private DevExpress.XtraReports.UI.CalculatedField fieldStunden;
private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2;
private DevExpress.XtraReports.UI.XRLabel xrLabel2;
private DevExpress.XtraReports.UI.XRTable xrTableServiceRecords1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell3;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell4;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell9;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell8;
private DevExpress.XtraReports.UI.XRTable xrTable3;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow6;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell13;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell14;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell16;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell17;
private DevExpress.XtraReports.UI.FormattingRule rule31;
private DevExpress.XtraReports.UI.XRLabel xrLabel3;
private DevExpress.XtraReports.UI.XRLabel xrLabel1;
private DevExpress.XtraReports.UI.XRLabel xrLabel4;
private DevExpress.XtraReports.UI.XRTable xrTable1;
private DevExpress.XtraReports.UI.XRTableRow xrTableRow1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell1;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell2;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell5;
private DevExpress.XtraReports.UI.XRTableCell xrTableCell6;
private DevExpress.XtraReports.UI.XRLabel xrLabel8;
private DevExpress.XtraReports.UI.XRLabel xrLabel9;
}
}

View File

@@ -0,0 +1,67 @@
using System;
using System.Collections.Generic;
using System.Drawing;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Report;
using BeWo.Report.ReportObjects;
using BeWo.Service.DCEntityMapper;
using BS.Shared;
using BS.Shared.Core;
using BS.Shared.Extensions;
using DevExpress.Entity.Model.Metadata;
using DevExpress.XtraPrinting;
using DevExpress.XtraReports.UI;
using LebenshilfeFrankfurtOder.Reporting;
using LebenshilfeFrankfurtOder.Utils;
namespace LebenshilfeFrankfurtOder
{
public partial class LeistungsnachweisSGBIX : DevExpress.XtraReports.UI.XtraReport, IBeWoReport<LeistungsnachweisSGBIXRO>
{
public LeistungsnachweisSGBIX()
{
InitializeComponent();
}
public void SetReportDataSource(LeistungsnachweisSGBIXRO pRO)
{
double betragGesamt = 0;
bindingSource1.DataSource = pRO;
}
public void SetzeDaten(ServicesOverviewRO pRO)
{
if (pRO.CostBearer2SupportConceptList != null && pRO.CostBearer2SupportConceptList.Count > 0)
{
var c2s = pRO.CostBearer2SupportConceptList[0];
Customer c = c2s.SupportConcept.Customer;
//String kvnummer = ""; // Oid = 4
//foreach (var vv in c.VarFieldValueList)
//{
// var varFieldValue =
// BS.Shared.Core.Utils.XMLDeserializeFromString(vv.SerializedValue, Type.GetType(vv.TypeName));
// if (varFieldValue != null)
// {
// if (vv.VarFieldDefOid.Value == 4)
// {
// kvnummer = varFieldValue.ToString();
// }
// }
//}
//lblKvNummer.Text = kvnummer;
}
}
}
}

View File

@@ -0,0 +1,120 @@
<?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>
</root>

View File

@@ -0,0 +1,214 @@
using System;
using System.Collections.Generic;
using System.Linq;
using BS.Shared;
using BeWo.Data.Access;
using BeWo.Data.Entities;
using BeWo.Service.DCEntityMapper;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.Compact;
using BeWo.Report.ReportObjects;
namespace LebenshilfeFrankfurtOder.Reporting
{
public class LeistungsnachweisSGBIXRO
{
public DateTime Month { get; set; }
public CompactCustomerDC CustomerDC { get; set; }
public string Customer { get; set; }
public List<LeistungsnachweisSGBIXRow> Rows { get; set; } = new List<LeistungsnachweisSGBIXRow>();
public static LeistungsnachweisSGBIXRO Create(AdditionalServiceBookingRO ro, AdditionalServiceBookingRow asbRow)
{
DateTime month = new DateTime(ro.Year, ro.MonthInt, 1);
var result = new LeistungsnachweisSGBIXRO
{
Month = month,
CustomerDC = asbRow.CustomerDC,
Customer = asbRow.Customer
};
DateTime datum = new DateTime(month.Year, month.Month, 1);
while (datum < new DateTime(month.Year, month.Month, 1).AddMonths(1))
{
var row = new LeistungsnachweisSGBIXRow
{
Datum = datum
};
if (IstAnwesend(datum, asbRow))
{
row.Anwesend = "x";
}
foreach (var item in ro.Rows)
{
if (IstAnwesend(datum, item))
{
row.AnzahlKinder = (row.AnzahlKinder ?? 0) + 1;
}
}
result.Rows.Add(row);
datum = datum.AddDays(1);
}
return result;
}
private static bool IstAnwesend(DateTime dt, AdditionalServiceBookingRow row)
{
if (dt.Day == 1)
{
return row.AttendanceOnDay1 == "x";
}
else if (dt.Day == 2)
{
return row.AttendanceOnDay2 == "x";
}
else if (dt.Day == 3)
{
return row.AttendanceOnDay3 == "x";
}
else if (dt.Day == 4)
{
return row.AttendanceOnDay4 == "x";
}
else if (dt.Day == 5)
{
return row.AttendanceOnDay5 == "x";
}
else if (dt.Day == 6)
{
return row.AttendanceOnDay6 == "x";
}
else if (dt.Day == 7)
{
return row.AttendanceOnDay7 == "x";
}
else if (dt.Day == 8)
{
return row.AttendanceOnDay8 == "x";
}
else if (dt.Day == 9)
{
return row.AttendanceOnDay9 == "x";
}
else if (dt.Day == 10)
{
return row.AttendanceOnDay10 == "x";
}
else if (dt.Day == 11)
{
return row.AttendanceOnDay11 == "x";
}
else if (dt.Day == 12)
{
return row.AttendanceOnDay12 == "x";
}
else if (dt.Day == 13)
{
return row.AttendanceOnDay13 == "x";
}
else if (dt.Day == 14)
{
return row.AttendanceOnDay14 == "x";
}
else if (dt.Day == 15)
{
return row.AttendanceOnDay15 == "x";
}
else if (dt.Day == 16)
{
return row.AttendanceOnDay16 == "x";
}
else if (dt.Day == 17)
{
return row.AttendanceOnDay17 == "x";
}
else if (dt.Day == 18)
{
return row.AttendanceOnDay18 == "x";
}
else if (dt.Day == 19)
{
return row.AttendanceOnDay19 == "x";
}
else if (dt.Day == 20)
{
return row.AttendanceOnDay20 == "x";
}
else if (dt.Day == 21)
{
return row.AttendanceOnDay21 == "x";
}
else if (dt.Day == 22)
{
return row.AttendanceOnDay22 == "x";
}
else if (dt.Day == 23)
{
return row.AttendanceOnDay23 == "x";
}
else if (dt.Day == 24)
{
return row.AttendanceOnDay24 == "x";
}
else if (dt.Day == 25)
{
return row.AttendanceOnDay25 == "x";
}
else if (dt.Day == 26)
{
return row.AttendanceOnDay26 == "x";
}
else if (dt.Day == 27)
{
return row.AttendanceOnDay27 == "x";
}
else if (dt.Day == 28)
{
return row.AttendanceOnDay28 == "x";
}
else if (dt.Day == 29)
{
return row.AttendanceOnDay29 == "x";
}
else if (dt.Day == 30)
{
return row.AttendanceOnDay30 == "x";
}
else if (dt.Day == 31)
{
return row.AttendanceOnDay31 == "x";
}
return false;
}
}
public class LeistungsnachweisSGBIXRow
{
public DateTime Datum { get; set; }
public String Anwesend { get; set; }
public int? AnzahlKinder { get; set; }
public decimal? BetragNachStaffel { get; set; }
public string Notice { get; set; }
}
}